Enum Class MenuRow.Kind

java.lang.Object
java.lang.Enum<MenuRow.Kind>
limn.backend.spi.MenuRow.Kind
All Implemented Interfaces:
Serializable, Comparable<MenuRow.Kind>, Constable
Enclosing class:
MenuRow

public static enum MenuRow.Kind extends Enum<MenuRow.Kind>
What a row is.

A 1.x minor release may add constants to this enum: a switch over it needs a default branch.

  • Enum Constant Details

    • COMMAND

      public static final MenuRow.Kind COMMAND
      Chosen, it runs an action.
    • CHECK

      public static final MenuRow.Kind CHECK
      Chosen, it flips its check mark.
    • SEPARATOR

      public static final MenuRow.Kind SEPARATOR
      A line between groups; never first, last or beside another.
  • Method Details

    • values

      public static MenuRow.Kind[] 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 MenuRow.Kind 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