com.aspose.pdf.elements
Class FormField

java.lang.Object
  extended by com.aspose.pdf.elements.PdfElementBase
      extended by com.aspose.pdf.elements.Paragraph
          extended by com.aspose.pdf.elements.FormField
All Implemented Interfaces:
java.lang.Cloneable

public class FormField
extends Paragraph

Represents an formfield Paragraph in the Pdf document.


Constructor Summary
FormField(Section sec)
           
 
Method Summary
 Color getBackgroundColor()
           
 java.lang.String[] getChoiceOptions()
           
 int[] getChoiceSelections()
           
 java.lang.String getFieldName()
           
 java.lang.String getFieldValue()
           
 FormFieldType getFormFieldType()
           
 float getFormHeight()
           
 float getFormWidth()
           
 int getTopIndex()
           
 boolean isBordered()
           
 boolean isCheckBoxIsChecked()
           
 boolean isMultiSelect()
           
 boolean isReadonly()
           
 void setBackgroundColor(Color backgroundColor)
           
 void setBordered(boolean isBordered)
           
 void setCheckBoxIsChecked(boolean checkBoxIsChecked)
           
 void setChoiceOptions(java.lang.String[] choiceOptions)
           
 void setChoiceSelections(int[] choiceSelections)
           
 void setFieldName(java.lang.String fieldName)
           
 void setFieldValue(java.lang.String fieldValue)
           
 void setFormFieldType(FormFieldType formFieldType)
           
 void setFormHeight(float formHeight)
           
 void setFormWidth(float formWidth)
           
 void setMultiSelect(boolean isMultiSelect)
           
 void setReadonly(boolean isReadonly)
           
 void setTopIndex(int topIndex)
           
 
Methods inherited from class com.aspose.pdf.elements.Paragraph
clone, getDOMElement, getLeft, getMargin, getTop, isDisabled, isFirstParagraph, isKeptTogether, isOnOddPage, setDisabled, setFirstParagraph, setKeptTogether, setLeft, setMargin, setOnOddPage, setTop
 
Methods inherited from class com.aspose.pdf.elements.PdfElementBase
getElementFactory, getID, getNameIndex, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormField

public FormField(Section sec)
Method Detail

getChoiceOptions

public java.lang.String[] getChoiceOptions()

setChoiceOptions

public void setChoiceOptions(java.lang.String[] choiceOptions)

getFieldName

public java.lang.String getFieldName()

setFieldName

public void setFieldName(java.lang.String fieldName)

getFieldValue

public java.lang.String getFieldValue()

setFieldValue

public void setFieldValue(java.lang.String fieldValue)

getFormHeight

public float getFormHeight()

setFormHeight

public void setFormHeight(float formHeight)

getFormWidth

public float getFormWidth()

setFormWidth

public void setFormWidth(float formWidth)

getFormFieldType

public FormFieldType getFormFieldType()

setFormFieldType

public void setFormFieldType(FormFieldType formFieldType)

isReadonly

public boolean isReadonly()

setReadonly

public void setReadonly(boolean isReadonly)

getTopIndex

public int getTopIndex()

setTopIndex

public void setTopIndex(int topIndex)

isCheckBoxIsChecked

public boolean isCheckBoxIsChecked()

setCheckBoxIsChecked

public void setCheckBoxIsChecked(boolean checkBoxIsChecked)

isBordered

public boolean isBordered()

setBordered

public void setBordered(boolean isBordered)

getBackgroundColor

public Color getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(Color backgroundColor)

isMultiSelect

public boolean isMultiSelect()

setMultiSelect

public void setMultiSelect(boolean isMultiSelect)

getChoiceSelections

public int[] getChoiceSelections()

setChoiceSelections

public void setChoiceSelections(int[] choiceSelections)