com.spire.doc.fields
Class CheckBoxFormField

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.CheckBoxFormField
All Implemented Interfaces:
IDocumentObject, IDocumentSerializable, IField, IParagraphBase, ITextRange

public class CheckBoxFormField
extends FormField


Constructor Summary
CheckBoxFormField(IDocument doc)
          Initializes a new instance of the class.
 
Method Summary
 int getCheckBoxSize()
          Gets or sets size of checkbox.
 boolean getChecked()
          Gets or sets Checked property.
 boolean getDefaultCheckBoxValue()
          Gets or sets default checkbox value.
 DocumentObjectType getDocumentObjectType()
          Gets the type of the document object.
 CheckBoxSizeType getSizeType()
          Gets or sets check box size type.
 void setCheckBoxSize(int value)
          Gets or sets size of checkbox.
 void setChecked(boolean value)
          Gets or sets Checked property.
 void setDefaultCheckBoxValue(boolean value)
          Gets or sets default checkbox value.
 void setSizeType(CheckBoxSizeType value)
          Gets or sets check box size type.
 
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

CheckBoxFormField

public CheckBoxFormField(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.

getCheckBoxSize

public int getCheckBoxSize()
Gets or sets size of checkbox.


setCheckBoxSize

public void setCheckBoxSize(int value)
Gets or sets size of checkbox.


getDefaultCheckBoxValue

public boolean getDefaultCheckBoxValue()
Gets or sets default checkbox value.


setDefaultCheckBoxValue

public void setDefaultCheckBoxValue(boolean value)
Gets or sets default checkbox value.


getChecked

public boolean getChecked()
Gets or sets Checked property.


setChecked

public void setChecked(boolean value)
Gets or sets Checked property.


getSizeType

public CheckBoxSizeType getSizeType()
Gets or sets check box size type.


setSizeType

public void setSizeType(CheckBoxSizeType value)
Gets or sets check box size type.