|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Selectable>
org.apache.myfaces.tobago.model.Selectable
public enum Selectable
Enum Constant Summary | |
---|---|
MULTI
Multi selection possible. |
|
MULTI_CASCADE
Multi selection possible. |
|
MULTI_LEAF_ONLY
Only leafs are selectable. |
|
NONE
Not selectable. |
|
SIBLING
Only siblings are selectable. |
|
SIBLING_LEAF_ONLY
Only siblings are selectable and they have to be leafs. |
|
SINGLE
Only one item is selectable. |
|
SINGLE_LEAF_ONLY
Only one item is selectable and it must be a leaf. |
|
SINGLE_OR_NONE
Only one of no item is selectable. |
Method Summary | |
---|---|
String |
getValue()
|
boolean |
isLeafOnly()
|
boolean |
isSingle()
|
boolean |
isSupportedBySheet()
|
boolean |
isSupportedByTree()
|
boolean |
isSupportedByTreeListbox()
|
static Selectable |
parse(Object name)
|
static Selectable |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Selectable[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Selectable NONE
public static final Selectable MULTI
public static final Selectable SINGLE
public static final Selectable SINGLE_OR_NONE
public static final Selectable MULTI_LEAF_ONLY
public static final Selectable SINGLE_LEAF_ONLY
public static final Selectable SIBLING
public static final Selectable SIBLING_LEAF_ONLY
public static final Selectable MULTI_CASCADE
Method Detail |
---|
public static Selectable[] values()
for (Selectable c : Selectable.values()) System.out.println(c);
public static Selectable valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
public static Selectable parse(Object name) throws IllegalArgumentException
name
- Name of the TreeSelectable
IllegalArgumentException
- When the name doesn't match any TreeSelectable.public boolean isLeafOnly()
public boolean isSingle()
public boolean isSupportedBySheet()
public boolean isSupportedByTree()
public boolean isSupportedByTreeListbox()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |