Enum Class KeyboardShortcut.Command

java.lang.Object
java.lang.Enum<KeyboardShortcut.Command>
forgottentowns.mod.api.KeyboardShortcut.Command
All Implemented Interfaces:
Serializable, Comparable<KeyboardShortcut.Command>, Constable
Enclosing class:
KeyboardShortcut

public static enum KeyboardShortcut.Command extends Enum<KeyboardShortcut.Command>
Supported shared interface operations; availability still depends on registered capabilities.
  • Enum Constant Details

    • SETTLEMENT_MAP

      public static final KeyboardShortcut.Command SETTLEMENT_MAP
      Opens or closes the location map supplied by an enabled map provider.
    • COLONY_PANELS

      public static final KeyboardShortcut.Command COLONY_PANELS
      Opens or closes the panels supplied by enabled colony extensions.
  • Method Details

    • values

      public static KeyboardShortcut.Command[] 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 KeyboardShortcut.Command 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