Package com.inductiveautomation.snap.ui
Enum UIEvent.Type
- java.lang.Object
-
- java.lang.Enum<UIEvent.Type>
-
- com.inductiveautomation.snap.ui.UIEvent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UIEvent.Type>
- Enclosing class:
- UIEvent
public static enum UIEvent.Type extends java.lang.Enum<UIEvent.Type>
Types for events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Action
Others.DragDrop
DragEnter
Drag events.DragExit
DragGesture
DragSource events.DragOver
DragSourceEnd
DragSourceEnter
DragSourceExit
DragSourceOver
FocusGained
Focus events.FocusLost
KeyFinished
KeyPressed
Key events.KeyReleased
KeyTyped
MouseClicked
MouseDragged
MouseEntered
Mouse move events.MouseExited
MouseFinished
MouseMoved
MousePressed
Mouse events.MouseReleased
PropertyChange
Selection
Timer
ValueChange
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UIEvent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UIEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KeyPressed
public static final UIEvent.Type KeyPressed
Key events.
-
KeyReleased
public static final UIEvent.Type KeyReleased
-
KeyTyped
public static final UIEvent.Type KeyTyped
-
KeyFinished
public static final UIEvent.Type KeyFinished
-
MousePressed
public static final UIEvent.Type MousePressed
Mouse events.
-
MouseDragged
public static final UIEvent.Type MouseDragged
-
MouseReleased
public static final UIEvent.Type MouseReleased
-
MouseClicked
public static final UIEvent.Type MouseClicked
-
MouseFinished
public static final UIEvent.Type MouseFinished
-
MouseEntered
public static final UIEvent.Type MouseEntered
Mouse move events.
-
MouseMoved
public static final UIEvent.Type MouseMoved
-
MouseExited
public static final UIEvent.Type MouseExited
-
DragEnter
public static final UIEvent.Type DragEnter
Drag events.
-
DragOver
public static final UIEvent.Type DragOver
-
DragExit
public static final UIEvent.Type DragExit
-
DragDrop
public static final UIEvent.Type DragDrop
-
DragGesture
public static final UIEvent.Type DragGesture
DragSource events.
-
DragSourceEnter
public static final UIEvent.Type DragSourceEnter
-
DragSourceOver
public static final UIEvent.Type DragSourceOver
-
DragSourceExit
public static final UIEvent.Type DragSourceExit
-
DragSourceEnd
public static final UIEvent.Type DragSourceEnd
-
FocusGained
public static final UIEvent.Type FocusGained
Focus events.
-
FocusLost
public static final UIEvent.Type FocusLost
-
Action
public static final UIEvent.Type Action
Others.
-
ValueChange
public static final UIEvent.Type ValueChange
-
PropertyChange
public static final UIEvent.Type PropertyChange
-
Selection
public static final UIEvent.Type Selection
-
Timer
public static final UIEvent.Type Timer
-
-
Method Detail
-
values
public static UIEvent.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 (UIEvent.Type c : UIEvent.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 UIEvent.Type 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 namejava.lang.NullPointerException
- if the argument is null
-
-