com.spire.pdf.widget
Class PdfFieldWidget

java.lang.Object
  extended by com.spire.pdf.fields.PdfField
      extended by com.spire.pdf.widget.PdfFieldWidget
Direct Known Subclasses:
PdfStyledFieldWidget

public abstract class PdfFieldWidget
extends PdfField

Represents base class for loaded fields.


Constructor Summary
PdfFieldWidget(PdfDictionary dictionary, PdfDocumentBase document)
           
 
Method Summary
 java.lang.String getName()
          Gets the name of the field.
 PdfPageBase getPage()
          Gets the page.
 java.lang.String getToolTip()
          Gets the tool tip.
 void importFieldValue(java.lang.String FieldValue)
           
 void setName(java.lang.String name)
          Sets the name of the field.
 void setReadOnly(boolean value)
          Sets a value indicating whether [read only].
 void setRequired(boolean value)
          Sets a value indicating whether this is required.
 
Methods inherited from class com.spire.pdf.fields.PdfField
getAnnotationFlags, getExport, getFlatten, getForm, getMappingName, getReadOnly, getRequired, setAnnotationFlags, setExport, setFlatten, setToolTip
 

Constructor Detail

PdfFieldWidget

public PdfFieldWidget(PdfDictionary dictionary,
                      PdfDocumentBase document)
Method Detail

getName

public java.lang.String getName()
Gets the name of the field.

Overrides:
getName in class PdfField

getToolTip

public java.lang.String getToolTip()
Gets the tool tip.

Overrides:
getToolTip in class PdfField

getPage

public PdfPageBase getPage()
Gets the page.

Overrides:
getPage in class PdfField

setReadOnly

public void setReadOnly(boolean value)
Sets a value indicating whether [read only].

Overrides:
setReadOnly in class PdfField

setRequired

public void setRequired(boolean value)
Sets a value indicating whether this is required.

Overrides:
setRequired in class PdfField

setName

public void setName(java.lang.String name)
Sets the name of the field.

Parameters:
name - New name of the field.

importFieldValue

public void importFieldValue(java.lang.String FieldValue)