org.apache.ecs
Class TextArea

java.lang.Object
  |
  +--org.apache.ecs.Element
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.MultiPartElement
                    |
                    +--org.apache.ecs.TextArea

public class TextArea
extends MultiPartElement

This class creates a <TEXTAREA></TEXTAREA> tag.

Version:
$Id: TextArea.java,v 1.1.1.1 1999/04/20 01:18:58 jonbolt Exp $
Author:
Stephan Nagy, Jon S. Stevens

Fields inherited from class org.apache.ecs.MultiPartElement
v_element
 
Fields inherited from class org.apache.ecs.Element
attribute_filter, case_type, codeset, element, end_element, end_modifier, end_modifier_defined, filter, filter_attribute_state, filter_state, NO_ATTRIBUTE_VALUE, start_modifier, start_modifier_defined, VERSION
 
Constructor Summary
TextArea()
          Basic Constructor use set* methods.
TextArea(int rows, int cols)
          Basic Constructor use set* methods.
TextArea(java.lang.String name, int rows, int cols)
          Basic Constructor use set* methods.
TextArea(java.lang.String rows, java.lang.String cols)
          Basic Constructor use set* methods.
TextArea(java.lang.String name, java.lang.String rows, java.lang.String cols)
          Basic Constructor use set* methods.
 
Method Summary
(package private)  void ()
          Private initializer.
 TextArea addElement(Element element)
          Adds an Element to the element.
 TextArea addElement(java.lang.String element)
          Adds an Element to the element.
 TextArea setCols(int cols)
          Sets the COLS="" attribute
 TextArea setCols(java.lang.String cols)
          Sets the COLS="" attribute
 TextArea setDisabled(boolean disabled)
          Sets the disabled value
 TextArea setName(java.lang.String name)
          Sets the NAME="" attribute
 TextArea setReadOnly(boolean readonly)
          Sets the readonly value
 TextArea setRows(int rows)
          Sets the ROWS="" attribute
 TextArea setRows(java.lang.String rows)
          Sets the ROWS="" attribute
 TextArea setTabindex(int index)
          Sets the TABINDEX="" attribute
 TextArea setTabindex(java.lang.String index)
          Sets the TABINDEX="" attribute
 
Methods inherited from class org.apache.ecs.MultiPartElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.Element
addAttribute, alterCase, getAttributeFilterState, getCase, getCodeSet, getElementHashEntry, getEndModifier, getEndModifierDefined, getFilter, getFilterState, getHtmlElementType, getNeedClosingTag, getStartModifier, getStartModifierDefined, getVersion, hasAttribute, removeAttribute, removeEndModifier, removeStartModifier, setAttributeFilter, setAttributeFilterState, setCase, setCodeSet, setEndModifier, setEndModifierDefined, setFilter, setFilterState, setHtmlElementType, setModifier, setModifier, setNeedClosingTag, setStartModifier, setStartModifierDefined, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

TextArea

public TextArea()
Basic Constructor use set* methods.

TextArea

public TextArea(int rows,
                int cols)
Basic Constructor use set* methods.
Parameters:
rows - the ROWS="" attribute
cols - the COLS="" attribute

TextArea

public TextArea(java.lang.String rows,
                java.lang.String cols)
Basic Constructor use set* methods.
Parameters:
rows - the ROWS="" attribute
cols - the COLS="" attribute

TextArea

public TextArea(java.lang.String name,
                int rows,
                int cols)
Basic Constructor use set* methods.
Parameters:
name - the NAME="" attribute
rows - the ROWS="" attribute
cols - the COLS="" attribute

TextArea

public TextArea(java.lang.String name,
                java.lang.String rows,
                java.lang.String cols)
Basic Constructor use set* methods.
Parameters:
name - the NAME="" attribute
rows - the ROWS="" attribute
cols - the COLS="" attribute
Method Detail

void ()
Private initializer.
Overrides:
in class MultiPartElement

setRows

public TextArea setRows(int rows)
Sets the ROWS="" attribute
Parameters:
rows - Sets the ROWS="" attribute

setRows

public TextArea setRows(java.lang.String rows)
Sets the ROWS="" attribute
Parameters:
rows - Sets the ROWS="" attribute

setCols

public TextArea setCols(int cols)
Sets the COLS="" attribute
Parameters:
cols - Sets the COLS="" attribute

setCols

public TextArea setCols(java.lang.String cols)
Sets the COLS="" attribute
Parameters:
cols - Sets the COLS="" attribute

setName

public TextArea setName(java.lang.String name)
Sets the NAME="" attribute
Parameters:
name - Sets the NAME="" attribute

setTabindex

public TextArea setTabindex(java.lang.String index)
Sets the TABINDEX="" attribute
Parameters:
alt - the TABINDEX="" attribute

setTabindex

public TextArea setTabindex(int index)
Sets the TABINDEX="" attribute
Parameters:
alt - the TABINDEX="" attribute

setReadOnly

public TextArea setReadOnly(boolean readonly)
Sets the readonly value
Parameters:
readonly - true or false

setDisabled

public TextArea setDisabled(boolean disabled)
Sets the disabled value
Parameters:
disabled - true or false

addElement

public TextArea addElement(Element element)
Adds an Element to the element.
Parameters:
element - Adds an Element to the element.

addElement

public TextArea addElement(java.lang.String element)
Adds an Element to the element.
Parameters:
element - Adds an Element to the element.