java.io.Serializable, java.lang.Comparable<PDOptionalContentProperties.BaseState>public static enum PDOptionalContentProperties.BaseState extends java.lang.Enum<PDOptionalContentProperties.BaseState>
| Enum Constant | Description |
|---|---|
OFF |
The "OFF" value.
|
ON |
The "ON" value.
|
UNCHANGED |
The "Unchanged" value.
|
| Modifier and Type | Method | Description |
|---|---|---|
COSName |
getName() |
Returns the PDF name for the state.
|
static PDOptionalContentProperties.BaseState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PDOptionalContentProperties.BaseState |
valueOf(COSName state) |
Returns the base state represented by the given
COSName. |
static PDOptionalContentProperties.BaseState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDOptionalContentProperties.BaseState ON
public static final PDOptionalContentProperties.BaseState OFF
public static final PDOptionalContentProperties.BaseState UNCHANGED
public static PDOptionalContentProperties.BaseState[] values()
for (PDOptionalContentProperties.BaseState c : PDOptionalContentProperties.BaseState.values()) System.out.println(c);
public static PDOptionalContentProperties.BaseState 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 COSName getName()
public static PDOptionalContentProperties.BaseState valueOf(COSName state)
COSName.state - the state nameCopyright © 2002–2018. All rights reserved.