com.spire.doc.fields
Class DropDownFormField

java.lang.Object
  extended by com.spire.doc.OwnerHolder
      extended by com.spire.doc.documents.xml.DocumentSerializable
          extended by com.spire.doc.DocumentObject
              extended by com.spire.doc.DocumentBase
                  extended by com.spire.doc.fields.ParagraphBase
                      extended by com.spire.doc.fields.TextRange
                          extended by com.spire.doc.fields.Field
                              extended by com.spire.doc.fields.FormField
                                  extended by com.spire.doc.fields.DropDownFormField
All Implemented Interfaces:
IDocumentObject, IDocumentSerializable, IField, IParagraphBase, ITextRange

public class DropDownFormField
extends FormField


Constructor Summary
DropDownFormField(IDocument doc)
          Initializes a new instance of the class.
 
Method Summary
 DocumentObjectType getDocumentObjectType()
          Gets the type of the document object.
 DropDownCollection getDropDownItems()
          Gets drop down items.
 int getDropDownSelectedIndex()
          Gets or sets selected drop down index.
 void setDropDownSelectedIndex(int value)
          Gets or sets selected drop down index.
 
Methods inherited from class com.spire.doc.fields.FormField
getCalculateOnExit, getEnabled, getFormFieldType, getHelp, getMacroOnEnd, getMacroOnStart, getName, getStatusBarHelp, setCalculateOnExit, setEnabled, setHelp, setMacroOnEnd, setMacroOnStart, setName, setStatusBarHelp
 
Methods inherited from class com.spire.doc.fields.Field
getCode, getEnd, getFieldText, getPattern, getSeparator, getTextFormat, getType, getValue, isLocked, isLocked, setCode, setEnd, setFieldText, setPattern, setTextFormat, setType, update
 
Methods inherited from class com.spire.doc.fields.TextRange
getCharacterFormat, getText, setText
 
Methods inherited from class com.spire.doc.fields.ParagraphBase
applyCharacterFormat, applyStyle, getChildObjects, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision
 
Methods inherited from class com.spire.doc.DocumentObject
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString
 
Methods inherited from class com.spire.doc.OwnerHolder
getDocument
 
Methods inherited from interface com.spire.doc.interfaces.ITextRange
applyCharacterFormat, getCharacterFormat, getText, setText
 
Methods inherited from interface com.spire.doc.interfaces.IParagraphBase
applyStyle, getOwnerParagraph, getStyleName
 
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite
 

Constructor Detail

DropDownFormField

public DropDownFormField(IDocument doc)
Initializes a new instance of the class.

Parameters:
doc -
Method Detail

getDocumentObjectType

public DocumentObjectType getDocumentObjectType()
Gets the type of the document object.

Specified by:
getDocumentObjectType in interface IDocumentObject
Overrides:
getDocumentObjectType in class Field
Returns:
The type of the document object.

getDropDownSelectedIndex

public int getDropDownSelectedIndex()
Gets or sets selected drop down index.


setDropDownSelectedIndex

public void setDropDownSelectedIndex(int value)
Gets or sets selected drop down index.


getDropDownItems

public DropDownCollection getDropDownItems()
Gets drop down items.