Copyright 2002 by aragost

com.aragost.html
Class Cell

java.lang.Object
  |
  +--com.aragost.html.Element
        |
        +--com.aragost.html.HtmlElement
              |
              +--com.aragost.html.CompositeHtmlElement
                    |
                    +--com.aragost.html.Cell
Direct Known Subclasses:
CellHeader

public class Cell
extends CompositeHtmlElement


Constructor Summary
Cell(Element elm)
           
Cell(java.lang.String text)
           
 
Method Summary
protected  boolean getDefaultNoWrap()
          The default value for the noWrap property
 java.lang.String getTag()
          Return the html tag for this element.
protected  void init(Element elm)
           
 boolean isCellLike()
          Check if the receiver is cell like.
 boolean isNoWrap()
           
 void setColspan(int span)
           
 void setNoWrap(boolean noWrap)
           
 void writeAttributes(HtmlWriter writer)
           
 
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

Cell

public Cell(Element elm)

Cell

public Cell(java.lang.String text)
Method Detail

getTag

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

Specified by:
getTag in class HtmlElement

setColspan

public void setColspan(int span)

isCellLike

public boolean isCellLike()
Check if the receiver is cell like. See implentation in FromElement.

Overrides:
isCellLike in class Element

writeAttributes

public void writeAttributes(HtmlWriter writer)
Overrides:
writeAttributes in class HtmlElement

isNoWrap

public boolean isNoWrap()

setNoWrap

public void setNoWrap(boolean noWrap)

getDefaultNoWrap

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

Returns:
boolean

init

protected void init(Element elm)
Overrides:
init in class CompositeHtmlElement

Copyright 2002 by aragost