SimpleServlets v5.5.0

com.simpleservlets.htmlobjects
Class HTMLTable

java.lang.Object
  extended by com.simpleservlets.htmlobjects.GenericHTMLElement
      extended by com.simpleservlets.htmlobjects.HTMLTable
All Implemented Interfaces:
HTMLElement

public class HTMLTable
extends GenericHTMLElement
implements HTMLElement

An HTML table, <table> tag.

Author:
Paul Hyde

Nested Class Summary
static class HTMLTable.Cell
           
static class HTMLTable.Row
           
 
Field Summary
 
Fields inherited from interface com.simpleservlets.htmlobjects.HTMLElement
ZERO_LEN_ARRAY
 
Constructor Summary
HTMLTable()
           
HTMLTable(HTMLColor bgColor)
           
HTMLTable(int border)
           
HTMLTable(int border, HTMLColor bgColor)
           
HTMLTable(int border, int cellSpacing, int cellPadding)
           
HTMLTable(int border, int cellSpacing, int cellPadding, HTMLColor bgColor)
           
 
Method Summary
 HTMLTable.Cell addCell()
           
 HTMLTable.Cell addCell(HTMLElement child)
           
 HTMLTable.Cell addCell(HTMLElement child, AnchorPoint anchor)
           
 HTMLTable.Cell addCell(HTMLElement child, AnchorPoint anchor, HTMLColor bgColor, int colSpan)
           
 HTMLTable.Cell addCell(String text)
           
 HTMLTable.Cell addCell(String text, AnchorPoint anchor)
           
 HTMLTable.Cell addCell(String text, AnchorPoint anchor, HTMLColor bgColor, int colSpan)
           
 HTMLTable.Cell addFill(int colSpan)
           
 HTMLTable.Row getCurrentRow()
           
 HTMLTable.Row newRow()
           
 HTMLTable.Row newRow(AnchorPoint anchor)
           
 HTMLTable.Row newRow(AnchorPoint anchor, HTMLColor bgColor)
           
 HTMLTable.Row newRow(HTMLColor bgColor)
           
 
Methods inherited from class com.simpleservlets.htmlobjects.GenericHTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setSafeToWrapWithWhitespace, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.simpleservlets.htmlobjects.HTMLElement
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setStyle
 

Constructor Detail

HTMLTable

public HTMLTable(int border,
                 int cellSpacing,
                 int cellPadding,
                 HTMLColor bgColor)

HTMLTable

public HTMLTable(int border,
                 int cellSpacing,
                 int cellPadding)

HTMLTable

public HTMLTable(int border,
                 HTMLColor bgColor)

HTMLTable

public HTMLTable(int border)

HTMLTable

public HTMLTable(HTMLColor bgColor)

HTMLTable

public HTMLTable()
Method Detail

newRow

public HTMLTable.Row newRow(AnchorPoint anchor,
                            HTMLColor bgColor)

newRow

public HTMLTable.Row newRow(AnchorPoint anchor)

newRow

public HTMLTable.Row newRow(HTMLColor bgColor)

newRow

public HTMLTable.Row newRow()

getCurrentRow

public HTMLTable.Row getCurrentRow()

addCell

public HTMLTable.Cell addCell(HTMLElement child,
                              AnchorPoint anchor,
                              HTMLColor bgColor,
                              int colSpan)

addCell

public HTMLTable.Cell addCell(HTMLElement child,
                              AnchorPoint anchor)

addCell

public HTMLTable.Cell addCell(HTMLElement child)

addCell

public HTMLTable.Cell addCell()

addCell

public HTMLTable.Cell addCell(String text,
                              AnchorPoint anchor,
                              HTMLColor bgColor,
                              int colSpan)

addCell

public HTMLTable.Cell addCell(String text,
                              AnchorPoint anchor)

addCell

public HTMLTable.Cell addCell(String text)

addFill

public HTMLTable.Cell addFill(int colSpan)

SimpleServlets v5.5.0

Copyright © 2001-2007 Programix Incorporated. All rights reserved. SimpleServlets is free and is OSI Certified Open Source Software under the BSD license.