public class RangeKeyEvent extends RangeEvent
Constructor and Description |
---|
RangeKeyEvent(String name,
Set<Range> refs,
int keyCode,
int keys,
Object data) |
Modifier and Type | Method and Description |
---|---|
int |
getKeyCode()
Returns the keyCode;
|
static RangeKeyEvent |
getRangeKeyEvent(String eventName,
Spreadsheet kSpreadsheet,
Map map) |
boolean |
isAltKey()
Returns whether the alt key has pressed.
|
boolean |
isCtrlKey()
Returns whether the ctrl key has pressed.
|
boolean |
isMetaKey()
Returns whether the meta key has pressed.
|
boolean |
isShiftKey()
Returns whether the shift key has pressed.
|
getColumn, getData, getLastColumn, getLastRow, getName, getRange, getRangeEvent, getRangeEvent, getRanges, getRow, getWorksheet, toString
public static RangeKeyEvent getRangeKeyEvent(String eventName, Spreadsheet kSpreadsheet, Map map)
public int getKeyCode()
public boolean isShiftKey()
public boolean isCtrlKey()
public boolean isAltKey()
public boolean isMetaKey()
Copyright © 2018. All rights reserved.