public enum KeyboardControlKey extends Enum<KeyboardControlKey>
DefaultSelenium.typeKeys(java.lang.String, java.lang.String)
.
In this example, you can use the result of asString()
as an acceptable parameter in the key sequence.Modifier and Type | Method and Description |
---|---|
String |
asString() |
int |
getCode() |
static KeyboardControlKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyboardControlKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyboardControlKey DELETE
public static final KeyboardControlKey ENTER
public static final KeyboardControlKey TAB
public static KeyboardControlKey[] values()
for (KeyboardControlKey c : KeyboardControlKey.values()) System.out.println(c);
public static KeyboardControlKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public String asString()
Copyright © 2003–2015 Atlassian. All rights reserved.