V - type of value in grid.abstract class CellGridImpl<V> extends Grid
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
CellGridImpl.Cell |
HTMLTable.CellFormatter, HTMLTable.ColumnFormatter, HTMLTable.RowFormatterUIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasWidgets.ForIsWidgetnumColumns, numRowsDEBUG_ID_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
CellGridImpl() |
| Modifier and Type | Method and Description |
|---|---|
CellGridImpl.Cell |
getCell(Element element) |
CellGridImpl.Cell |
getCell(Event e) |
CellGridImpl.Cell |
getCell(int i) |
java.util.Iterator |
getCells() |
CellGridImpl.Cell |
getHighlightedCell() |
int |
getNumCells() |
CellGridImpl.Cell |
getSelectedCell() |
V |
getSelectedValue() |
V |
getValue(CellGridImpl.Cell cell) |
void |
onBrowserEvent(Event event)
Fired whenever a browser event is received.
|
protected abstract void |
onSelected(CellGridImpl.Cell lastSelected,
CellGridImpl.Cell cell) |
void |
onUnload()
This method is called immediately before a widget will be detached from the
browser's document.
|
void |
setHighlighted(CellGridImpl.Cell nextHighlighted) |
void |
setSelected(CellGridImpl.Cell cell) |
clearCell, createCell, getCellCount, getColumnCount, getRowCount, insertRow, prepareCell, prepareColumn, prepareRow, removeRow, resize, resizeColumns, resizeRowsaddClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCell, insertCells, internalClearCell, internalClearCell, isCellPresent, iterator, onEnsureDebugId, remove, removeCell, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidgetadd, add, adopt, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventpublic CellGridImpl.Cell getCell(Element element)
public CellGridImpl.Cell getCell(Event e)
public CellGridImpl.Cell getCell(int i)
public java.util.Iterator getCells()
public CellGridImpl.Cell getHighlightedCell()
public int getNumCells()
public CellGridImpl.Cell getSelectedCell()
public V getSelectedValue()
public V getValue(CellGridImpl.Cell cell)
public void onBrowserEvent(Event event)
EventListeneronBrowserEvent in interface EventListeneronBrowserEvent in class Widgetevent - the event receivedpublic void onUnload()
Widgetpublic final void setHighlighted(CellGridImpl.Cell nextHighlighted)
public final void setSelected(CellGridImpl.Cell cell)
protected abstract void onSelected(CellGridImpl.Cell lastSelected, CellGridImpl.Cell cell)