public class RangeSelectionStrategy extends BaseCellSelectionStrategy
Modifier and Type | Field and Description |
---|---|
static CellSelectionStrategy |
INSTANCE |
Constructor and Description |
---|
RangeSelectionStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleSelection(GridData model,
int uiRowIndex,
int uiColumnIndex,
boolean isShiftKeyDown,
boolean isControlKeyDown)
Handle a single cell selection.
|
hasSelectionChanged
public static CellSelectionStrategy INSTANCE
public boolean handleSelection(GridData model, int uiRowIndex, int uiColumnIndex, boolean isShiftKeyDown, boolean isControlKeyDown)
CellSelectionStrategy
model
- Underlying GridData model.uiRowIndex
- Index of row as seen in the UIuiColumnIndex
- Index of the column as seen in the UIisShiftKeyDown
- True if the shift key is pressed.isControlKeyDown
- True if the control key is pressed.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.