|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<PdfDictionary> org.pdfclown.documents.interaction.forms.Field
@PDF(value=PDF12) public abstract class Field
Interactive form field [PDF:1.6:8.6.2].
Nested Class Summary | |
---|---|
static class |
Field.FlagsEnum
Field flags [PDF:1.6:8.6.2]. |
Constructor Summary | |
---|---|
protected |
Field(PdfDirectObject baseObject)
|
protected |
Field(PdfName fieldType,
String name,
Widget widget)
Creates a new field within the given document context. |
Method Summary | |
---|---|
FieldActions |
getActions()
Gets the field's behavior in response to trigger events. |
protected PdfString |
getDefaultAppearanceState()
|
Object |
getDefaultValue()
Gets the default value to which this field reverts when a reset-form action is
executed. |
EnumSet<Field.FlagsEnum> |
getFlags()
Gets the field flags. |
String |
getFullName()
Gets the fully-qualified field name. |
protected PdfDirectObject |
getInheritableAttribute(PdfName key)
|
String |
getName()
Gets the partial field name. |
Object |
getValue()
Gets the field value. |
FieldWidgets |
getWidgets()
Gets the widget annotations that are associated with this field. |
boolean |
isExportable()
Gets whether the field is exported by a submit-form action. |
boolean |
isReadOnly()
Gets whether the user may not change the value of the field. |
boolean |
isRequired()
Gets whether the field must have a value at the time it is exported by a submit-form action. |
void |
setActions(FieldActions value)
|
void |
setExportable(boolean value)
|
void |
setFlags(EnumSet<Field.FlagsEnum> value)
|
void |
setName(String value)
|
void |
setReadOnly(boolean value)
|
void |
setRequired(boolean value)
|
void |
setValue(Object value)
|
static Field |
wrap(PdfReference reference)
Wraps a field reference into a field object. |
Methods inherited from class org.pdfclown.objects.PdfObjectWrapper |
---|
checkCompatibility, clone, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Field(PdfName fieldType, String name, Widget widget)
protected Field(PdfDirectObject baseObject)
Method Detail |
---|
public static final Field wrap(PdfReference reference)
reference
- Reference to a field object.
public FieldActions getActions()
public Object getDefaultValue()
reset-form action
is
executed.
public EnumSet<Field.FlagsEnum> getFlags()
public String getFullName()
public String getName()
public Object getValue()
public FieldWidgets getWidgets()
public boolean isExportable()
public boolean isReadOnly()
public boolean isRequired()
public void setActions(FieldActions value)
getActions()
public void setExportable(boolean value)
isExportable()
public void setFlags(EnumSet<Field.FlagsEnum> value)
getFlags()
public void setName(String value)
getName()
public void setReadOnly(boolean value)
isReadOnly()
public void setRequired(boolean value)
isRequired()
public void setValue(Object value)
getValue()
protected PdfString getDefaultAppearanceState()
protected PdfDirectObject getInheritableAttribute(PdfName key)
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |