|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Keys> org.openqa.selenium.Keys
public enum Keys
Representations of pressable keys that aren't text. These are stored in the Unicode PUA (Private Use Area) code points, 0xE000-0xF8FF. Refer to http://www.google.com.au/search?&q=unicode+pua&btnG=Search
Method Summary | |
---|---|
char |
charAt(int index)
|
static java.lang.String |
chord(java.lang.CharSequence... value)
Simulate pressing many keys at once in a "chord". |
int |
length()
|
java.lang.CharSequence |
subSequence(int start,
int end)
|
java.lang.String |
toString()
|
static Keys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Keys[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Keys NULL
public static final Keys CANCEL
public static final Keys HELP
public static final Keys BACK_SPACE
public static final Keys TAB
public static final Keys CLEAR
public static final Keys RETURN
public static final Keys ENTER
public static final Keys SHIFT
public static final Keys LEFT_SHIFT
public static final Keys CONTROL
public static final Keys LEFT_CONTROL
public static final Keys ALT
public static final Keys LEFT_ALT
public static final Keys PAUSE
public static final Keys ESCAPE
public static final Keys SPACE
public static final Keys PAGE_UP
public static final Keys PAGE_DOWN
public static final Keys END
public static final Keys HOME
public static final Keys LEFT
public static final Keys ARROW_LEFT
public static final Keys UP
public static final Keys ARROW_UP
public static final Keys RIGHT
public static final Keys ARROW_RIGHT
public static final Keys DOWN
public static final Keys ARROW_DOWN
public static final Keys INSERT
public static final Keys DELETE
public static final Keys SEMICOLON
public static final Keys EQUALS
public static final Keys NUMPAD0
public static final Keys NUMPAD1
public static final Keys NUMPAD2
public static final Keys NUMPAD3
public static final Keys NUMPAD4
public static final Keys NUMPAD5
public static final Keys NUMPAD6
public static final Keys NUMPAD7
public static final Keys NUMPAD8
public static final Keys NUMPAD9
public static final Keys MULTIPLY
public static final Keys ADD
public static final Keys SEPARATOR
public static final Keys SUBTRACT
public static final Keys DECIMAL
public static final Keys DIVIDE
public static final Keys F1
public static final Keys F2
public static final Keys F3
public static final Keys F4
public static final Keys F5
public static final Keys F6
public static final Keys F7
public static final Keys F8
public static final Keys F9
public static final Keys F10
public static final Keys F11
public static final Keys F12
public static final Keys META
public static final Keys COMMAND
public static final Keys ZENKAKU_HANKAKU
Method Detail |
---|
public static Keys[] values()
for (Keys c : Keys.values()) System.out.println(c);
public static Keys valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.lang.String chord(java.lang.CharSequence... value)
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public int length()
length
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Enum<Keys>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |