Package org.exbin.bined.extended.theme
Enum ExtendedDecorationType
- java.lang.Object
-
- java.lang.Enum<ExtendedDecorationType>
-
- org.exbin.bined.extended.theme.ExtendedDecorationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedDecorationType>
,CodeAreaDecorationType
@ParametersAreNonnullByDefault public enum ExtendedDecorationType extends java.lang.Enum<ExtendedDecorationType> implements CodeAreaDecorationType
Enumeration of decoration types for extended code area.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOX_LINE
HEADER_LINE
ROW_POSITION_LINE
SPLIT_LINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
Returns unique string identifier.static ExtendedDecorationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedDecorationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW_POSITION_LINE
public static final ExtendedDecorationType ROW_POSITION_LINE
-
HEADER_LINE
public static final ExtendedDecorationType HEADER_LINE
-
SPLIT_LINE
public static final ExtendedDecorationType SPLIT_LINE
-
BOX_LINE
public static final ExtendedDecorationType BOX_LINE
-
-
Method Detail
-
values
public static ExtendedDecorationType[] 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 (ExtendedDecorationType c : ExtendedDecorationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtendedDecorationType 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
-
getId
@Nonnull public java.lang.String getId()
Description copied from interface:CodeAreaDecorationType
Returns unique string identifier. Custom implementations should start with full package name to avoid collisions.- Specified by:
getId
in interfaceCodeAreaDecorationType
- Returns:
- unique identification ID key
-
-