|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Resource
|
+--com.cete.dynamicpdf.forms.FormField
Represents a PDF form field.
| Constructor Summary | |
FormField(java.lang.String name)
Initializes a new instance of the Form class. |
|
FormField(java.lang.String name,
FormFieldFlags flags)
Initializes a new instance of the Form class. |
|
| Method Summary | |
void |
draw(DocumentWriter writer)
Draws the form field to the given DocumentWriter object. |
protected void |
drawDictionary(DocumentWriter writer)
Draws the form field's dictionary entries to the given DocumentWriter object. |
java.lang.String |
getAlternateName()
Gets the alternate name of the form field. |
protected boolean |
getAnnotation()
Gets a value indicating if the form field is an annotation. |
FormFieldList |
getChildFields()
Gets a collection of child form fields. |
FormFieldFlags |
getFlags()
Gets a collection of child form fields. |
Form |
getForm()
Gets the form containing this form field. |
java.lang.String |
getFullName()
Gets the full name of the form field. |
java.lang.String |
getMappingName()
Gets the mapping name of the form field. |
java.lang.String |
getName()
Gets the name of the form field. |
FormField |
getParent()
Gets the parent form field. |
int |
getRequiredPdfObjects()
Gets the number of PDF objects required by the form field. |
java.lang.String |
getValue()
Gets the value of the form field. |
boolean |
hasChildFields()
Gets a value indicating if there are child form fields. |
boolean |
hasValue()
Gets a value indicating if the form field has a value. |
boolean |
inheritsName()
Gets a value indicating if the form field inherits its name. |
boolean |
inheritsValue()
Gets a value indicating if the form field inherits its value. |
boolean |
isReadOnly()
Gets a value indicating if the form field is read only. |
void |
setAlternateName(java.lang.String alternateName)
Sets the alternate name of the form field. |
protected void |
setAnnotation(boolean isAnnotation)
Sets a value indicating if the form field is an annotation. |
void |
setMappingName(java.lang.String mappingName)
Sets the mapping name of the form field. |
void |
setName(java.lang.String name)
Sets the name of the form field. |
void |
setReadOnly(boolean isReadOnly)
Sets a value indicating if the form field is read only. |
void |
setValue(java.lang.String value)
Sets the value of the form field. |
| Methods inherited from class com.cete.dynamicpdf.Resource |
getUid, newUid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FormField(java.lang.String name)
Form class.
name - Name of the form field.Form
public FormField(java.lang.String name,
FormFieldFlags flags)
Form class.
name - Name of the form field.flags - The flags for the form field.Form| Method Detail |
public int getRequiredPdfObjects()
getRequiredPdfObjects in class Resourceprotected void setAnnotation(boolean isAnnotation)
isAnnotation - A value indicating if the form field is an annotation.protected boolean getAnnotation()
public boolean hasValue()
public void setValue(java.lang.String value)
value - The value of the form field.public java.lang.String getValue()
public boolean inheritsName()
public boolean inheritsValue()
public void setReadOnly(boolean isReadOnly)
isReadOnly - A value indicating if the form field is read only.public boolean isReadOnly()
public FormFieldList getChildFields()
public FormFieldFlags getFlags()
public boolean hasChildFields()
public java.lang.String getFullName()
public void setName(java.lang.String name)
name - The name of the form field.public java.lang.String getName()
public void setAlternateName(java.lang.String alternateName)
alternateName - The alternate name of the form field.public java.lang.String getAlternateName()
public void setMappingName(java.lang.String mappingName)
mappingName - The mapping name of the form field.public java.lang.String getMappingName()
public FormField getParent()
public Form getForm()
public void draw(DocumentWriter writer)
DocumentWriter object.
draw in class Resourcewriter - DocumentWriter object to receive the
form field's output.DocumentWriterprotected void drawDictionary(DocumentWriter writer)
DocumentWriter object.
writer - DocumentWriter object to receive the output.DocumentWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||