public class CPDFCheckboxWidget extends CPDFWidget
| Modifier and Type | Class and Description |
|---|---|
static class |
CPDFCheckboxWidget.CheckboxStyle |
CPDFWidget.BorderStyle, CPDFWidget.CheckStyle, CPDFWidget.WidgetTypeCPDFAnnotation.AppearanceType, CPDFAnnotation.TypeannotPtr, apRotation, pdfPage| Modifier and Type | Method and Description |
|---|---|
CPDFCheckboxWidget.CheckboxStyle |
getCheckBoxStyle()
Gets the border style of CheckBox.
|
int |
getColor()
Gets check color of Checkbox.
|
boolean |
isChecked()
Gets the state of CheckBox, true means selected, false otherwise.
|
boolean |
resetForm()
Resets forms.
|
boolean |
setCheckBoxStyle(CPDFCheckboxWidget.CheckboxStyle checkboxStyle)
Sets the border style of CheckBox.
|
boolean |
setChecked(boolean isChecked)
Sets the state of CheckBox, true means selected, false otherwise.
|
boolean |
setColor(int color)
Sets check color of Checkbox.
|
clearBorderColor, clearFillColor, getBorderColor, getBorderStyles, getBorderWidth, getCheckColor, getCheckStyle, getFieldFlag, getFieldName, getFieldType, getFillAlpha, getFillColor, getRect, getWidgetType, isReadOnly, setBorderColor, setBorderStyles, setBorderWidth, setCheckColor, setCheckStyle, setFieldFlag, setFieldName, setFieldType, setFillAlpha, setFillColor, setReadOnly, setRect, updateAp, updateApaddToPage, clearFilledRGBColor, clearFilledTransparency, close, getAppearanceByPixel, getApRotation, getBgRGBColor, getBorderRGBColor, getBorderStyle, getContent, getCreationDate, getFilledRGBColor, getFilledTransparency, getFlags, getName, getOverLayText, getRecentlyModifyDate, getRGBColor, getTitle, getTransparency, getType, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isValid, removeAp, removeFromPage, setAllowCorrectAnnotationAp, setBgRGBColor, setBorderRGBColor, setBorderStyle, setContent, setCreationDate, setFilledRGBColor, setFilledTransparency, setFlags, setHidden, setLocked, setName, setOverLayText, setRecentlyModifyDate, setRGBColor, setTitle, setTransparency, updateApWithBitmap, updateApWithImagepublic boolean setChecked(boolean isChecked)
isChecked - State of CheckBox.public boolean isChecked()
public boolean setCheckBoxStyle(CPDFCheckboxWidget.CheckboxStyle checkboxStyle)
checkboxStyle - Border style of CheckBox.public CPDFCheckboxWidget.CheckboxStyle getCheckBoxStyle()
public boolean resetForm()
resetForm in class CPDFWidgetpublic boolean setColor(int color)
color - check color value of Checkbox.public int getColor()