public class HiddenPalette extends BaseClass implements Palette
DevTools overview and related methods
config, configOnly, factoryCreated, factoryProperties, 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() |
PaletteNode[] |
getData()
A list of
PaletteNodes for component creation. |
EditContext |
getDefaultEditContext()
Default EditContext that this palette should use.
|
EditPane |
getDefaultEditContextAsEditPane()
Default EditContext that this palette should use.
|
EditTree |
getDefaultEditContextAsEditTree()
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 PaletteNode.defaults and copying presentation properties (eg title to the editNode. |
void |
setData(PaletteNode... data)
A list of
PaletteNodes for component creation. |
void |
setDefaultEditContext(EditContext defaultEditContext)
Default EditContext that this palette should use.
|
void |
setDefaultEditContext(EditPane defaultEditContext)
Default EditContext that this palette should use.
|
void |
setDefaultEditContext(EditTree 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) |
applyFactoryProperties, 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, getTestInstance, hasAutoAssignedID, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, 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 setData(PaletteNode... data) throws java.lang.IllegalStateException
PaletteNodes
for component creation.data
- New data value. Default value is nulljava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic PaletteNode[] getData()
PaletteNodes
for component creation.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 setDefaultEditContext(EditTree defaultEditContext)
setDefaultEditContext
in interface Palette
defaultEditContext
- the default EditContext used by this Palette. Default value is nullpublic EditTree getDefaultEditContextAsEditTree()
getDefaultEditContextAsEditTree
in interface Palette
public void setDefaultEditContext(EditPane defaultEditContext)
setDefaultEditContext
in interface Palette
defaultEditContext
- the default EditContext used by this Palette. Default value is nullpublic EditPane getDefaultEditContextAsEditPane()
getDefaultEditContextAsEditPane
in interface Palette
public void setGenerateNames(boolean generateNames) throws java.lang.IllegalStateException
setGenerateNames
in interface Palette
generateNames
- New generateNames value. 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 PaletteNode.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