public class KeyStrokeAction
extends java.lang.Object
Constructor | Description |
---|---|
KeyStrokeAction() |
|
KeyStrokeAction(java.lang.String action,
int code) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAction() |
|
int |
getCode() |
|
boolean |
getShift() |
|
boolean |
isAlt() |
|
boolean |
isCtrl() |
|
void |
setAction(java.lang.String name) |
|
void |
setAlt(boolean attributeAlt) |
|
void |
setCode(int keyCode) |
|
void |
setCtrl(boolean attributeCtrl) |
|
void |
setShift(boolean attributeShift) |
public KeyStrokeAction()
public KeyStrokeAction(java.lang.String action, int code)
public boolean isAlt()
public void setAlt(boolean attributeAlt)
attributeAlt
- public boolean isCtrl()
public void setCtrl(boolean attributeCtrl)
attributeCtrl
- The attributeCtrl to set.public java.lang.String getAction()
public void setAction(java.lang.String name)
name
- action namepublic int getCode()
public void setCode(int keyCode)
keyCode
- The keyCode to set.public boolean getShift()
public void setShift(boolean attributeShift)
attributeShift
- The attributeShift to set.