Enum Class ToolButtonConfig

java.lang.Object
java.lang.Enum<ToolButtonConfig>
com.xxrjun.enums.ToolButtonConfig
All Implemented Interfaces:
Serializable, Comparable<ToolButtonConfig>, Constable

public enum ToolButtonConfig extends Enum<ToolButtonConfig>
The enum Tool button config.
  • Enum Constant Details

  • Method Details

    • values

      public static ToolButtonConfig[] 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 ToolButtonConfig 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
    • getActionType

      public UMLMode getActionType()
      Gets action type.
      Returns:
      the action type
    • getToolName

      public String getToolName()
      Gets tool name.
      Returns:
      the tool name
    • getImageName

      public String getImageName()
      Gets image name.
      Returns:
      the image name