com.alee.utils.swing
Enum MouseEventType

java.lang.Object
  extended by java.lang.Enum<MouseEventType>
      extended by com.alee.utils.swing.MouseEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MouseEventType>

public enum MouseEventType
extends java.lang.Enum<MouseEventType>

This enumeration represents various mouse events.

Author:
Mikle Garin

Enum Constant Summary
mouseClicked
          Mouse clicked event.
mouseDragged
          Mouse dragged event.
mouseEntered
          Mouse entered event.
mouseExited
          Mouse exited event.
mouseMoved
          Mouse moved event.
mousePressed
          Mouse pressed event.
mouseReleased
          Mouse released event.
mouseWheelMoved
          Mouse wheel moved event.
 
Method Summary
static MouseEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MouseEventType[] 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

mouseClicked

public static final MouseEventType mouseClicked
Mouse clicked event.


mousePressed

public static final MouseEventType mousePressed
Mouse pressed event.


mouseDragged

public static final MouseEventType mouseDragged
Mouse dragged event.


mouseReleased

public static final MouseEventType mouseReleased
Mouse released event.


mouseEntered

public static final MouseEventType mouseEntered
Mouse entered event.


mouseExited

public static final MouseEventType mouseExited
Mouse exited event.


mouseMoved

public static final MouseEventType mouseMoved
Mouse moved event.


mouseWheelMoved

public static final MouseEventType mouseWheelMoved
Mouse wheel moved event.

Method Detail

values

public static MouseEventType[] 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 (MouseEventType c : MouseEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MouseEventType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null