public enum OperaMobileKeys extends Enum<OperaMobileKeys> implements CharSequence
Keys for special key input.
An example:
element.sendKeys("foo", OperaMobileKeys.SOFT_KEY_1);
| Enum Constant and Description |
|---|
SOFT_KEY_1 |
SOFT_KEY_2 |
SOFT_KEY_3 |
SOFT_KEY_4 |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
static OperaMobileKeys |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaMobileKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaMobileKeys SOFT_KEY_1
public static final OperaMobileKeys SOFT_KEY_2
public static final OperaMobileKeys SOFT_KEY_3
public static final OperaMobileKeys SOFT_KEY_4
public static OperaMobileKeys[] values()
for (OperaMobileKeys c : OperaMobileKeys.values()) System.out.println(c);
public static OperaMobileKeys 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 length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class Enum<OperaMobileKeys>Copyright © 2013. All Rights Reserved.