Enum Constant Summary
Enum Constants
Multi selection possible.
Multi selection possible.
Only leafs are selectable.
Only siblings are selectable.
Only siblings are selectable and they have to be leafs.
Only one item is selectable.
Only one item is selectable and it must be a leaf.
Only one of no item is selectable.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
boolean
boolean
boolean
boolean
boolean
boolean
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
multi
Multi selection possible. No other limitations.
single
Only one item is selectable.
singleOrNone
Only one of no item is selectable.
multiLeafOnly
Only leafs are selectable.
singleLeafOnly
Only one item is selectable and it must be a leaf.
sibling
Only siblings are selectable.
siblingLeafOnly
Only siblings are selectable and they have to be leafs.
multiCascade
Multi selection possible. When selecting or deselecting an item, the subtree will also
be selected or unselected.
Field Details
NONE
public static final String NONE
See Also:
MULTI
public static final String MULTI
See Also:
SINGLE
public static final String SINGLE
See Also:
SINGLE_OR_NONE
public static final String SINGLE_OR_NONE
See Also:
MULTI_LEAF_ONLY
public static final String MULTI_LEAF_ONLY
See Also:
SINGLE_LEAF_ONLY
public static final String SINGLE_LEAF_ONLY
See Also:
SIBLING
public static final String SIBLING
See Also:
SIBLING_LEAF_ONLY
public static final String SIBLING_LEAF_ONLY
See Also:
MULTI_CASCADE
public static final String MULTI_CASCADE
See Also:
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 name
NullPointerException
- if the argument is null
parse
Parameters:
name
- Name of the Selectable
Returns:
The matching tree selection (can't be null).
Throws:
IllegalArgumentException
- When the name doesn't match any Selectable.
isLeafOnly
public boolean isLeafOnly ()
isSingle
public boolean isSingle ()
isMulti
public boolean isMulti ()
isSupportedBySheet
public boolean isSupportedBySheet ()
isSupportedByTree
public boolean isSupportedByTree ()
isSupportedByTreeListbox
public boolean isSupportedByTreeListbox ()