|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.fields.PdfField
com.spire.pdf.fields.PdfStyledField
com.spire.pdf.fields.PdfCheckFieldBase
com.spire.pdf.fields.PdfCheckBoxField
public class PdfCheckBoxField
Represents check box field in the PDF form.
Constructor Summary | |
---|---|
PdfCheckBoxField(PdfPageBase page,
java.lang.String name)
Initializes a new instance of the class. |
Method Summary | |
---|---|
boolean |
getChecked()
Gets or sets a value indicating whether this is checked. |
boolean |
getRequired()
Gets a value indicating whether this is required. |
void |
setChecked(boolean value)
Sets or sets a value indicating whether this is checked. |
void |
setRequired(boolean value)
Sets a value indicating whether this is required. |
Methods inherited from class com.spire.pdf.fields.PdfCheckFieldBase |
---|
getStyle, setStyle |
Methods inherited from class com.spire.pdf.fields.PdfStyledField |
---|
getActions, getBackColor, getBorderStyle, getBorderWidth, getBounds, getForeColor, getLocation, getSize, getTextAlignment, getVisible, setBackColor, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setForeColor, setLocation, setSize, setTextAlignment, setVisible |
Methods inherited from class com.spire.pdf.fields.PdfField |
---|
getExport, getFlatten, getForm, getMappingName, getName, getPage, getReadOnly, getToolTip, setExport, setFlatten, setReadOnly, setToolTip |
Constructor Detail |
---|
public PdfCheckBoxField(PdfPageBase page, java.lang.String name)
page
- The page where the fields should be placed.name
- The name of the check box field.Method Detail |
---|
public boolean getChecked()
public void setChecked(boolean value)
value
- true if checked; otherwise, false.public boolean getRequired()
getRequired
in class PdfField
public void setRequired(boolean value)
setRequired
in class PdfField
value
- Boolean value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |