Enum Class MultiSelectComboBox.AutoExpandMode

java.lang.Object
java.lang.Enum<MultiSelectComboBox.AutoExpandMode>
com.vaadin.flow.component.combobox.MultiSelectComboBox.AutoExpandMode
All Implemented Interfaces:
Serializable, Comparable<MultiSelectComboBox.AutoExpandMode>, Constable
Enclosing class:
MultiSelectComboBox<TItem>

public static enum MultiSelectComboBox.AutoExpandMode extends Enum<MultiSelectComboBox.AutoExpandMode>
Defines possible behavior of the component when not all selected items can be displayed as chips within the current field width.
  • Enum Constant Details

  • Method Details

    • values

      public static MultiSelectComboBox.AutoExpandMode[] 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 MultiSelectComboBox.AutoExpandMode 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
    • getExpandHorizontally

      public boolean getExpandHorizontally()
      Gets whether to expand horizontally.
      Returns:
      Whether to expand horizontally
    • getExpandVertically

      public boolean getExpandVertically()
      Gets whether to expand vertically.
      Returns:
      Whether to expand vertically