public class KeyboardOperationEditCell extends BaseKeyboardOperation
KeyboardOperation.TriStateBoolean
gridLayer
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}
|
isControlKeyDown, isShiftKeyDown, scrollSelectedCellIntoView
public KeyboardOperationEditCell(GridLayer gridLayer)
public int getKeyCode()
KeyboardOperation
public boolean isExecutable(GridWidget gridWidget)
KeyboardOperation
isExecutable
in interface KeyboardOperation
isExecutable
in class BaseKeyboardOperation
gridWidget
- The GridWidget on which to perform the operation.public boolean perform(GridWidget gridWidget, boolean isShiftKeyDown, boolean isControlKeyDown)
KeyboardOperation
gridWidget
- 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–2019 JBoss by Red Hat. All rights reserved.