Interface EnumColumn<C extends EnumColumn<C>>

All Superinterfaces:
Column<C>, Comparable<C>, Component<C>, Copyable<C>, CustomCssComponent<C>, Serializable
All Known Implementing Classes:
DefaultEnumArrayColumn, DefaultEnumColumn

public interface EnumColumn<C extends EnumColumn<C>> extends Column<C>
  • Method Details

    • option

      default C option(String value, String label)
      Provides an option which can be shown in the column.
      Parameters:
      value - the value of the option
      label - the label of the option
      Returns:
      this
    • option

      default C option(SelectOption... options)
      Provides options which can be shown in the column.
      Parameters:
      options - SelectOptions to be set as options
      Returns:
      this
    • options

      default C options(Collection<SelectOption> optionsToAdd)
      Provides options which can be shown in the column using a collection of SelectOptions.
      Parameters:
      optionsToAdd - A collection of SelectOptions
      Returns:
      this
    • clearOptions

      default C clearOptions()
      Removes all the available options for the column.
      Returns:
      this