|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.gwtext.client.widgets.Component
public abstract class Component
Base class for all Ext components. All subclasses of Component can automatically participate in the standard Ext component lifecycle of creation, rendering and destruction. They also have automatic support for basic hide/show and enable/disable behavior. All visual widgets that require rendering into a layout should subclass Component (or BoxComponent if managed box model handling is required).
Every component has a specific xtype. This is the list of all valid xtypes:
xtype Class ------------- ------------------ box BoxComponent button Button colorpalette ColorPalette component Component container Container cycle CycleButton dataview DataView datepicker DatePicker editor Editor editorgrid EditorGridPanel grid GridPanel paging PagingToolbar panel Panel progress ProgressBar splitbutton SplitButton tabpanel TabPanel treepanel TreePanel viewport ViewPort window Window Toolbar components --------------------------------------- toolbar Toolbar Form components --------------------------------------- checkbox Checkbox combo ComboBox datefield DateField field Field fieldset FieldSet form FormPanel hidden Hidden htmleditor HtmlEditor numberfield NumberField radio Radio textarea TextArea textfield TextField timefield TimeField
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
protected com.google.gwt.core.client.JavaScriptObject |
config
|
protected java.lang.String |
id
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
Component()
Create a new Component. |
|
Component(com.google.gwt.user.client.Element element)
Component Constructor. |
|
Component(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
Component(java.lang.String id)
Creates a Component object reference for an already rendered Component. |
Method Summary | |
---|---|
void |
addClass(java.lang.String cls)
Adds a CSS class to the component's underlying element. |
void |
addClassCreated(java.lang.String cls)
|
void |
addEvent(java.lang.String event)
Allow the component to fire this event. |
void |
addEvents(java.lang.String[] events)
Allow the component to fire these events. |
protected void |
addListener(ComponentListener listener)
Add a component listner. |
void |
addListener(java.lang.String event,
Function funtion)
Add a raw event listener. |
protected void |
addListener(java.lang.String event,
com.google.gwt.core.client.JavaScriptObject fn)
|
void |
addPlugin(ComponentPlugin plugin)
|
void |
addStyleDependentName(java.lang.String clsSuffix)
Deprecated. use addClass(...) instead |
void |
addStyleName(java.lang.String cls)
Just calls addClass(cls). |
protected void |
afterRender()
Template method that is called after the Component has been renedered. |
protected void |
beforeDestroy()
This template method is called before the component is destroy. |
protected void |
check()
|
protected static boolean |
checkExtVer()
|
Component |
cloneComponent()
Clone the current component using the original config values passed into this instance by default. |
Component |
cloneComponent(Component overrides)
Clone the current component using the original config values passed into this instance by default. |
protected com.google.gwt.core.client.JavaScriptObject |
cloneConfig(com.google.gwt.core.client.JavaScriptObject config)
|
protected abstract com.google.gwt.core.client.JavaScriptObject |
create(com.google.gwt.core.client.JavaScriptObject config)
|
void |
destroy()
Destroys this component by purging any event listeners, removing the component's element from the DOM, removing the component from its Container (if applicable) and unregistering it from ComponentMgr . |
void |
disable()
Disable this component. |
void |
enable()
Enable this component. |
boolean |
equals(java.lang.Object obj)
|
protected void |
error(java.lang.String message)
|
Container |
findParentBy(ContainerTraversalCallback cb)
Find a container above this component at any level by a custom function. |
Container |
findParentByType(java.lang.String xtype)
Find a container above this component at any level by xtype. |
void |
fireEvent(java.lang.String event)
Fires the specified event. |
void |
focus()
Try to focus this component. |
void |
focus(boolean selectText)
Try to focus this component. |
void |
focus(boolean selectText,
boolean defaultDelay)
Try to focus this component. |
void |
focus(boolean selectText,
int delay)
Try to focus this component. |
com.google.gwt.user.client.Element |
getApplyTo()
|
protected java.lang.String |
getAttribute(java.lang.String attribute)
|
protected boolean |
getAttributeAsBoolean(java.lang.String attribute)
|
protected float |
getAttributeAsFloat(java.lang.String attribute)
|
protected int |
getAttributeAsInt(java.lang.String attribute)
|
protected com.google.gwt.core.client.JavaScriptObject |
getAttributeAsJavaScriptObject(java.lang.String attribute)
|
boolean |
getAutoShow()
|
java.lang.String |
getCls()
|
protected static com.google.gwt.core.client.JavaScriptObject |
getComponentJS(java.lang.String id)
|
com.google.gwt.core.client.JavaScriptObject |
getConfig()
|
static java.lang.String |
getConfigAsString(com.google.gwt.core.client.JavaScriptObject jsObj)
|
protected abstract com.google.gwt.core.client.JavaScriptObject |
getConfigPrototype()
|
java.lang.String |
getCtCls()
|
java.lang.String |
getDisabledClass()
|
ExtElement |
getEl()
|
com.google.gwt.user.client.Element |
getElement()
|
com.google.gwt.user.client.Element |
getElement(boolean allowPreRender)
|
protected com.google.gwt.user.client.Element |
getElement(com.google.gwt.core.client.JavaScriptObject jsObj)
|
java.lang.String |
getHideMode()
How this component should hidden. |
boolean |
getHideParent()
|
java.lang.String |
getId()
|
java.lang.String |
getItemId()
Returns the item id of this component. |
com.google.gwt.core.client.JavaScriptObject |
getJsObj()
|
int |
getOffsetHeight()
|
int |
getOffsetWidth()
|
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj()
|
Container |
getOwnerContainer()
The component's owner Ext.Container (defaults to undefined, and is set automatically when the component is added to a container). |
com.google.gwt.user.client.Element |
getRenderTo()
|
java.lang.String[] |
getStateEvents()
An array of events that, when fired, should trigger this component to save its state (defaults to none). |
java.lang.String |
getStateId()
The unique id for this component to use for state management purposes (defaults to the component id). |
java.lang.String |
getTitle()
|
java.lang.String |
getXType()
Gets the xtype for this component as registered with ComponentMgr. |
java.lang.String |
getXTypes()
Returns this component's xtype hierarchy as a slash-delimited string. |
int |
hashCode()
|
void |
hide()
Hide this component. |
protected void |
initComponent()
This template method is called after the Component has been instantiated but before it's rendered. |
boolean |
isCreated()
|
boolean |
isDisabled()
True if this component is disabled. |
boolean |
isHidden()
|
boolean |
isRendered()
|
boolean |
isVisible()
Returns true if this component is visible. |
boolean |
isXType(java.lang.String xtype)
Tests whether or not this component is of a specific xtype. |
boolean |
isXType(java.lang.String xtype,
boolean shallow)
Tests whether or not this component is of a specific xtype. |
protected void |
onDestroy()
This template method is called on component destroy. |
void |
purgeListeners()
Removes all listeners for this Component. |
void |
removeClass(java.lang.String cls)
Removes a CSS class from the component's underlying element. |
void |
removeStyleDependentName(java.lang.String clsSuffix)
Deprecated. use removeClass(...) instead |
void |
removeStyleName(java.lang.String cls)
Just calls removeClass(cls). |
void |
render(com.google.gwt.user.client.Element element)
If this is a lazy rendering component, render it to its container element. |
void |
render(com.google.gwt.user.client.Element element,
int position)
If this is a lazy rendering component, render it to its container element. |
void |
render(com.google.gwt.user.client.Element element,
java.lang.String position)
If this is a lazy rendering component, render it to its container element. |
void |
render(java.lang.String id)
If this is a lazy rendering component, render it to its container element. |
void |
render(java.lang.String id,
int position)
If this is a lazy rendering component, render it to its container element. |
void |
render(java.lang.String id,
java.lang.String position)
If this is a lazy rendering component, render it to its container element. |
void |
resumeEvents()
Resume firing events. |
void |
setApplyTo(com.google.gwt.user.client.Element element)
The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. |
protected void |
setAttribute(java.lang.String attribute,
boolean value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
boolean value,
boolean allowPostCreate,
boolean allowPostRendered)
|
protected void |
setAttribute(java.lang.String attribute,
java.util.Date value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
double value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
com.google.gwt.user.client.Element value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
com.google.gwt.user.client.Element value,
boolean allowPostCreate,
boolean allowPostRendered)
|
protected void |
setAttribute(java.lang.String attribute,
int[] value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
int[] value,
boolean allowPostCreate,
boolean allowPostRender)
|
protected void |
setAttribute(java.lang.String attribute,
int value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
int value,
boolean allowPostCreate,
boolean allowPostRender)
|
protected void |
setAttribute(java.lang.String attribute,
com.google.gwt.core.client.JavaScriptObject value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
com.google.gwt.core.client.JavaScriptObject value,
boolean allowPostCreate,
boolean allowPostRender)
|
protected void |
setAttribute(java.lang.String attribute,
long value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
java.util.Map value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
java.util.Map value,
boolean allowPostCreate,
boolean allowPostRendered)
|
protected void |
setAttribute(java.lang.String attribute,
java.lang.String[] value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
java.lang.String[] value,
boolean allowPostCreate,
boolean allowPostRender)
|
protected void |
setAttribute(java.lang.String attribute,
java.lang.String value,
boolean allowPostCreate)
|
protected void |
setAttribute(java.lang.String attribute,
java.lang.String value,
boolean allowPostCreate,
boolean allowPostRendered)
|
void |
setAutoEl(DomConfig domConfig)
A DomConfig specification to create an element with. |
void |
setAutoEl(java.lang.String autoEl)
A tag name to create an element with. |
void |
setAutoShow(boolean autoShow)
True if the component should check for hidden classes (e.g. |
void |
setCls(java.lang.String cls)
An optional extra CSS class that will be added to this component's Element (defaults to ''). |
void |
setCtCls(java.lang.String ctCls)
An optional extra CSS class that will be added to this component's container (defaults to ''). |
void |
setDisabled(boolean disabled)
Convenience function for setting disabled/enabled by boolean. |
void |
setDisabledClass(java.lang.String disabledClass)
CSS class added to the component when it is disabled (defaults to "x-item-disabled"). |
void |
setEl(com.google.gwt.user.client.Element el)
Sets the underlying Element for the component. |
void |
setEl(java.lang.String elementID)
|
protected void |
setElement(com.google.gwt.user.client.Element elem)
|
void |
setHeight(java.lang.String height)
|
void |
setHideMode(java.lang.String hideMode)
How this component should hidden. |
void |
setHideParent(boolean hideParent)
True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). |
void |
setId(java.lang.String id)
The unique id of this component (defaults to an auto-assigned id). |
void |
setRenderTo(com.google.gwt.user.client.Element elem)
The id of the node, a DOM node or an existing Element that will be the container to render this component into. |
void |
setRenderToID(java.lang.String elemID)
The id of the node, a DOM node or an existing Element that will be the container to render this component into. |
void |
setStateEvents(java.lang.String[] stateEvents)
An array of events that, when fired, should trigger this component to save its state (defaults to none). |
void |
setStateId(java.lang.String stateId)
The unique id for this component to use for state management purposes (defaults to the component id). |
void |
setStyle(GenericConfig style)
A custom style specification to be applied to this component's Element. |
void |
setStyle(java.lang.String style)
A custom style specification to be applied to this component's Element. |
void |
setStyleName(java.lang.String cls)
Just calls setCls(cls). |
void |
setStylePrimaryName(java.lang.String style)
Deprecated. use setCls(...) or setCtCls(...) instead |
void |
setTitle(java.lang.String title)
|
void |
setVisible(boolean visible)
Convenience function to hide or show this component by boolean. |
void |
setWidth(java.lang.String width)
|
void |
show()
Show this component. |
void |
suspendEvents()
Suspend the firing of all events. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String id
protected com.google.gwt.core.client.JavaScriptObject config
Constructor Detail |
---|
public Component()
public Component(com.google.gwt.user.client.Element element)
element
- the Element to apply the Component topublic Component(com.google.gwt.core.client.JavaScriptObject jsObj)
public Component(java.lang.String id)
id
- the Component IDMethod Detail |
---|
protected static boolean checkExtVer()
protected com.google.gwt.core.client.JavaScriptObject cloneConfig(com.google.gwt.core.client.JavaScriptObject config)
protected void initComponent()
protected void afterRender()
protected void beforeDestroy()
protected void onDestroy()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.JavaScriptObject getOrCreateJsObj()
protected static com.google.gwt.core.client.JavaScriptObject getComponentJS(java.lang.String id)
protected void addListener(java.lang.String event, com.google.gwt.core.client.JavaScriptObject fn)
public com.google.gwt.core.client.JavaScriptObject getConfig()
protected abstract com.google.gwt.core.client.JavaScriptObject getConfigPrototype()
protected com.google.gwt.user.client.Element getElement(com.google.gwt.core.client.JavaScriptObject jsObj)
protected abstract com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject config)
public com.google.gwt.user.client.Element getElement()
getElement
in class com.google.gwt.user.client.ui.UIObject
protected void setElement(com.google.gwt.user.client.Element elem)
setElement
in class com.google.gwt.user.client.ui.UIObject
public com.google.gwt.user.client.Element getElement(boolean allowPreRender)
public void addEvents(java.lang.String[] events)
addEvents
in interface Observable
events
- the eventspublic void addEvent(java.lang.String event)
event
- the eventpublic void fireEvent(java.lang.String event)
event
- the eventpublic void purgeListeners()
public void resumeEvents()
suspendEvents()
public void suspendEvents()
resumeEvents()
public boolean isDisabled()
public boolean isHidden()
public Container getOwnerContainer()
public boolean isCreated()
public boolean isRendered()
public void addClass(java.lang.String cls)
cls
- the CSS classpublic void addClassCreated(java.lang.String cls)
public Component cloneComponent()
public Component cloneComponent(Component overrides)
overrides
- when cloning
public void destroy()
Container
(if applicable) and unregistering it from ComponentMgr
. Destruction
is generally handled automatically by the framework and this method should usually not need to be called directly.
public void disable()
public void enable()
public Container findParentBy(ContainerTraversalCallback cb)
cb
- the ContainerTraversalCallback
public Container findParentByType(java.lang.String xtype)
xtype
- the container xtype
public void focus()
public void focus(boolean selectText)
selectText
- True to also select the text in this component (if applicable)public void focus(boolean selectText, int delay)
selectText
- True to also select the text in this component (if applicable)delay
- delay the focus this number of millisecondspublic void focus(boolean selectText, boolean defaultDelay)
selectText
- True to also select the text in this component (if applicable)defaultDelay
- true for 10 milliseconds delaypublic ExtElement getEl()
public java.lang.String getItemId()
public java.lang.String getXType()
TextField field = new TextField();
field.getXType() returns "textfield"
public java.lang.String getXTypes()
TextField field = new TextField();
field.getXTypes() returns "component/box/field/textfield"
public void hide()
public boolean isVisible()
isVisible
in class com.google.gwt.user.client.ui.UIObject
public boolean isXType(java.lang.String xtype)
Component
header. Example usage:
TextField t = new TextField();
boolean isText = t.isXType('textfield'); // true
boolean isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
boolean isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
xtype
- the xtype to check for this component
public boolean isXType(java.lang.String xtype, boolean shallow)
Component
header. Example usage:
TextField t = new TextField();
boolean isText = t.isXType('textfield'); // true
boolean isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
boolean isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
xtype
- the xtype to check for this componentshallow
- false to check whether this component is descended from the xtype (this is the default), or true to check whether this component is directly of the specified xtype.
public void removeClass(java.lang.String cls)
cls
- the CSS class to removepublic void setDisabled(boolean disabled)
disabled
- true to disablepublic void setVisible(boolean visible)
setVisible
in class com.google.gwt.user.client.ui.UIObject
visible
- True to show, false to hidepublic void render(java.lang.String id)
id
- the element idpublic void render(java.lang.String id, java.lang.String position)
id
- the element idposition
- the element ID within the container before which this
component will be inserted (defaults to appending to the end of the container)public void render(java.lang.String id, int position)
id
- the element idposition
- the DOM node index within the container before which this
component will be inserted (defaults to appending to the end of the container)public void render(com.google.gwt.user.client.Element element)
element
- the elementpublic void render(com.google.gwt.user.client.Element element, java.lang.String position)
element
- the elementposition
- the element ID within the container before which this
component will be inserted (defaults to appending to the end of the container)public void render(com.google.gwt.user.client.Element element, int position)
element
- the elementposition
- the DOM node index within the container before which this
component will be inserted (defaults to appending to the end of the container)public void show()
public void addListener(java.lang.String event, Function funtion)
event
- the event namefuntion
- the fintion to executeprotected void addListener(ComponentListener listener)
listener
- the listenerprotected void check() throws java.lang.IllegalStateException
java.lang.IllegalStateException
public void setApplyTo(com.google.gwt.user.client.Element element) throws java.lang.IllegalStateException
element
- the ID of existing DIV
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic com.google.gwt.user.client.Element getApplyTo()
public void setAutoEl(java.lang.String autoEl)
autoEl
- the tag namepublic void setAutoEl(DomConfig domConfig)
domConfig
- the DomConfig specificationpublic void setAutoShow(boolean autoShow) throws java.lang.IllegalStateException
autoShow
- true to autoShow
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic boolean getAutoShow()
public void setCls(java.lang.String cls)
cls
- the CSS classpublic java.lang.String getCls()
public void setCtCls(java.lang.String ctCls) throws java.lang.IllegalStateException
ctCls
- the container CSS class
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic java.lang.String getCtCls()
public void setDisabledClass(java.lang.String disabledClass)
disabledClass
- the disabled CSS classpublic java.lang.String getDisabledClass()
public void setEl(com.google.gwt.user.client.Element el) throws java.lang.IllegalStateException
el
- the element
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic void setEl(java.lang.String elementID) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public void setHideMode(java.lang.String hideMode)
hideMode
- the hide modepublic java.lang.String getHideMode()
public void setHideParent(boolean hideParent) throws java.lang.IllegalStateException
hideParent
- true to hide and show the component's container when hide/show is called on the component
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic boolean getHideParent()
public final void setId(java.lang.String id) throws java.lang.IllegalStateException
id
- the components ID
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic java.lang.String getId()
public void setRenderTo(com.google.gwt.user.client.Element elem) throws java.lang.IllegalStateException
elem
- the container element
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic void setRenderToID(java.lang.String elemID) throws java.lang.IllegalStateException
elemID
- the container element
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic com.google.gwt.user.client.Element getRenderTo()
public void setStateEvents(java.lang.String[] stateEvents) throws java.lang.IllegalStateException
stateEvents
- an array of state events
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic java.lang.String[] getStateEvents()
public void setStateId(java.lang.String stateId) throws java.lang.IllegalStateException
stateId
- the state ID
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic java.lang.String getStateId()
public void setStyle(java.lang.String style) throws java.lang.IllegalStateException
style
- the CSS style specification
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic void setStyle(GenericConfig style) throws java.lang.IllegalStateException
style
- the CSS style specification
java.lang.IllegalStateException
- this property cannot be changed after the Component has been renderedpublic void setStyleName(java.lang.String cls)
setStyleName
in class com.google.gwt.user.client.ui.UIObject
cls
- the CSS classsetCls(String)
public void addStyleName(java.lang.String cls)
addStyleName
in class com.google.gwt.user.client.ui.UIObject
cls
- the CSS classaddClass(String)
public void removeStyleName(java.lang.String cls)
removeStyleName
in class com.google.gwt.user.client.ui.UIObject
cls
- the CSS classremoveClass(String)
public void setStylePrimaryName(java.lang.String style)
setStylePrimaryName
in class com.google.gwt.user.client.ui.UIObject
public void addStyleDependentName(java.lang.String clsSuffix)
addStyleDependentName
in class com.google.gwt.user.client.ui.UIObject
public void removeStyleDependentName(java.lang.String clsSuffix)
removeStyleDependentName
in class com.google.gwt.user.client.ui.UIObject
public int getOffsetHeight()
getOffsetHeight
in class com.google.gwt.user.client.ui.UIObject
public int getOffsetWidth()
getOffsetWidth
in class com.google.gwt.user.client.ui.UIObject
public java.lang.String getTitle()
getTitle
in class com.google.gwt.user.client.ui.UIObject
public void setHeight(java.lang.String height)
setHeight
in class com.google.gwt.user.client.ui.UIObject
public void setTitle(java.lang.String title)
setTitle
in class com.google.gwt.user.client.ui.UIObject
public void addPlugin(ComponentPlugin plugin)
protected java.lang.String getAttribute(java.lang.String attribute)
protected com.google.gwt.core.client.JavaScriptObject getAttributeAsJavaScriptObject(java.lang.String attribute)
protected int getAttributeAsInt(java.lang.String attribute)
protected float getAttributeAsFloat(java.lang.String attribute)
protected boolean getAttributeAsBoolean(java.lang.String attribute)
protected void error(java.lang.String message) throws java.lang.IllegalStateException
java.lang.IllegalStateException
protected void setAttribute(java.lang.String attribute, java.lang.String value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, java.lang.String value, boolean allowPostCreate, boolean allowPostRendered)
protected void setAttribute(java.lang.String attribute, java.util.Map value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, java.util.Map value, boolean allowPostCreate, boolean allowPostRendered)
protected void setAttribute(java.lang.String attribute, int[] value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, int[] value, boolean allowPostCreate, boolean allowPostRender)
protected void setAttribute(java.lang.String attribute, long value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, double value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, int value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, int value, boolean allowPostCreate, boolean allowPostRender)
protected void setAttribute(java.lang.String attribute, java.util.Date value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, com.google.gwt.core.client.JavaScriptObject value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, com.google.gwt.core.client.JavaScriptObject value, boolean allowPostCreate, boolean allowPostRender)
protected void setAttribute(java.lang.String attribute, java.lang.String[] value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, java.lang.String[] value, boolean allowPostCreate, boolean allowPostRender)
protected void setAttribute(java.lang.String attribute, boolean value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, boolean value, boolean allowPostCreate, boolean allowPostRendered)
protected void setAttribute(java.lang.String attribute, com.google.gwt.user.client.Element value, boolean allowPostCreate)
protected void setAttribute(java.lang.String attribute, com.google.gwt.user.client.Element value, boolean allowPostCreate, boolean allowPostRendered)
public void setWidth(java.lang.String width)
setWidth
in class com.google.gwt.user.client.ui.UIObject
public java.lang.String toString()
toString
in class com.google.gwt.user.client.ui.UIObject
public static java.lang.String getConfigAsString(com.google.gwt.core.client.JavaScriptObject jsObj)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |