Copyright 2002 by aragost

com.aragost.html
Class CompositeHtmlElement

java.lang.Object
  |
  +--com.aragost.html.Element
        |
        +--com.aragost.html.HtmlElement
              |
              +--com.aragost.html.CompositeHtmlElement
Direct Known Subclasses:
Cell, FormElement, Row, Table

public abstract class CompositeHtmlElement
extends HtmlElement


Constructor Summary
CompositeHtmlElement()
          Creates new CompositeHtmlElement
 
Method Summary
 void add(Element elm)
          Add a html element to the receiver.
 void addAll(java.util.Collection coll)
          Add a collection of html elements to the receiver.
 void addAll(java.util.Iterator iter)
          DOCUMENT ME!
 java.util.List getElements()
          Return a List with the html elements in this group
protected  void init()
           
protected  void init(Element e)
           
protected  void init(Element e1, Element e2)
           
protected  void init(Element e1, Element e2, Element e3)
           
protected  void init(Element e1, Element e2, Element e3, Element e4)
           
 boolean isEmpty()
           
 int size()
           
 
Methods inherited from class com.aragost.html.HtmlElement
getAttribute, getAttributes, getBody, getIntAttribute, getTag, 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

CompositeHtmlElement

public CompositeHtmlElement()
Creates new CompositeHtmlElement

Method Detail

init

protected void init()

init

protected void init(Element e)

init

protected void init(Element e1,
                    Element e2)

init

protected void init(Element e1,
                    Element e2,
                    Element e3)

init

protected void init(Element e1,
                    Element e2,
                    Element e3,
                    Element e4)

add

public void add(Element elm)
Add a html element to the receiver.

Parameters:
elm - The element to add

addAll

public void addAll(java.util.Collection coll)
Add a collection of html elements to the receiver. All elements in the specified collection is added.

Parameters:
coll - The elements to add

addAll

public void addAll(java.util.Iterator iter)
DOCUMENT ME!

Parameters:
iter - DOCUMENT ME!

getElements

public java.util.List getElements()
Return a List with the html elements in this group

Returns:
The elements in this group

size

public int size()

isEmpty

public boolean isEmpty()

Copyright 2002 by aragost