Package org.exbin.bined.operation.swing
Enum CodeAreaOperationType
- java.lang.Object
-
- java.lang.Enum<CodeAreaOperationType>
-
- org.exbin.bined.operation.swing.CodeAreaOperationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CodeAreaOperationType>
public enum CodeAreaOperationType extends java.lang.Enum<CodeAreaOperationType>
Operation type enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EDIT_DATA
Edit data operation.INSERT_DATA
Insert data operation.MODIFY_DATA
Modify data operation.MOVE_DATA
Move data operation.REMOVE_DATA
Remove data operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCaption()
static CodeAreaOperationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodeAreaOperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT_DATA
public static final CodeAreaOperationType INSERT_DATA
Insert data operation.
-
REMOVE_DATA
public static final CodeAreaOperationType REMOVE_DATA
Remove data operation.
-
MODIFY_DATA
public static final CodeAreaOperationType MODIFY_DATA
Modify data operation.
-
MOVE_DATA
public static final CodeAreaOperationType MOVE_DATA
Move data operation.
-
EDIT_DATA
public static final CodeAreaOperationType EDIT_DATA
Edit data operation.
-
-
Method Detail
-
values
public static CodeAreaOperationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CodeAreaOperationType c : CodeAreaOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodeAreaOperationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCaption
@Nullable public java.lang.String getCaption()
-
-