All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.abc.templates.HtmlControl | +----com.abc.templates.HtmlCheckbox
Object represent checkbox on html page.
<input type="checkbox" name="Check" value="10" checked visible="0" .....(additional property)>
Control has exactly the same signature as pure html( except visible property). All additional properties will be combined in one string.
Example: <input type="checkbox" name="Check" value="10" onMouseOver="mouseover()"> OnMouseOver is additonal property.
public final void addAdditionalOptions(String s) Allows you to append additional property to chaeck box.
addAdditionalOptions(" onMouseExit=\"mouseexit()\");
public final String getCheckboxValue() Return value of property "Value"
public final String getValue() Return value of "Value" if checkbox is checked and "" if not
public final boolean isChecked() Return true if checkbox is checked and false if not.
public final void setCheckboxValue(String sValue) Set value of "Value"
public final void setChecked(boolean bChecked) Set property "Checked" to true.
public final void setValue(String sValue) if sValue equal "Value" then set checked to true otherwise set it to false.
All Packages Class Hierarchy This Package Previous Next Index