Enum Class Selectable
- All Implemented Interfaces:
- Serializable,- Comparable<Selectable>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionMulti selection possible.Multi selection possible.Only leafs are selectable.Not 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.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanisMulti()booleanisSingle()booleanbooleanbooleanstatic Selectablestatic SelectableReturns the enum constant of this class with the specified name.static Selectable[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
noneNot selectable.
- 
multiMulti selection possible. No other limitations.
- 
singleOnly one item is selectable.
- 
singleOrNoneOnly one of no item is selectable.
- 
multiLeafOnlyOnly leafs are selectable.
- 
singleLeafOnlyOnly one item is selectable and it must be a leaf.
- 
siblingOnly siblings are selectable.
- 
siblingLeafOnlyOnly siblings are selectable and they have to be leafs.
- 
multiCascadeMulti selection possible. When selecting or deselecting an item, the subtree will also be selected or unselected.
 
- 
- 
Field Details- 
NONE- See Also:
 
- 
MULTI- See Also:
 
- 
SINGLE- See Also:
 
- 
SINGLE_OR_NONE- See Also:
 
- 
MULTI_LEAF_ONLY- See Also:
 
- 
SINGLE_LEAF_ONLY- See Also:
 
- 
SIBLING- See Also:
 
- 
SIBLING_LEAF_ONLY- See Also:
 
- 
MULTI_CASCADE- See Also:
 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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.
 
- 
isLeafOnlypublic boolean isLeafOnly()
- 
isSinglepublic boolean isSingle()
- 
isMultipublic boolean isMulti()
- 
isSupportedBySheetpublic boolean isSupportedBySheet()
- 
isSupportedByTreepublic boolean isSupportedByTree()
- 
isSupportedByTreeListboxpublic boolean isSupportedByTreeListbox()
 
-