|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AbstractSelect.ItemCaptionMode>
com.vaadin.ui.AbstractSelect.ItemCaptionMode
public static enum AbstractSelect.ItemCaptionMode
| Enum Constant Summary | |
|---|---|
EXPLICIT
Item caption mode: Captions must be explicitly specified. |
|
EXPLICIT_DEFAULTS_ID
Item caption mode: If an Item has a caption it's used, if not, Item's ID converted to a String using VaadinSession.getConverterFactory() is used as caption. |
|
ICON_ONLY
Item caption mode: Only icons are shown, captions are hidden. |
|
ID
Item caption mode: Item's ID converted to a String using VaadinSession.getConverterFactory() is used as caption. |
|
ID_TOSTRING
Item caption mode: Item's ID's String representation is
used as caption. |
|
INDEX
Item caption mode: Index of the item is used as caption. |
|
ITEM
Item caption mode: Item's String representation is used
as caption. |
|
PROPERTY
Item caption mode: Item captions are read from property specified with setItemCaptionPropertyId. |
|
| Method Summary | |
|---|---|
static AbstractSelect.ItemCaptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbstractSelect.ItemCaptionMode[] |
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 AbstractSelect.ItemCaptionMode ID
VaadinSession.getConverterFactory() is used as caption.
public static final AbstractSelect.ItemCaptionMode ID_TOSTRING
String representation is
used as caption.
public static final AbstractSelect.ItemCaptionMode ITEM
String representation is used
as caption.
public static final AbstractSelect.ItemCaptionMode INDEX
Container.Indexed interface.
public static final AbstractSelect.ItemCaptionMode EXPLICIT_DEFAULTS_ID
VaadinSession.getConverterFactory() is used as caption.
This is the default.
public static final AbstractSelect.ItemCaptionMode EXPLICIT
public static final AbstractSelect.ItemCaptionMode ICON_ONLY
public static final AbstractSelect.ItemCaptionMode PROPERTY
setItemCaptionPropertyId.
| Method Detail |
|---|
public static AbstractSelect.ItemCaptionMode[] values()
for (AbstractSelect.ItemCaptionMode c : AbstractSelect.ItemCaptionMode.values()) System.out.println(c);
public static AbstractSelect.ItemCaptionMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||