net.sac.htmlwriter.element
Class TableCell

java.lang.Object
  extended by net.sac.htmlwriter.element.Element
      extended by net.sac.htmlwriter.element.TableCell
Direct Known Subclasses:
Td, Th

public abstract class TableCell
extends Element


Nested Class Summary
static class TableCell.Align
           
 
Field Summary
 
Fields inherited from class net.sac.htmlwriter.element.Element
ALLOWED_CHILD_TAGS_NONE, ALLOWED_CHILD_TAGS_TEXT_ONLY
 
Constructor Summary
TableCell()
           
TableCell(Element element)
           
TableCell(Element element, int colspan)
           
TableCell(Element element, TableCell.Align align)
           
TableCell(java.lang.String text)
           
TableCell(java.lang.String text, int colspan)
           
TableCell(java.lang.String text, TableCell.Align align)
           
 
Method Summary
 int getColSpan()
           
 
Methods inherited from class net.sac.htmlwriter.element.Element
addAttribute, addChild, getAttribute, getChild, getChildIndex, getChildren, getTagName, insertChild, setAttribute, toHtml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableCell

public TableCell()

TableCell

public TableCell(Element element)
          throws HtmlException
Throws:
HtmlException

TableCell

public TableCell(java.lang.String text)
          throws HtmlException
Throws:
HtmlException

TableCell

public TableCell(java.lang.String text,
                 TableCell.Align align)
          throws HtmlException
Throws:
HtmlException

TableCell

public TableCell(Element element,
                 TableCell.Align align)
          throws HtmlException
Throws:
HtmlException

TableCell

public TableCell(java.lang.String text,
                 int colspan)
          throws HtmlException
Throws:
HtmlException

TableCell

public TableCell(Element element,
                 int colspan)
          throws HtmlException
Throws:
HtmlException
Method Detail

getColSpan

public int getColSpan()