net.sf.jolene.dom
Class Radio

java.lang.Object
  extended by net.sf.jolene.dom.HTMLElement
      extended by net.sf.jolene.dom.Radio
All Implemented Interfaces:
java.lang.Cloneable, IAttributes, ICollection, IStyles

public final class Radio
extends HTMLElement

A radio button in an html document.

Since:
Oct 13, 2005 8:25:11 PM
Author:
Dan Howard

Constructor Summary
Radio()
          Default constructor.
Radio(java.lang.String name)
          Construct a radio button with the specified name.
 
Method Summary
 Radio clone()
          Returns a clone of the radio button object.
 void setName(java.lang.String name)
          Set the name of the radio button.
 void setValue(java.lang.String value)
          Set the value of the radio button.
 
Methods inherited from class net.sf.jolene.dom.HTMLElement
clear, getAfterText, getAttribute, getBeforeText, getContent, getName, getStyle, getTag, getValue, hasAttribute, hasStyle, isChecked, isDisabled, isReadonly, isRenderable, keySet, removeAttribute, removeStyle, resetStyles, resetStyles, setAfterText, setAttribute, setBeforeText, setChecked, setContent, setDisabled, setReadonly, setRenderable, setStyle, setStyles, setStyles, swapWith, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Radio

public Radio()
Default constructor.


Radio

public Radio(java.lang.String name)
Construct a radio button with the specified name.

Parameters:
name - name of the radio button.
Method Detail

clone

public Radio clone()
Returns a clone of the radio button object.

Overrides:
clone in class HTMLElement
Returns:
Radio object.
See Also:
DocumentFactory

setName

public void setName(java.lang.String name)
Set the name of the radio button.

Overrides:
setName in class HTMLElement
Parameters:
name - name of the radio button.

setValue

public void setValue(java.lang.String value)
Set the value of the radio button.

Overrides:
setValue in class HTMLElement
Parameters:
value - name of the radio button.