Copyright 2002 by aragost

com.aragost.html
Class Checkbox

java.lang.Object
  |
  +--com.aragost.html.Element
        |
        +--com.aragost.html.HtmlElement
              |
              +--com.aragost.html.InputElement
                    |
                    +--com.aragost.html.Checkbox

public class Checkbox
extends InputElement


Constructor Summary
Checkbox(java.lang.String name, java.lang.String value)
          Creates new Checkbox
 
Method Summary
 java.lang.String getType()
           
 boolean isChecked()
          Getter for property checked.
 void setChecked(boolean checked)
          Setter for property checked.
 void writeAttributes(HtmlWriter writer)
           
 
Methods inherited from class com.aragost.html.InputElement
getName, getTag, getValue, setName, setValue
 
Methods inherited from class com.aragost.html.HtmlElement
getAttribute, getAttributes, getBody, getIntAttribute, postBodyWrite, preBodyWrite, setAlign, setAttribute, setBgcolor, setIntAttribute, setWidth, writeTo
 
Methods inherited from class com.aragost.html.Element
isCellLike, isNowrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checkbox

public Checkbox(java.lang.String name,
                java.lang.String value)
Creates new Checkbox

Method Detail

writeAttributes

public void writeAttributes(HtmlWriter writer)
Overrides:
writeAttributes in class InputElement

getType

public java.lang.String getType()
Specified by:
getType in class InputElement

isChecked

public boolean isChecked()
Getter for property checked.

Returns:
Value of property checked.

setChecked

public void setChecked(boolean checked)
Setter for property checked.

Parameters:
checked - New value of property checked.

Copyright 2002 by aragost