COSObjectablepublic class PDCheckbox extends PDChoiceButton
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED| Constructor | Description |
|---|---|
PDCheckbox(PDAcroForm theAcroForm,
COSDictionary field) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
check() |
Checks the radiobutton.
|
java.lang.String |
getOffValue() |
This will get the value of the radio button.
|
java.lang.String |
getOnValue() |
This will get the value of the radio button.
|
java.lang.String |
getValue() |
getValue gets the fields value to as a string.
|
boolean |
isChecked() |
This will tell if this radio button is currently checked or not.
|
void |
setValue(java.lang.String newValue) |
setValue sets the fields value to a given string.
|
void |
unCheck() |
Unchecks the radiobutton.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOptions, setOptionsfindFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toStringpublic PDCheckbox(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm - The acroForm for this field.field - The checkbox field dictionaryPDField(PDAcroForm,COSDictionary)public boolean isChecked()
public void check()
public void unCheck()
public void setValue(java.lang.String newValue)
public java.lang.String getOffValue()
public java.lang.String getOnValue()