public static enum MouseEvent.Type extends Enum<MouseEvent.Type>
Enum Constant and Description |
---|
CLICK |
CONTEXTMENU |
DBLCLICK |
MOUSEDOWN |
MOUSEMOVE |
MOUSEOUT |
MOUSEOVER |
MOUSEUP |
PRECLICK |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static MouseEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MouseEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MouseEvent.Type CLICK
public static final MouseEvent.Type DBLCLICK
public static final MouseEvent.Type MOUSEDOWN
public static final MouseEvent.Type MOUSEUP
public static final MouseEvent.Type MOUSEOVER
public static final MouseEvent.Type MOUSEOUT
public static final MouseEvent.Type MOUSEMOVE
public static final MouseEvent.Type CONTEXTMENU
public static final MouseEvent.Type PRECLICK
public static MouseEvent.Type[] values()
for (MouseEvent.Type c : MouseEvent.Type.values()) System.out.println(c);
public static MouseEvent.Type 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 String toString()
toString
in class Enum<MouseEvent.Type>
Copyright © 2017. All rights reserved.