Interface SelectItem

All Known Implementing Classes:
DefaultSelectItem

public interface SelectItem
Interface for selectitem contract in selectors.
  • Method Details

    • name

      String name()
      Gets a name.
      Returns:
      a name
    • item

      String item()
      Gets an item
      Returns:
      an item
    • enabled

      boolean enabled()
      Returns if item is enabled.
      Returns:
      if item is enabled
    • selected

      boolean selected()
      Return if the item is selected.
      Returns:
      if item is selected
    • of

      static SelectItem of(String name, String item)
    • of

      static SelectItem of(String name, String item, boolean enabled, boolean selected)