public class HierarchicalGridEventManager extends DefaultGridEventManager
MODIFIER_ALT, MODIFIER_CTRL, MODIFIER_META, MODIFIER_SHIFT
Constructor and Description |
---|
HierarchicalGridEventManager(GridPanel panel)
Creates an instance of the class and adds itself to the listeners list of the grid.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSubgridRow(int row) |
protected void |
moveCursorUp()
Moves the cursor up
|
void |
onClick(com.google.gwt.event.dom.client.ClickEvent event)
Sets the current position of the cursor or activates the selected cell.
|
protected void |
setCursor(int row,
int cell,
boolean skipSelection)
This method sets the current cell value.
|
activateCell, deactivateActiveCell, dispatch, getPanel, getSelectionModifier, isReadOnly, isSkipKeyboardEnabled, moveByShiftTab, moveByTab, moveCursorDown, moveCursorLeft, moveCursorRight, moveToEndPage, moveToFirstCell, moveToLastCell, moveToNextCell, moveToNextPage, moveToPreviousCell, moveToPrevPage, moveToStartPage, onBlur, onFocus, onPreviewNativeEvent, setPage
public HierarchicalGridEventManager(GridPanel panel)
panel
- is a grid panel.public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
onClick
in interface com.google.gwt.event.dom.client.ClickHandler
onClick
in class DefaultGridEventManager
protected void moveCursorUp()
moveCursorUp
in class DefaultGridEventManager
protected void setCursor(int row, int cell, boolean skipSelection)
setCursor
in class DefaultGridEventManager
row
- is a row number.cell
- is a column number.skipSelection
- is a flag value that forces selection skipping. Otherwise rows might be selected due to other
conditions.protected boolean isSubgridRow(int row)
Copyright © 2008–2013. All rights reserved.