Enum LineEnding
- java.lang.Object
-
- java.lang.Enum<LineEnding>
-
- com.pdftools.toolbox.pdf.annotations.LineEnding
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LineEnding>
public enum LineEnding extends java.lang.Enum<LineEnding>
Specifies the type of line termination for line and poly-line annotations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUTT
CIRCLE
CLOSED_ARROW
CLOSED_ARROW_TAIL
DIAMOND
NONE
OPEN_ARROW
OPEN_ARROW_TAIL
SLASH
SQUARE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineEnding
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LineEnding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LineEnding NONE
-
OPEN_ARROW
public static final LineEnding OPEN_ARROW
-
CLOSED_ARROW
public static final LineEnding CLOSED_ARROW
-
SQUARE
public static final LineEnding SQUARE
-
CIRCLE
public static final LineEnding CIRCLE
-
DIAMOND
public static final LineEnding DIAMOND
-
BUTT
public static final LineEnding BUTT
-
OPEN_ARROW_TAIL
public static final LineEnding OPEN_ARROW_TAIL
-
CLOSED_ARROW_TAIL
public static final LineEnding CLOSED_ARROW_TAIL
-
SLASH
public static final LineEnding SLASH
-
-
Method Detail
-
values
public static LineEnding[] 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 (LineEnding c : LineEnding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineEnding 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
-
-