public class ClearKey extends Key implements java.io.Serializable
ALT, ALT_GR, BACK_SPACE, CAPS_LOCK, CLEAR, content, CONTEXT, CTRL, DELETE, END, ENTER, ESC, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, HOME, INSERT, isLocked, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_UP, LANG, NUM_5, NUM_DELETE, NUM_DIV, NUM_DOWN, NUM_END, NUM_HOME, NUM_INSERT, NUM_LEFT, NUM_LOCK, NUM_MINUS, NUM_MULT, NUM_PAGEDOWN, NUM_PAGEUP, NUM_PLUS, NUM_RIGHT, NUM_UP, PAGE_DOWN, PAGE_UP, PAUSE_BREAK, PRTSCR, SCROLL_LOCK, SHIFT, SPACE, TAB, WINDOWS| Constructor and Description |
|---|
ClearKey()
Initializes a new instance of the ClearKey class.
|
ClearKey(java.lang.Object content)
Initializes a new instance of the ClearKey class with the specified content label.
|
ClearKey(java.lang.String content)
Initializes a new instance of the ClearKey class with the specified content label.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this key.
|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance and a specified Key object represent the same value.
|
int |
hashCode()
Returns a hash code for this Key.
|
void |
send(boolean releaseSpecialKeys)
Sends this key to the foreground window or focused control to clear its content.
|
copy, getContent, getHeight, getImage, getImagePath, getIsLocked, getLeft, getTop, getWidth, setContent, setHeight, setImage, setImage, setIsLocked, setLeft, setTop, setWidth, updateKeypublic ClearKey()
public ClearKey(java.lang.String content)
content - The key's label.public ClearKey(java.lang.Object content)
content - The key's label.public void send(boolean releaseSpecialKeys)
public java.lang.Object clone()
public boolean equals(java.lang.Object obj)