|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.PageElement
|
+--com.cete.dynamicpdf.pageelements.forms.FormElement
|
+--com.cete.dynamicpdf.pageelements.forms.CheckBox
Represents the check box field of a interactive forms.
A check box toggles between two states, on and off.
NOTE: This page element cannot be used within a table cell, or tranformation group.
Licensing:
This class is a DynamicPDF Generator Enterprise Edition
feature. One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
CheckBox(java.lang.String name,
float x,
float y,
float width,
float height)
Creates a new instance of CheckBox class. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the checkbox to the given PageWriter object. |
java.lang.String |
getExportValue()
Gets the export value. |
float |
getFontSize()
Gets the font size of the field. |
Symbol |
getSymbol()
Gets the type of ‘check’ to appear inside the checkbox. |
boolean |
isDefaultChecked()
Gets the checkbox's default checked state. |
boolean |
isNoExport()
Gets the export state for a field. |
void |
setDefaultChecked(boolean check)
Sets the checkbox's default checked state. |
void |
setExportValue(java.lang.String exportValue)
Sets the export value. |
void |
setFontSize(float fontSize)
Sets the font size for the field. |
void |
setNoExport(boolean value)
Sets the export state for a field. |
void |
setSymbol(Symbol symbol)
Sets the type of ‘check’ to appear inside the checkbox. |
| Methods inherited from class com.cete.dynamicpdf.pageelements.forms.FormElement |
getBackgroundColor, getBorderColor, getBorderStyle, getHeight, getMappingName, getName, getRotate, getTextColor, getToolTip, getWidth, getX, getY, isPrintable, isReadOnly, isVisible, setBackgroundColor, setBorderColor, setBorderStyle, setHeight, setMappingName, setName, setPrintable, setReadOnly, setRotate, setTextColor, setToolTip, setVisible, setWidth, setX, setY |
| Methods inherited from class com.cete.dynamicpdf.PageElement |
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CheckBox(java.lang.String name,
float x,
float y,
float width,
float height)
CheckBox class.
name - Name of a check box.x - X coordinate of a check box.y - Y coordinate of a check box.width - Width of a check box.height - Height of a check box.| Method Detail |
public void setFontSize(float fontSize)
public float getFontSize()
public boolean isDefaultChecked()
public void setDefaultChecked(boolean check)
public java.lang.String getExportValue()
public void setExportValue(java.lang.String exportValue)
public Symbol getSymbol()
public void setSymbol(Symbol symbol)
public boolean isNoExport()
public void setNoExport(boolean value)
If set, the field will not be exported by a submit-form action.
public void draw(PageWriter writer)
PageWriter object.
draw in class PageElementGeneratorException - If Form Field with the same name already exist.writer - PageWriter object to receive the checkbox's output.PageWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||