@Deprecated public final class CharacterKey extends NaturalKey
Instances of CharacterKey
represent keys on the keyboard which
represent unicode characters.
CharacterKey
objects are immutable. Clients are not permitted
to extend this class.
Modifier and Type | Field and Description |
---|---|
static CharacterKey |
BS
Deprecated.
The single static instance of
CharacterKey which
represents the backspace key (U+0008). |
static CharacterKey |
CR
Deprecated.
The single static instance of
CharacterKey which
represents the carriage return (U+000D) key |
static CharacterKey |
DEL
Deprecated.
The single static instance of
CharacterKey which
represents the delete (U+007F) key. |
static CharacterKey |
ESC
Deprecated.
The single static instance of
CharacterKey which
represents the escape (U+001B) key. |
static CharacterKey |
FF
Deprecated.
The single static instance of
CharacterKey which
represents the form feed (U+000C) key. |
static CharacterKey |
LF
Deprecated.
The single static instance of
CharacterKey which
represents the line feed (U+000A) key. |
static CharacterKey |
NUL
Deprecated.
The single static instance of
CharacterKey which
represents the null (U+0000) key. |
static CharacterKey |
SPACE
Deprecated.
The single static instance of
CharacterKey which
represents the space (U+0020) key. |
static CharacterKey |
TAB
Deprecated.
The single static instance of
CharacterKey which
represents the tab (U+0009) key. |
static CharacterKey |
VT
Deprecated.
The single static instance of
CharacterKey which
represents the vertical tab (U+000B) key. |
Modifier and Type | Method and Description |
---|---|
char |
getCharacter()
Deprecated.
Gets the character that this object represents.
|
static CharacterKey |
getInstance(char character)
Deprecated.
Creates an instance of
CharacterKey given a unicode
character. |
public static final CharacterKey BS
CharacterKey
which
represents the backspace key (U+0008).public static final CharacterKey CR
CharacterKey
which
represents the carriage return (U+000D) keypublic static final CharacterKey DEL
CharacterKey
which
represents the delete (U+007F) key.public static final CharacterKey ESC
CharacterKey
which
represents the escape (U+001B) key.public static final CharacterKey FF
CharacterKey
which
represents the form feed (U+000C) key.public static final CharacterKey LF
CharacterKey
which
represents the line feed (U+000A) key.public static final CharacterKey NUL
CharacterKey
which
represents the null (U+0000) key.public static final CharacterKey SPACE
CharacterKey
which
represents the space (U+0020) key.public static final CharacterKey TAB
CharacterKey
which
represents the tab (U+0009) key.public static final CharacterKey VT
CharacterKey
which
represents the vertical tab (U+000B) key.public static final CharacterKey getInstance(char character)
CharacterKey
given a unicode
character. This method determines the correct name for the key based on
character. Typically, this name is a string of one-character in length
equal to the character that this instance represents.character
- the character that the resultant CharacterKey
instance is to represent.CharacterKey
representing the
character.public final char getCharacter()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.