Package org.gephi.preview.api
Enum PreviewMouseEvent.Type
- java.lang.Object
-
- java.lang.Enum<PreviewMouseEvent.Type>
-
- org.gephi.preview.api.PreviewMouseEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<PreviewMouseEvent.Type>
- Enclosing class:
- PreviewMouseEvent
public static enum PreviewMouseEvent.Type extends Enum<PreviewMouseEvent.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreviewMouseEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static PreviewMouseEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLICKED
public static final PreviewMouseEvent.Type CLICKED
-
PRESSED
public static final PreviewMouseEvent.Type PRESSED
-
RELEASED
public static final PreviewMouseEvent.Type RELEASED
-
DRAGGED
public static final PreviewMouseEvent.Type DRAGGED
-
-
Method Detail
-
values
public static PreviewMouseEvent.Type[] 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 (PreviewMouseEvent.Type c : PreviewMouseEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreviewMouseEvent.Type 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 nameNullPointerException
- if the argument is null
-
-