Package com.inet.pdfc.generator.message
Enum HighlightData.Highlight.Appearance
- java.lang.Object
-
- java.lang.Enum<HighlightData.Highlight.Appearance>
-
- com.inet.pdfc.generator.message.HighlightData.Highlight.Appearance
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HighlightData.Highlight.Appearance>
- Enclosing class:
- HighlightData.Highlight
public static enum HighlightData.Highlight.Appearance extends java.lang.Enum<HighlightData.Highlight.Appearance>
Appearances of a highlight.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOM
FILLED_RECTANGLE
RECTANGLE
STRIKEOUT
UNDERLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HighlightData.Highlight.Appearance
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HighlightData.Highlight.Appearance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECTANGLE
public static final HighlightData.Highlight.Appearance RECTANGLE
-
FILLED_RECTANGLE
public static final HighlightData.Highlight.Appearance FILLED_RECTANGLE
-
STRIKEOUT
public static final HighlightData.Highlight.Appearance STRIKEOUT
-
UNDERLINE
public static final HighlightData.Highlight.Appearance UNDERLINE
-
CUSTOM
public static final HighlightData.Highlight.Appearance CUSTOM
-
-
Method Detail
-
values
public static HighlightData.Highlight.Appearance[] 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 (HighlightData.Highlight.Appearance c : HighlightData.Highlight.Appearance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HighlightData.Highlight.Appearance 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
-
-