com.vladium.emma.report.html.doc
Class HTMLTable
java.lang.Object
com.vladium.emma.report.html.doc.ISimpleElement.Factory.SimpleElementImpl
com.vladium.emma.report.html.doc.IElement.Factory.ElementImpl
com.vladium.emma.report.html.doc.HTMLTable
- All Implemented Interfaces:
- IContent, IElement, IElementList, ISimpleElement
- public final class HTMLTable
- extends IElement.Factory.ElementImpl
- Author:
- Vlad Roubtsov, (C) 2003
Constructor Summary |
HTMLTable(java.lang.String width,
java.lang.String border,
java.lang.String cellpadding,
java.lang.String cellspacing)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_caption
private IElement m_caption
m_contents
protected final java.util.List m_contents
m_tag
protected final Tag m_tag
m_attrs
protected final AttributeSet m_attrs
HTMLTable
public HTMLTable(java.lang.String width,
java.lang.String border,
java.lang.String cellpadding,
java.lang.String cellspacing)
setCaption
public void setCaption(java.lang.String align,
java.lang.String text,
boolean nbsp)
newTitleRow
public HTMLTable.IRow newTitleRow()
newRow
public HTMLTable.IRow newRow()
emit
public void emit(HTMLWriter out)
- Specified by:
emit
in interface IContent
- Overrides:
emit
in class IElement.Factory.ElementImpl
toString
public java.lang.String toString()
- Overrides:
toString
in class ISimpleElement.Factory.SimpleElementImpl
add
public IElementList add(IContent content)
- Specified by:
add
in interface IElementList
add
public IElementList add(int index,
IContent content)
- Specified by:
add
in interface IElementList
size
public int size()
- Specified by:
size
in interface IElementList
setText
public IElement setText(java.lang.String text,
boolean nbsp)
- Specified by:
setText
in interface IElement
getTag
public Tag getTag()
- Specified by:
getTag
in interface ISimpleElement
setClass
public ISimpleElement setClass(java.lang.String classID)
- Specified by:
setClass
in interface ISimpleElement
getAttributes
public AttributeSet getAttributes()
- Specified by:
getAttributes
in interface ISimpleElement