java.lang.Object
com.lutris.html.HtmlTable
- public class HtmlTable
- extends java.lang.Object
This utility class is used to compose an HTML table.
- Version:
- 1.0 (File $Revision: 1.8.12.1 $)
caption
private java.lang.String caption
percentWidth
private int percentWidth
borderWidth
private int borderWidth
cellPadding
private int cellPadding
cellSpacing
private int cellSpacing
bgColor
private java.lang.String bgColor
rules
private java.lang.String rules
frame
private java.lang.String frame
rows
private java.util.Vector rows
thead
private java.lang.Object thead
HtmlTable
public HtmlTable()
HtmlTable
public HtmlTable(java.lang.String caption)
setBorderWidth
public void setBorderWidth(int pixels)
addRow
public void addRow(HtmlTableRow row)
addRow
public void addRow(java.lang.String row)
setHeader
public void setHeader(java.lang.Object row)
setPercentWidth
public void setPercentWidth(int percent)
setCaption
public void setCaption(java.lang.String caption)
setCellSpacing
public void setCellSpacing(int size)
setCellPadding
public void setCellPadding(int size)
setBackgroundColor
public void setBackgroundColor(java.lang.String bgColor)
setFrame
public void setFrame(java.lang.String frame)
setRules
public void setRules(java.lang.String rules)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).