T
- the data type of each rowpublic static class AbstractHasData.DefaultKeyboardSelectionHandler<T> extends java.lang.Object implements CellPreviewEvent.Handler<T>
Constructor and Description |
---|
DefaultKeyboardSelectionHandler(AbstractHasData<T> display)
Construct a new keyboard selection handler for the specified view.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
end() |
AbstractHasData<T> |
getDisplay() |
(package private) void |
handledEvent(CellPreviewEvent<?> event) |
(package private) void |
home() |
(package private) void |
nextPage() |
(package private) void |
nextRow() |
void |
onCellPreview(CellPreviewEvent<T> event)
Called when
CellPreviewEvent is fired. |
(package private) void |
prevPage() |
(package private) void |
prevRow() |
(package private) void |
setKeyboardSelectedRow(int row) |
public DefaultKeyboardSelectionHandler(AbstractHasData<T> display)
display
- the display being handledpublic AbstractHasData<T> getDisplay()
public void onCellPreview(CellPreviewEvent<T> event)
CellPreviewEvent.Handler
CellPreviewEvent
is fired.onCellPreview
in interface CellPreviewEvent.Handler<T>
event
- the CellPreviewEvent
that was firedvoid end()
void handledEvent(CellPreviewEvent<?> event)
void home()
void nextPage()
void nextRow()
void prevPage()
void prevRow()
void setKeyboardSelectedRow(int row)