|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.webtest.ui.keys.DefaultCharacterKey
public class DefaultCharacterKey
Character implementation of the Key interface.
This class represents all keys that have corresponding 16-bit char representation in Java.
NOTE: as this class is based on a single 16-bit Java char, it only supports characters from
the Basic Multilingual Plane (BMP) and NOT the supplementary characters as explained
in the Character class documentation.
| Constructor Summary | |
|---|---|
DefaultCharacterKey(char codeUnit)
|
|
DefaultCharacterKey(String string)
|
|
| Method Summary | |
|---|---|
char |
codeUnit()
Char (a code unit) representation of the character entered by this key |
String |
string()
String representation of the character entered by this key |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCharacterKey(String string)
public DefaultCharacterKey(char codeUnit)
| Method Detail |
|---|
public String string()
CharacterKey
string in interface CharacterKeypublic char codeUnit()
CharacterKey
codeUnit in interface CharacterKeypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||