Package com.xxrjun.enums
Enum Class ToolButtonConfig
- All Implemented Interfaces:
Serializable
,Comparable<ToolButtonConfig>
,Constable
The enum Tool button config.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe Association.The Class.The Composition.The Generalization.The Select.The Use case. -
Method Summary
Modifier and TypeMethodDescriptionGets action type.Gets image name.Gets tool name.static ToolButtonConfig
Returns the enum constant of this class with the specified name.static ToolButtonConfig[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECT
The Select. -
ASSOCIATION
The Association. -
GENERALIZATION
The Generalization. -
COMPOSITION
The Composition. -
CLASS
The Class. -
USE_CASE
The Use case.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getActionType
Gets action type.- Returns:
- the action type
-
getToolName
Gets tool name.- Returns:
- the tool name
-
getImageName
Gets image name.- Returns:
- the image name
-