public abstract class BaseKeyboardOperation extends Object implements KeyboardOperation
KeyboardOperation.TriStateBoolean
Constructor and Description |
---|
BaseKeyboardOperation(GridLayer gridLayer) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected boolean |
scrollSelectedCellIntoView(GridWidget gridWidget) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKeyCode, perform
protected GridLayer gridLayer
public BaseKeyboardOperation(GridLayer gridLayer)
public KeyboardOperation.TriStateBoolean isShiftKeyDown()
KeyboardOperation
isShiftKeyDown
in interface KeyboardOperation
public KeyboardOperation.TriStateBoolean isControlKeyDown()
KeyboardOperation
isControlKeyDown
in interface KeyboardOperation
public boolean isExecutable(GridWidget gridWidget)
KeyboardOperation
isExecutable
in interface KeyboardOperation
gridWidget
- The GridWidget on which to perform the operation.protected boolean scrollSelectedCellIntoView(GridWidget gridWidget)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.