|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.retail.AEF.workstation.KeyCode
KeyCode encapsulates data for a POS function or data key.
Field Summary | |
---|---|
protected java.lang.String |
dataString
|
protected boolean |
doubleKey
|
protected boolean |
functionKey
|
protected int |
logicalKeyCode
|
protected int |
rawScanCode
|
Constructor Summary | |
---|---|
KeyCode()
Default constructor |
|
KeyCode(int rawScanCode,
int logicalKeyCode,
java.lang.String dataString,
boolean doubleKey,
boolean functionKey)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getDataString()
Get the string value of this key For double zeroes returns "00" For triple zeroes returns "000" |
int |
getLogicalKeyCode()
Get the logical key code |
int |
getRawScanCode()
Get the raw scan code |
boolean |
isDoubleKey()
Is this a double key (Two keys physically joined) |
boolean |
isFunctionKey()
Is this a function key |
void |
setDataString(java.lang.String value)
Set the string value of this key |
void |
setDoubleKey(boolean value)
Set Is this a double key (Two keys physically joined) |
void |
setFunctionKey(boolean value)
Set Is this a function key |
void |
setLogicalKeyCode(int value)
Set the logical key code |
void |
setRawScanCode(int value)
Set the raw scan code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int rawScanCode
protected int logicalKeyCode
protected java.lang.String dataString
protected boolean doubleKey
protected boolean functionKey
Constructor Detail |
public KeyCode()
public KeyCode(int rawScanCode, int logicalKeyCode, java.lang.String dataString, boolean doubleKey, boolean functionKey)
Method Detail |
public int getLogicalKeyCode()
public int getRawScanCode()
public java.lang.String getDataString()
public boolean isFunctionKey()
public boolean isDoubleKey()
public void setLogicalKeyCode(int value)
public void setRawScanCode(int value)
public void setDataString(java.lang.String value)
public void setFunctionKey(boolean value)
public void setDoubleKey(boolean value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |