Class AbstractCellTable.CellTableKeyboardSelectionHandler<T>
- java.lang.Object
-
- com.google.gwt.user.cellview.client.AbstractHasData.DefaultKeyboardSelectionHandler<T>
-
- com.google.gwt.user.cellview.client.AbstractCellTable.CellTableKeyboardSelectionHandler<T>
-
- Type Parameters:
T
- the data type of each row
- All Implemented Interfaces:
EventHandler
,CellPreviewEvent.Handler<T>
- Enclosing class:
- AbstractCellTable<T>
public static class AbstractCellTable.CellTableKeyboardSelectionHandler<T> extends AbstractHasData.DefaultKeyboardSelectionHandler<T>
Default implementation of a keyboard navigation handler for tables that supports navigation between cells.
-
-
Constructor Summary
Constructors Constructor Description CellTableKeyboardSelectionHandler(AbstractCellTable<T> table)
Construct a new keyboard selection handler for the specified table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCellTable<T>
getDisplay()
void
onCellPreview(CellPreviewEvent<T> event)
Called whenCellPreviewEvent
is fired.-
Methods inherited from class com.google.gwt.user.cellview.client.AbstractHasData.DefaultKeyboardSelectionHandler
end, handledEvent, home, nextPage, nextRow, prevPage, prevRow, setKeyboardSelectedRow
-
-
-
-
Constructor Detail
-
CellTableKeyboardSelectionHandler
public CellTableKeyboardSelectionHandler(AbstractCellTable<T> table)
Construct a new keyboard selection handler for the specified table.- Parameters:
table
- the display being handled
-
-
Method Detail
-
getDisplay
public AbstractCellTable<T> getDisplay()
- Overrides:
getDisplay
in classAbstractHasData.DefaultKeyboardSelectionHandler<T>
-
onCellPreview
public void onCellPreview(CellPreviewEvent<T> event)
Description copied from interface:CellPreviewEvent.Handler
Called whenCellPreviewEvent
is fired.- Specified by:
onCellPreview
in interfaceCellPreviewEvent.Handler<T>
- Overrides:
onCellPreview
in classAbstractHasData.DefaultKeyboardSelectionHandler<T>
- Parameters:
event
- theCellPreviewEvent
that was fired
-
-