|
||||||||||
| 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.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.cell.CellComponent<C>
C - the type that the Cell representspublic class CellComponent<C>
A Component that wraps a Cell.
CellComponent instance.
Subclasses should be aware that redraw() calls are deferred before
the component is "rendered". The component is rendered when getElement is
called for the first time, typically, when the component is added to a panel
or container. To force a redraw use redraw(boolean).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor |
|---|
Editor.Ignore, Editor.Path |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Method Summary | |
|---|---|
HandlerRegistration |
addValueChangeHandler(ValueChangeHandler<C> handler)
|
Cell<C> |
getCell()
Get the Cell wrapped by this widget. |
XElement |
getElement()
Gets a handle to the object's underlying DOM element. |
ProvidesKey<C> |
getKeyProvider()
|
C |
getValue()
|
void |
onBrowserEvent(Event event)
|
void |
redraw()
Redraw the widget. |
void |
setValue(C value)
|
void |
setValue(C value,
boolean fireEvents)
|
void |
setValue(C value,
boolean fireEvents,
boolean redraw)
Sets this object's value and optionally redraw the widget. |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Method Detail |
|---|
public HandlerRegistration addValueChangeHandler(ValueChangeHandler<C> handler)
addValueChangeHandler in interface HasValueChangeHandlers<C>public Cell<C> getCell()
Cell wrapped by this widget.
Cell being wrappedpublic XElement getElement()
ComponentUIObject.setElement(com.google.gwt.user.client.Element).
getElement in class Componentpublic ProvidesKey<C> getKeyProvider()
getKeyProvider in interface HasKeyProvider<C>public C getValue()
getValue in interface TakesValue<C>getValue in interface HasValue<C>public void onBrowserEvent(Event event)
onBrowserEvent in interface EventListeneronBrowserEvent in class Componentpublic void redraw()
public void setValue(C value)
This method will redraw the widget if the new value does not equal the existing value.
setValue in interface TakesValue<C>setValue in interface HasValue<C>
public void setValue(C value,
boolean fireEvents)
This method will redraw the widget if the new value does not equal the existing value.
setValue in interface HasValue<C>
public void setValue(C value,
boolean fireEvents,
boolean redraw)
ValueChangeEvent when
fireEvents is true and the new value does not equal the existing value.
Redraws the widget when redraw is true and the new value does not equal the
existing value.
value - the object's new valuefireEvents - fire events if true and value is newredraw - redraw the widget if true and value is new
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||