Copyright 2002 by aragost

com.aragost.html
Class CellHeader

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

public class CellHeader
extends Cell


Constructor Summary
CellHeader(Element elm)
          Creates a new CellHeader object.
CellHeader(java.lang.String text)
          Creates a new CellHeader object.
CellHeader(java.lang.String text, int colspan)
          Creates a new CellHeader object.
 
Method Summary
protected  boolean getDefaultNoWrap()
          The default value for the noWrap property
 java.lang.String getTag()
          Return the tag for this a cell header (i.e.
 
Methods inherited from class com.aragost.html.Cell
init, isCellLike, isNoWrap, setColspan, setNoWrap, writeAttributes
 
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, writeTo
 
Methods inherited from class com.aragost.html.Element
isNowrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellHeader

public CellHeader(java.lang.String text)
Creates a new CellHeader object.

Parameters:
text - The text in the header cell.

CellHeader

public CellHeader(java.lang.String text,
                  int colspan)
Creates a new CellHeader object.

Parameters:
text - The text in the header cell
colspan - How many columns this header spans

CellHeader

public CellHeader(Element elm)
Creates a new CellHeader object.

Parameters:
elm - The html element that is the contents in this header cell
Method Detail

getTag

public java.lang.String getTag()
Return the tag for this a cell header (i.e. "th")

Overrides:
getTag in class Cell
Returns:
The String "th"

getDefaultNoWrap

protected boolean getDefaultNoWrap()
The default value for the noWrap property

Overrides:
getDefaultNoWrap in class Cell
Returns:
boolean

Copyright 2002 by aragost