Class CheckControl
java.lang.Object
com.openhtmltopdf.simple.xhtml.controls.AbstractControl
com.openhtmltopdf.simple.xhtml.controls.CheckControl
- All Implemented Interfaces:
FormControl
public class CheckControl extends AbstractControl
-
Constructor Summary
Constructors Constructor Description CheckControl(XhtmlForm form, Element e) -
Method Summary
Modifier and Type Method Description booleanisRadio()voidreset()Reset the control to it's initial statevoidsetSuccessful(boolean successful)Sets this control's successful state.Methods inherited from class com.openhtmltopdf.simple.xhtml.controls.AbstractControl
addFormControlListener, collectText, fireChanged, fireEnabled, fireSuccessful, getElement, getForm, getInitialValue, getIntAttribute, getMultipleValues, getName, getValue, isEnabled, isHidden, isMultiple, isSuccessful, removeFormControlListener, setEnabled, setInitialValue, setMultipleValues, setValue
-
Constructor Details
-
Method Details
-
setSuccessful
public void setSuccessful(boolean successful)Description copied from interface:FormControlSets this control's successful state.- Specified by:
setSuccessfulin interfaceFormControl- Overrides:
setSuccessfulin classAbstractControl
-
isRadio
public boolean isRadio() -
reset
public void reset()Description copied from interface:FormControlReset the control to it's initial state- Specified by:
resetin interfaceFormControl- Overrides:
resetin classAbstractControl
-