com.opera.core.systems.scope.internal
Enum OperaMouseKeys
java.lang.Object
java.lang.Enum<OperaMouseKeys>
com.opera.core.systems.scope.internal.OperaMouseKeys
- All Implemented Interfaces:
- Serializable, Comparable<OperaMouseKeys>
public enum OperaMouseKeys
- extends Enum<OperaMouseKeys>
Enumerator for native mouse key events
- Author:
- Deniz Turkoglu
LEFT_DOWN
public static final OperaMouseKeys LEFT_DOWN
LEFT_UP
public static final OperaMouseKeys LEFT_UP
LEFT
public static final OperaMouseKeys LEFT
RIGHT_DOWN
public static final OperaMouseKeys RIGHT_DOWN
RIGHT_UP
public static final OperaMouseKeys RIGHT_UP
RIGHT
public static final OperaMouseKeys RIGHT
MIDDLE_DOWN
public static final OperaMouseKeys MIDDLE_DOWN
MIDDLE_UP
public static final OperaMouseKeys MIDDLE_UP
MIDDLE
public static final OperaMouseKeys MIDDLE
values
public static OperaMouseKeys[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OperaMouseKeys c : OperaMouseKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OperaMouseKeys valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getValue
public Integer getValue()
Copyright © 2012. All Rights Reserved.