public interface KeyboardOperation
Modifier and Type | Interface and Description |
---|---|
static class |
KeyboardOperation.TriStateBoolean |
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.
|
KeyboardOperation.TriStateBoolean |
isShiftKeyDown()
Gets the shift-key state that this operation matches.
|
boolean |
perform(GridWidget gridWidget,
boolean isShiftKeyDown,
boolean isControlKeyDown)
Performs the operation on the given @{link GridWidget}
|
int getKeyCode()
KeyboardOperation.TriStateBoolean isShiftKeyDown()
KeyboardOperation.TriStateBoolean isControlKeyDown()
boolean isExecutable(GridWidget gridWidget)
gridWidget
- The GridWidget on which to perform the operation.boolean perform(GridWidget gridWidget, boolean isShiftKeyDown, boolean isControlKeyDown)
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.