_FileSelect, _Password
_disableUpdateAppearance
Constructor and Description |
---|
CheckboxField()
Create instance of CheckboxField.
|
CheckboxField(IDocument doc)
Constructor to use with Generator.
|
CheckboxField(IDocument doc,
Rectangle rect)
Constructor for CheckboxField class.
|
CheckboxField(Page page,
Rectangle rect)
Constructor for CheckboxField class.
|
Modifier and Type | Method and Description |
---|---|
String |
getActiveState()
Gets current annotation appearance state.
|
List<String> |
getAllowedStates()
Returns list of allowed states.
|
boolean |
getChecked()
Gets state of check box.
|
String |
getNormalCaption()
Gets normal caption of the field.
|
String |
getOnState()
Returns name of state which is "Checked" state of checkbox.
|
int |
getStyle()
Gets style of check box.
|
String |
getValue()
Gets value of check box field.
|
void |
setActiveState(String value)
Sets current annotation appearance state.
|
void |
setChecked(boolean value)
Sets state of check box.
|
void |
setStyle(int value)
Sets style of check box.
|
void |
setValue(String value)
Sets value of check box field.
|
copyTo, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, isFitIntoRectangle, isGroup, isSharedField, isSynchronized, iterator, recalculate, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, size, updateAppearances
accept, getActions, getAnnotationType, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
createAnnotation, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getStates, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
public CheckboxField(Page page, Rectangle rect)
Constructor for CheckboxField class.
page
- Page where check box will be placed.rect
- Position and size of the check box.public CheckboxField(IDocument doc, Rectangle rect)
Constructor for CheckboxField class.
doc
- Document where will be new field created.rect
- Rectangle where new field will be created.public CheckboxField()
Create instance of CheckboxField.
public CheckboxField(IDocument doc)
Constructor to use with Generator.
doc
- Document where field will be created.public List<String> getAllowedStates()
Returns list of allowed states.
public String getOnState()
Returns name of state which is "Checked" state of checkbox. This is "Yes" if presents or any other value other then "Off" and "No";
public int getStyle()
Gets style of check box.
BoxStyle
public void setStyle(int value)
Sets style of check box.
value
- BoxStyle of check box.BoxStyle
public String getActiveState()
Gets current annotation appearance state.
getActiveState
in class Annotation
public void setActiveState(String value)
Sets current annotation appearance state.
setActiveState
in class Annotation
value
- String valuepublic boolean getChecked()
Gets state of check box.
public void setChecked(boolean value)
Sets state of check box.
value
- boolean valuepublic String getNormalCaption()
Gets normal caption of the field.
public String getValue()
Gets value of check box field.
Copyright © 2016 Aspose. All Rights Reserved.