|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SelectItems.Strategy>
org.jboss.seam.annotations.selectitems.SelectItems.Strategy
public static enum SelectItems.Strategy
The available value strategies. Defaults to INDEX.
Enum Constant Summary | |
---|---|
INDEX
The INDEX strategy indicates that the rendered JSF value should be the index of the original list item. |
|
OBJECT
The OBJECT strategy indicates that the rendered JSF value should be the actual original item object. |
|
STRING
The STRING strategy indicates that the rendered JSF value should be the toString() value of the original item. |
Method Summary | |
---|---|
static SelectItems.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SelectItems.Strategy[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 SelectItems.Strategy INDEX
public static final SelectItems.Strategy STRING
public static final SelectItems.Strategy OBJECT
Method Detail |
---|
public static final SelectItems.Strategy[] values()
for(SelectItems.Strategy c : SelectItems.Strategy.values()) System.out.println(c);
public static SelectItems.Strategy 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |