COSObjectable
public class PDPrintFieldAttributeObject extends PDStandardAttributeObject
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CHECKED_STATE_NEUTRAL |
checked state: neutral
|
static java.lang.String |
CHECKED_STATE_OFF |
checked state: off
|
static java.lang.String |
CHECKED_STATE_ON |
checked state: on
|
static java.lang.String |
OWNER_PRINT_FIELD |
standard attribute owner: PrintField
|
static java.lang.String |
ROLE_CB |
role: cb: Check box
|
static java.lang.String |
ROLE_PB |
role: pb: Push button
|
static java.lang.String |
ROLE_RB |
role: rb: Radio button
|
static java.lang.String |
ROLE_TV |
role: tv: Text-value field
|
UNSPECIFIED
Constructor | Description |
---|---|
PDPrintFieldAttributeObject() |
Default constructor.
|
PDPrintFieldAttributeObject(COSDictionary dictionary) |
Creates a new PrintField attribute object with a given dictionary.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAlternateName() |
Gets the alternate name of the field (Desc).
|
java.lang.String |
getCheckedState() |
Gets the checked state.
|
java.lang.String |
getRole() |
Gets the role.
|
void |
setAlternateName(java.lang.String alternateName) |
Sets the alternate name of the field (Desc).
|
void |
setCheckedState(java.lang.String checkedState) |
Sets the checked state.
|
void |
setRole(java.lang.String role) |
Sets the role.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
arrayToString, arrayToString, create, getOwner, isEmpty, notifyChanged, potentiallyNotifyChanged, setOwner, setStructureElement
equals, getCOSDictionary, getCOSObject, hashCode
getArrayOfString, getColor, getColorOrFourColors, getInteger, getName, getName, getNameOrArrayOfName, getNumber, getNumber, getNumberOrArrayOfNumber, getNumberOrName, getString, isSpecified, setArrayOfName, setArrayOfNumber, setArrayOfString, setColor, setFourColors, setInteger, setName, setNumber, setNumber, setString
public static final java.lang.String OWNER_PRINT_FIELD
public static final java.lang.String ROLE_RB
public static final java.lang.String ROLE_CB
public static final java.lang.String ROLE_PB
public static final java.lang.String ROLE_TV
public static final java.lang.String CHECKED_STATE_ON
public static final java.lang.String CHECKED_STATE_OFF
public static final java.lang.String CHECKED_STATE_NEUTRAL
public PDPrintFieldAttributeObject()
public PDPrintFieldAttributeObject(COSDictionary dictionary)
dictionary
- the dictionarypublic java.lang.String getRole()
public void setRole(java.lang.String role)
role
- the rolepublic java.lang.String getCheckedState()
CHECKED_STATE_OFF
.public void setCheckedState(java.lang.String checkedState)
CHECKED_STATE_ON
,CHECKED_STATE_OFF
(default), orCHECKED_STATE_NEUTRAL
.checkedState
- the checked statepublic java.lang.String getAlternateName()
public void setAlternateName(java.lang.String alternateName)
alternateName
- the alternate name of the fieldpublic java.lang.String toString()
toString
in class PDAttributeObject