Enum Class TreeviewSelectionTypes
- All Implemented Interfaces:
Serializable
,Comparable<TreeviewSelectionTypes>
,Constable
The treeview component selection types
- Since:
- 4.0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIf the user selects a node that has child nodes, every child node will also be selected.If the user selects a node, all of it's parent nodes will also be selected.Single node select. -
Method Summary
Modifier and TypeMethodDescriptionstatic TreeviewSelectionTypes
Returns the enum constant of this class with the specified name.static TreeviewSelectionTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE_NODE_SELECT
Single node select. If the user selects a node, it will be in a selected state, the other nodes' status will not change. -
SELECT_NODE_AND_ANY_CHILD_NODES
If the user selects a node that has child nodes, every child node will also be selected. If the user selects a node with no child nodes, only that node will be selected. -
SELECT_NODE_AND_ANY_PARENT_NODE
If the user selects a node, all of it's parent nodes will also be selected. If the user selects a root node, the other nodes' status will not change
-
-
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
-