public class KeyboardOperationClearCell extends BaseKeyboardOperation
KeyboardOperation.TriStateBoolean
gridLayer
Constructor and Description |
---|
KeyboardOperationClearCell(GridLayer gridLayer) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearCells(GridWidget gridWidget) |
int |
getKeyCode()
Gets the @{link com.google.gwt.event.dom.client.KeyCodes} that this operation matches.
|
boolean |
perform(GridWidget gridWidget,
boolean isShiftKeyDown,
boolean isControlKeyDown)
Performs the operation on the given @{link GridWidget}
|
getSelectedCellOrigin, isControlKeyDown, isExecutable, isShiftKeyDown, scrollSelectedCellIntoView
public KeyboardOperationClearCell(GridLayer gridLayer)
public int getKeyCode()
KeyboardOperation
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.protected void clearCells(GridWidget gridWidget)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.