config, id, scClassName
Constructor and Description |
---|
HiddenPalette() |
HiddenPalette(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
EditContext |
getDefaultEditContext()
Default EditContext that this palette should use.
|
boolean |
getGenerateNames()
Whether created components should have their "ID" or "name" property automatically set to a unique value based on the
component's type, eg, "ListGrid0".
|
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
static HiddenPalette |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
boolean |
isCreated() |
EditNode |
makeEditNode(PaletteNode paletteNode)
Given a
PaletteNode , make an EditNode from it by
creating a liveObject from the defaults and copying presentation properties (eg title to the editNode. |
void |
setDefaultEditContext(EditContext defaultEditContext)
Default EditContext that this palette should use.
|
void |
setGenerateNames(boolean generateNames)
Whether created components should have their "ID" or "name" property automatically set to a unique value based on the
component's type, eg, "ListGrid0".
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
asSGWTComponent, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getScClassName, hasAutoAssignedID, internalSetID, internalSetID, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setID, setProperty, setProperty, setProperty, setProperty, setScClassName
public HiddenPalette()
public HiddenPalette(com.google.gwt.core.client.JavaScriptObject jsObj)
public static HiddenPalette getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public void setDefaultEditContext(EditContext defaultEditContext)
setDefaultEditContext
in interface Palette
defaultEditContext
- the default EditContext used by this Palette. Default value is nullpublic EditContext getDefaultEditContext()
getDefaultEditContext
in interface Palette
public void setGenerateNames(boolean generateNames) throws java.lang.IllegalStateException
setGenerateNames
in interface Palette
generateNames
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdDevTools overview and related methods
public boolean getGenerateNames()
getGenerateNames
in interface Palette
DevTools overview and related methods
public EditNode makeEditNode(PaletteNode paletteNode)
PaletteNode
, make an EditNode
from it by
creating a liveObject
from the defaults
and copying presentation properties (eg title
to the editNode. If editNodeProperties
is specified
as an object on on the paletteNode, each property in this object will also be copied across to the editNode.makeEditNode
in interface Palette
paletteNode
- paletteNode to create from