Package com.vaadin.v7.ui
Enum AbstractSelect.ItemCaptionMode
- java.lang.Object
-
- java.lang.Enum<AbstractSelect.ItemCaptionMode>
-
- com.vaadin.v7.ui.AbstractSelect.ItemCaptionMode
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractSelect.ItemCaptionMode>
- Enclosing class:
- AbstractSelect
@Deprecated public static enum AbstractSelect.ItemCaptionMode extends Enum<AbstractSelect.ItemCaptionMode>
Deprecated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLICITDeprecated.Item caption mode: Captions must be explicitly specified.EXPLICIT_DEFAULTS_IDDeprecated.Item caption mode: If an Item has a caption it's used, if not, Item's ID converted to a String usingVaadinSession.getConverterFactory()is used as caption.ICON_ONLYDeprecated.Item caption mode: Only icons are shown, captions are hidden.IDDeprecated.Item caption mode: Item's ID converted to a String usingVaadinSession.getConverterFactory()is used as caption.ID_TOSTRINGDeprecated.Item caption mode: Item's ID'sStringrepresentation is used as caption.INDEXDeprecated.Item caption mode: Index of the item is used as caption.ITEMDeprecated.Item caption mode: Item'sStringrepresentation is used as caption.PROPERTYDeprecated.Item caption mode: Item captions are read from property specified withsetItemCaptionPropertyId.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AbstractSelect.ItemCaptionModevalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static AbstractSelect.ItemCaptionMode[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final AbstractSelect.ItemCaptionMode ID
Deprecated.Item caption mode: Item's ID converted to a String usingVaadinSession.getConverterFactory()is used as caption.
-
ID_TOSTRING
public static final AbstractSelect.ItemCaptionMode ID_TOSTRING
Deprecated.Item caption mode: Item's ID'sStringrepresentation is used as caption.- Since:
- 7.5.6
-
ITEM
public static final AbstractSelect.ItemCaptionMode ITEM
Deprecated.Item caption mode: Item'sStringrepresentation is used as caption.
-
INDEX
public static final AbstractSelect.ItemCaptionMode INDEX
Deprecated.Item caption mode: Index of the item is used as caption. The index mode can only be used with the containers implementing theContainer.Indexedinterface.
-
EXPLICIT_DEFAULTS_ID
public static final AbstractSelect.ItemCaptionMode EXPLICIT_DEFAULTS_ID
Deprecated.Item caption mode: If an Item has a caption it's used, if not, Item's ID converted to a String usingVaadinSession.getConverterFactory()is used as caption. This is the default.
-
EXPLICIT
public static final AbstractSelect.ItemCaptionMode EXPLICIT
Deprecated.Item caption mode: Captions must be explicitly specified.
-
ICON_ONLY
public static final AbstractSelect.ItemCaptionMode ICON_ONLY
Deprecated.Item caption mode: Only icons are shown, captions are hidden.
-
PROPERTY
public static final AbstractSelect.ItemCaptionMode PROPERTY
Deprecated.Item caption mode: Item captions are read from property specified withsetItemCaptionPropertyId.
-
-
Method Detail
-
values
public static AbstractSelect.ItemCaptionMode[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractSelect.ItemCaptionMode c : AbstractSelect.ItemCaptionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSelect.ItemCaptionMode valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-