public class KeyboardOperationInvokeContextMenuForSelectedCell extends BaseKeyboardOperation
KeyboardOperation.TriStateBooleangridLayer| Constructor and Description |
|---|
KeyboardOperationInvokeContextMenuForSelectedCell(GridLayer gridLayer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeyCode()
Gets the @{link com.google.gwt.event.dom.client.KeyCodes} that this operation matches.
|
KeyboardOperation.TriStateBoolean |
isControlKeyDown()
Gets the control-key state that this operation matches.
|
boolean |
isExecutable(GridWidget gridWidget)
Decides about @link{GridWidget} state for execution of the operation.
|
boolean |
perform(GridWidget gridWidget,
boolean isShiftKeyDown,
boolean isControlKeyDown)
Performs the operation on the given @{link GridWidget}
|
protected boolean |
performBodyOperation(GridWidget gridWidget) |
protected boolean |
performHeaderOperation(GridWidget gridWidget) |
getSelectedCellOrigin, isShiftKeyDown, scrollSelectedCellIntoViewpublic KeyboardOperationInvokeContextMenuForSelectedCell(GridLayer gridLayer)
public KeyboardOperation.TriStateBoolean isControlKeyDown()
KeyboardOperationisControlKeyDown in interface KeyboardOperationisControlKeyDown in class BaseKeyboardOperationpublic int getKeyCode()
KeyboardOperationpublic boolean isExecutable(GridWidget gridWidget)
KeyboardOperationisExecutable in interface KeyboardOperationisExecutable in class BaseKeyboardOperationgridWidget - The GridWidget on which to perform the operation.public boolean perform(GridWidget gridWidget, boolean isShiftKeyDown, boolean isControlKeyDown)
KeyboardOperationgridWidget - The GridWidget on which to perform the operation.isShiftKeyDown - True if the shift-key is down.isControlKeyDown - True if the control-key is down.protected boolean performHeaderOperation(GridWidget gridWidget)
protected boolean performBodyOperation(GridWidget gridWidget)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.