Enum Class CommandAction.Group

java.lang.Object
java.lang.Enum<CommandAction.Group>
dev.despical.pixelpainter.command.CommandAction.Group
All Implemented Interfaces:
Serializable, Comparable<CommandAction.Group>, Constable
Enclosing class:
CommandAction

public static enum CommandAction.Group extends Enum<CommandAction.Group>
Help sections, declared in presentation order.
  • Enum Constant Details

    • PAINT

      public static final CommandAction.Group PAINT
      Commands that create, estimate or revert paintings.
    • IMAGES

      public static final CommandAction.Group IMAGES
      Commands that browse source images and history.
    • MANAGE

      public static final CommandAction.Group MANAGE
      Commands that change files or configuration.
    • REFERENCE

      public static final CommandAction.Group REFERENCE
      Reference commands such as help.
  • Method Details

    • values

      public static CommandAction.Group[] 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 CommandAction.Group 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
    • key

      public String key()
      Returns the suffix of the section's heading message.
      Returns:
      lowercase key