Package heronarts.glx.ui
Enum Class UI2dComponent.UIDropTarget.DropAction
java.lang.Object
java.lang.Enum<UI2dComponent.UIDropTarget.DropAction>
heronarts.glx.ui.UI2dComponent.UIDropTarget.DropAction
- All Implemented Interfaces:
Serializable,Comparable<UI2dComponent.UIDropTarget.DropAction>,Constable
- Enclosing interface:
UI2dComponent.UIDropTarget
public static enum UI2dComponent.UIDropTarget.DropAction
extends Enum<UI2dComponent.UIDropTarget.DropAction>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DROP
Element was released onto the target -
OVER
Element is being dragged over the target -
OUT
Element is no longer dragging over the target
-
-
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
-