Package docking.widgets.tree.support
Enum Class GTreeSelectionEvent.EventOrigin
java.lang.Object
java.lang.Enum<GTreeSelectionEvent.EventOrigin>
docking.widgets.tree.support.GTreeSelectionEvent.EventOrigin
- All Implemented Interfaces:
Serializable
,Comparable<GTreeSelectionEvent.EventOrigin>
,Constable
- Enclosing class:
GTreeSelectionEvent
An enum that contains the origin of the GTreeSelectionEvent (see each enum for more
details).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis event was triggered by an API on the GTree interfaceThis event was triggered by an internal GTree selection change (e.g., filter change)This event was triggered by the user changing the selection via the GUI -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GTreeSelectionEvent.EventOrigin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
API_GENERATED
This event was triggered by an API on the GTree interface -
INTERNAL_GENERATED
This event was triggered by an internal GTree selection change (e.g., filter change) -
USER_GENERATED
This event was triggered by the user changing the selection via the GUI
-
-
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
-