public class ComboBoxCell extends AbstractCell
| Constructor and Description |
|---|
ComboBoxCell() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDeactivated()
This method checks whether a cell can be deactivated by a grid or another component
on any input / output event produced outside the cell.
|
protected com.google.gwt.user.client.ui.Widget |
createActive()
This method creates an active cell element (content).
|
protected com.google.gwt.user.client.ui.Widget |
createInactive()
This method creates an inactive cell element (content).
|
protected com.google.gwt.user.client.ui.Widget |
getComboBoxWidget(ComboBox comboBox)
This method returns a widget for the inactive combo box.
|
Object |
getNewValue()
This method returns a new value entered while the cell is active.
|
void |
setFocus(boolean focus)
This method sets focus to the cell.
|
void |
setValue(Object value)
This method sets a cell value.
|
boolean |
valueEqual(Object value)
This method compares values in this cell and in the specified cell.
|
addListeners, displayActive, getColumn, getDefaultBlurHandler, getGrid, getLabel, getRow, getValue, isActive, isDefaultFocusListenerAdded, prepare, removeListeners, setActive, setGrid, setLabel, setPositionadd, getContainerElement, getWidget, iterator, remove, setWidget, setWidgetadd, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventspublic boolean valueEqual(Object value)
equals
method invocation.valueEqual in interface GridCellvalueEqual in class AbstractCellvalue - is a value to be compared.true if values are equal.public void setValue(Object value)
setValue in interface GridCellsetValue in class AbstractCellvalue - is a cell value.public boolean canBeDeactivated()
canBeDeactivated in interface GridCellcanBeDeactivated in class AbstractCellprotected com.google.gwt.user.client.ui.Widget createActive()
createActive in class AbstractCellprotected com.google.gwt.user.client.ui.Widget createInactive()
createInactive in class AbstractCellpublic void setFocus(boolean focus)
focus - is a flag meaning whether the focus must be set or lost.public Object getNewValue()
If the cell is passive, it is an equivalent of the GridCell.getValue() method.
protected com.google.gwt.user.client.ui.Widget getComboBoxWidget(ComboBox comboBox)
comboBox - is a combo box.Copyright © 2008–2013. All rights reserved.