Class CheckControl
java.lang.Object
org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
org.xhtmlrenderer.simple.xhtml.controls.CheckControl
- All Implemented Interfaces:
FormControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isRadio()
void
reset()
Reset the control to it's initial statefinal void
setSuccessful
(boolean successful) Sets this control's successful state.Methods inherited from class org.xhtmlrenderer.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
-
Field Details
-
_initialValue
private final boolean _initialValue -
_radio
private final boolean _radio
-
-
Constructor Details
-
CheckControl
-
-
Method Details
-
setSuccessful
public final void setSuccessful(boolean successful) Description copied from interface:FormControl
Sets this control's successful state.- Specified by:
setSuccessful
in interfaceFormControl
- Overrides:
setSuccessful
in classAbstractControl
-
isRadio
public boolean isRadio() -
reset
public void reset()Description copied from interface:FormControl
Reset the control to it's initial state- Specified by:
reset
in interfaceFormControl
- Overrides:
reset
in classAbstractControl
-