public class CPDFCheckboxWidget extends CPDFWidget
Modifier and Type | Class and Description |
---|---|
static class |
CPDFCheckboxWidget.CheckboxStyle |
static class |
CPDFCheckboxWidget.TPDFCheckboxWidgetAttr |
CPDFWidget.BorderStyle, CPDFWidget.CheckStyle, CPDFWidget.WidgetType
CPDFAnnotation.AppearanceType, CPDFAnnotation.BorderEffectIntensity, CPDFAnnotation.CPDFBorderEffectType, CPDFAnnotation.MarkState, CPDFAnnotation.MediaSourceType, CPDFAnnotation.ReviewState, CPDFAnnotation.Type
index
Modifier and Type | Method and Description |
---|---|
void |
applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr) |
CPDFAnnotationUndoAttr |
getAnnotationAttr() |
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, getCheckStyle, getFieldFlag, getFieldName, getFieldType, getFillAlpha, getFillColor, getRect, getWidgetType, isReadOnly, setBorderColor, setBorderStyles, setBorderWidth, setCheckStyle, setFieldFlag, setFieldName, setFieldType, setFillAlpha, setFillColor, setReadOnly, setRect, updateAp, updateAp
addToPage, close, createReplyAnnotation, disableListenAttrChanged, enableListenAttrChanged, equal, equal, getAllReplyAnnotations, getAnnotIndexFromNative, getAnnotPtr, getAppearance, getAppearanceByPixel, getApRotation, getBordEffectIntensity, getBordEffectType, getContent, getCreationDate, getFlags, getMarkedAnnotState, getName, getRecentlyModifyDate, getReviewAnnotState, getRotateRectPoint, getRotation, getSourceRect, getTitle, getType, getVertices, hasAp, isAllowCorrectAnnotationAp, isHidden, isLocked, isValid, moveAnnotIndex, removeAp, removeFromPage, removeFromPageIncludeReplyAnnot, setAllowCorrectAnnotationAp, setAnnotTop, setBordEffectIntensity, setBordEffectType, setContent, setCreationDate, setFlags, setHidden, setLocked, setMarkedAnnotState, setName, setOnAnnotationChangedListener, setRecentlyModifyDate, setReviewAnnotState, setRotation, setSourceRect, setTitle, setVertices, updateApWithBitmap, updateApWithImage
public 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 CPDFWidget
public boolean setColor(int color)
color
- check color value of Checkbox.public int getColor()
public CPDFAnnotationUndoAttr getAnnotationAttr()
getAnnotationAttr
in class CPDFAnnotation
public void applyAnnotationAttr(CPDFAnnotationUndoAttr annotationAttr)
applyAnnotationAttr
in class CPDFAnnotation