Enum Class FAbstractSelect.ItemCaptionMode

java.lang.Object
java.lang.Enum<FAbstractSelect.ItemCaptionMode>
com.vaadin.featurepack.data.ui.FAbstractSelect.ItemCaptionMode
All Implemented Interfaces:
Serializable, Comparable<FAbstractSelect.ItemCaptionMode>, Constable
Enclosing class:
FAbstractSelect

public static enum FAbstractSelect.ItemCaptionMode extends Enum<FAbstractSelect.ItemCaptionMode>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Item caption mode: Captions must be explicitly specified.
    Item caption mode: If an Item has a caption it's used, if not, Item's ID converted to a String using
    invalid reference
    VaadinSession#getConverterFactory()
    is used as caption.
    Item caption mode: Only icons are shown, captions are hidden.
    Item caption mode: Item's ID converted to a String using
    invalid reference
    VaadinSession#getConverterFactory()
    is used as caption.
    Item caption mode: Item's ID's String representation is used as caption.
    Item caption mode: Index of the item is used as caption.
    Item caption mode: Item's String representation is used as caption.
    Item caption mode: Item captions are read from property specified with setItemCaptionPropertyId.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ID

      public static final FAbstractSelect.ItemCaptionMode ID
      Item caption mode: Item's ID converted to a String using
      invalid reference
      VaadinSession#getConverterFactory()
      is used as caption.
    • ID_TOSTRING

      public static final FAbstractSelect.ItemCaptionMode ID_TOSTRING
      Item caption mode: Item's ID's String representation is used as caption.
      Since:
      7.5.6
    • ITEM

      public static final FAbstractSelect.ItemCaptionMode ITEM
      Item caption mode: Item's String representation is used as caption.
    • INDEX

      public static final FAbstractSelect.ItemCaptionMode INDEX
      Item caption mode: Index of the item is used as caption. The index mode can only be used with the containers implementing the Container.Indexed interface.
    • EXPLICIT_DEFAULTS_ID

      public static final FAbstractSelect.ItemCaptionMode 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
      invalid reference
      VaadinSession#getConverterFactory()
      is used as caption. This is the default.
    • EXPLICIT

      public static final FAbstractSelect.ItemCaptionMode EXPLICIT
      Item caption mode: Captions must be explicitly specified.
    • ICON_ONLY

      public static final FAbstractSelect.ItemCaptionMode ICON_ONLY
      Item caption mode: Only icons are shown, captions are hidden.
    • PROPERTY

      public static final FAbstractSelect.ItemCaptionMode PROPERTY
      Item caption mode: Item captions are read from property specified with setItemCaptionPropertyId.
  • Method Details

    • values

      public static FAbstractSelect.ItemCaptionMode[] values()
      Returns 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
    • valueOf

      public static FAbstractSelect.ItemCaptionMode valueOf(String name)
      Returns 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