public class KeyboardOperationEditCell extends BaseKeyboardOperation
KeyboardOperation.TriStateBooleangridLayer| Constructor and Description |
|---|
KeyboardOperationEditCell(GridLayer gridLayer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeyCode()
Gets the @{link com.google.gwt.event.dom.client.KeyCodes} 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}
|
getSelectedCellOrigin, isControlKeyDown, isShiftKeyDown, scrollSelectedCellIntoViewpublic KeyboardOperationEditCell(GridLayer gridLayer)
public 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.Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.