com.opera.core.systems.scope.internal
Enum OperaMouseKeys

java.lang.Object
  extended by java.lang.Enum<OperaMouseKeys>
      extended by 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

Enum Constant Summary
LEFT
           
LEFT_DOWN
           
LEFT_UP
           
MIDDLE
           
MIDDLE_DOWN
           
MIDDLE_UP
           
RIGHT
           
RIGHT_DOWN
           
RIGHT_UP
           
 
Method Summary
 Integer getValue()
           
static OperaMouseKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperaMouseKeys[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.