org.apache.ecs
Class Select

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

public class Select
extends MultiPartElement

This class creates a <SELECT> tag.

Version:
$Id: Select.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
Select()
          Basic constructor.
Select(java.lang.String name)
          Basic Constructor.
Select(java.lang.String name, int size)
          Basic Constructor.
Select(java.lang.String name, java.lang.String size)
          Basic Constructor.
 
Method Summary
(package private)  void ()
          Private initializer
 Select addElement(Element element)
          Adds an Element to the Element.
 Select addElement(java.lang.String element)
          Adds an Element to the Element.
 Select setDisabled(boolean disabled)
          Sets the disabled value
 Select setMultiple(boolean multiple)
          Sets the multiple value
 Select setName(java.lang.String name)
          Sets the NAME="" attribute
 Select setSize(int size)
          Sets the SIZE="" attribute
 Select setSize(java.lang.String size)
          Sets the SIZE="" attribute
 Select setTabindex(int index)
          Sets the TABINDEX="" attribute
 Select 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

Select

public Select()
Basic constructor. Use the set* methods.

Select

public Select(java.lang.String name)
Basic Constructor.
Parameters:
name - set the NAME="" attribute

Select

public Select(java.lang.String name,
              java.lang.String size)
Basic Constructor.
Parameters:
name - set the NAME="" attribute
name - set the SIZE="" attribute

Select

public Select(java.lang.String name,
              int size)
Basic Constructor.
Parameters:
name - set the NAME="" attribute
name - set the SIZE="" attribute
Method Detail

void ()
Private initializer
Overrides:
in class MultiPartElement

addElement

public Select addElement(Element element)
Adds an Element to the Element.
Parameters:
element - adds and Element to the Element.

addElement

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

setName

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

setSize

public Select setSize(java.lang.String size)
Sets the SIZE="" attribute
Parameters:
size - the SIZE="" attribute

setSize

public Select setSize(int size)
Sets the SIZE="" attribute
Parameters:
size - the SIZE="" attribute

setMultiple

public Select setMultiple(boolean multiple)
Sets the multiple value
Parameters:
multiple - true or false

setTabindex

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

setTabindex

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

setDisabled

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