org.apache.ecs
Class Table

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

public class Table
extends MultiPartElement

This class creates a <TABLE> object.

Version:
$Id: Table.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
Table()
           
 
Method Summary
(package private)  void ()
          Private iniitialization routine
 Table addElement(Element element)
          Adds an Element to the element.
 Table addElement(java.lang.String element)
          Adds an Element to the element.
 Table setAlign(java.lang.String align)
          Deprecated.  
 Table setBorder(int border)
          Sets the BORDER="" attribute.
 Table setCellPadding(int cellpadding)
          Sets the CELLPADING="" attribute.
 Table setCellSpacing(int spacing)
          Sets the CELLSPACING="" attribute.
 Table setCols(int cols)
          Deprecated.  
 Table setFrame(java.lang.String frame)
          Sets the FRAME="" attribute.
 Table setHeight(java.lang.String height)
          Deprecated.  
 Table setRules(java.lang.String rules)
          Sets the RULES="" attribute.
 Table setSummary(java.lang.String summary)
          Set the SUMMARY="" attribue.
 Table setWidth(java.lang.String width)
          Deprecated.  
 
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

Table

public Table()
Method Detail

void ()
Private iniitialization routine
Overrides:
in class MultiPartElement

setSummary

public Table setSummary(java.lang.String summary)
Set the SUMMARY="" attribue.
Parameters:
summary - sets the SUMMARY="" attribute.

setAlign

public Table setAlign(java.lang.String align)
Deprecated.  
Sets the ALIGN="" attribute.
Parameters:
align - sets the ALIGN="" attribute. You can use the AlignType.* variables for convience.

setWidth

public Table setWidth(java.lang.String width)
Deprecated.  
Sets the WIDTH="" attribute.
Parameters:
width - sets the WIDTH="" attribute.

setHeight

public Table setHeight(java.lang.String height)
Deprecated.  
Sets the HEIGHT="" attribute.
Parameters:
width - sets the HEIGHT="" attribute.

setCols

public Table setCols(int cols)
Deprecated.  
Sets the COLS="" attribute.
Parameters:
width - sets the COLS="" attribute.

setCellPadding

public Table setCellPadding(int cellpadding)
Sets the CELLPADING="" attribute.
Parameters:
cellpadding - sets the CELLPADING="" attribute.

setCellSpacing

public Table setCellSpacing(int spacing)
Sets the CELLSPACING="" attribute.
Parameters:
spacing - sets the CELLSPACING="" attribute.

setBorder

public Table setBorder(int border)
Sets the BORDER="" attribute.
Parameters:
border - sets the BORDER="" attribute.

setFrame

public Table setFrame(java.lang.String frame)
Sets the FRAME="" attribute.
Parameters:
frame - sets the FRAME="" attribute.

setRules

public Table setRules(java.lang.String rules)
Sets the RULES="" attribute.
Parameters:
rules - sets the RULES="" attribute.

addElement

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

addElement

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