public static enum CLineSeparator.CPDFLineType extends java.lang.Enum<CLineSeparator.CPDFLineType>
CLineSeparator.
Each enum value maps to an integer value expected by the native layer.
| Enum Constant and Description |
|---|
DASHED
Dashed line.
|
DOTTED
Dotted line.
|
SOLID
Solid line.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the integer value of this line type.
|
static CLineSeparator.CPDFLineType |
toEnum(int id)
Convert an integer id to a
CLineSeparator.CPDFLineType. |
static CLineSeparator.CPDFLineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CLineSeparator.CPDFLineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLineSeparator.CPDFLineType SOLID
public static final CLineSeparator.CPDFLineType DASHED
public static final CLineSeparator.CPDFLineType DOTTED
public static CLineSeparator.CPDFLineType[] values()
for (CLineSeparator.CPDFLineType c : CLineSeparator.CPDFLineType.values()) System.out.println(c);
public static CLineSeparator.CPDFLineType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CLineSeparator.CPDFLineType toEnum(int id)
CLineSeparator.CPDFLineType.
If the id is not recognized, SOLID is returned by default.id - Integer id.CLineSeparator.CPDFLineType, or SOLID if unknown.public int getValue()