Package snap.view
Enum Class ViewEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<ViewEvent.Type>
,Constable
- Enclosing class:
- ViewEvent
Types for events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAction event.Drag events.DragSource events.Key events.Mouse events.Scroll event.Window events. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ViewEvent.Type[]
static final ViewEvent.Type[]
static final ViewEvent.Type[]
-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewEvent.Type
Returns the enum constant of this class with the specified name.static ViewEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Action
Action event. -
KeyPress
Key events. -
KeyRelease
-
KeyType
-
MousePress
Mouse events. -
MouseDrag
-
MouseRelease
-
MouseEnter
-
MouseMove
-
MouseExit
-
Scroll
Scroll event. -
DragEnter
Drag events. -
DragOver
-
DragExit
-
DragDrop
-
DragGesture
DragSource events. -
DragSourceEnter
-
DragSourceOver
-
DragSourceExit
-
DragSourceEnd
-
WinOpen
Window events. -
WinClose
-
-
Field Details
-
KeyEvents
-
MouseEvents
-
DragEvents
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-