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