com.atlassian.webtest.ui.keys
Interface CharacterKey

All Superinterfaces:
Key
All Known Implementing Classes:
DefaultCharacterKey

public interface CharacterKey
extends Key

A Key instance that has a corresponding 16-bit char representation in Java (e.g. 'a', 'b', 'c', '1', '2','3' etc).

NOTE: as this interface 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.


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
 

Method Detail

string

String string()
String representation of the character entered by this key

Returns:
string character representation

codeUnit

char codeUnit()
Char (a code unit) representation of the character entered by this key

Returns:
char character representation


Copyright © 2014 Atlassian. All rights reserved.