Copyright 2002 by aragost

com.aragost.html
Class Table

java.lang.Object
  |
  +--com.aragost.html.Element
        |
        +--com.aragost.html.HtmlElement
              |
              +--com.aragost.html.CompositeHtmlElement
                    |
                    +--com.aragost.html.Table

public class Table
extends CompositeHtmlElement


Constructor Summary
Table()
          Creates new Table
Table(Element e)
           
Table(Element e1, Element e2)
           
 
Method Summary
 void addRow(Element elm)
          Add an Row with one element.
 void addRow(Element elm1, Element elm2)
          Add an Row with two elements.
 void addRow(Element elm1, Element elm2, Element elm3)
          Add an Row with three elements.
 void addRow(Element elm1, Element elm2, Element elm3, Element elm4)
          Add an Row with four elements.
 java.lang.String getTag()
          Return the html tag for this element.
protected  void init()
           
 void setBorder(int n)
           
 void setCellpadding(int n)
           
 void setCellspacing(int n)
           
 
Methods inherited from class com.aragost.html.CompositeHtmlElement
add, addAll, addAll, getElements, init, init, init, init, isEmpty, size
 
Methods inherited from class com.aragost.html.HtmlElement
getAttribute, getAttributes, getBody, getIntAttribute, postBodyWrite, preBodyWrite, setAlign, setAttribute, setBgcolor, setIntAttribute, setWidth, writeAttributes, writeTo
 
Methods inherited from class com.aragost.html.Element
isCellLike, isNowrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table()
Creates new Table


Table

public Table(Element e)

Table

public Table(Element e1,
             Element e2)
Method Detail

init

protected void init()
Overrides:
init in class CompositeHtmlElement

getTag

public java.lang.String getTag()
Description copied from class: HtmlElement
Return the html tag for this element.

Specified by:
getTag in class HtmlElement

setCellspacing

public void setCellspacing(int n)

setBorder

public void setBorder(int n)

setCellpadding

public void setCellpadding(int n)

addRow

public void addRow(Element elm)
Add an Row with one element.


addRow

public void addRow(Element elm1,
                   Element elm2)
Add an Row with two elements.


addRow

public void addRow(Element elm1,
                   Element elm2,
                   Element elm3)
Add an Row with three elements.


addRow

public void addRow(Element elm1,
                   Element elm2,
                   Element elm3,
                   Element elm4)
Add an Row with four elements.


Copyright 2002 by aragost