org.xhtmlrenderer.simple.xhtml.controls
Class CheckControl

java.lang.Object
  extended by org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
      extended by org.xhtmlrenderer.simple.xhtml.controls.CheckControl
All Implemented Interfaces:
FormControl

public class CheckControl
extends AbstractControl


Constructor Summary
CheckControl(XhtmlForm form, Element e)
           
 
Method Summary
 boolean isRadio()
           
 void reset()
          Reset the control to it's initial state
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckControl

public CheckControl(XhtmlForm form,
                    Element e)
Method Detail

setSuccessful

public void setSuccessful(boolean successful)
Description copied from interface: FormControl
Sets this control's successful state.

Specified by:
setSuccessful in interface FormControl
Overrides:
setSuccessful in class AbstractControl

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 interface FormControl
Overrides:
reset in class AbstractControl


Copyright © 2013. All Rights Reserved.