net.sf.jolene.dom
Class Label

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

public final class Label
extends HTMLElement

A lable in an html document.

Since:
Oct 19, 2003
Author:
Dan Howard

Constructor Summary
Label()
          Default constructor.
 
Method Summary
 Label clone()
          Returns a clone of the label object.
 void setValue(java.lang.String value)
          Sets the value of the label.
 java.lang.String toString()
          Renders the label.
 
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, setName, setReadonly, setRenderable, setStyle, setStyles, setStyles, swapWith
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Label

public Label()
Default constructor.

Method Detail

clone

public Label clone()
Returns a clone of the label object.

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

setValue

public void setValue(java.lang.String value)
Sets the value of the label. Same as setText.

Overrides:
setValue in class HTMLElement
Parameters:
value - text value of the label.

toString

public java.lang.String toString()
Renders the label.

Overrides:
toString in class HTMLElement
Returns:
The label as a html string.