java.lang.Object
com.lutris.html.HtmlTableRow
- public class HtmlTableRow
- extends java.lang.Object
This utility class is used to compose a row within a
HTML table.
- Version:
- 1.0 (File $Revision: 1.8.12.1 $)
ALIGN_LEFT
public static final int ALIGN_LEFT
- See Also:
- Constant Field Values
ALIGN_CENTER
public static final int ALIGN_CENTER
- See Also:
- Constant Field Values
ALIGN_RIGHT
public static final int ALIGN_RIGHT
- See Also:
- Constant Field Values
VALIGN_TOP
public static final int VALIGN_TOP
- See Also:
- Constant Field Values
VALIGN_MIDDLE
public static final int VALIGN_MIDDLE
- See Also:
- Constant Field Values
VALIGN_BOTTOM
public static final int VALIGN_BOTTOM
- See Also:
- Constant Field Values
caption
private java.lang.String caption
align
private java.lang.String align
valign
private java.lang.String valign
row
private java.util.Vector row
colSpan
private int colSpan
rowSpan
private int rowSpan
bgColor
private java.lang.String bgColor
HtmlTableRow
public HtmlTableRow()
HtmlTableRow
public HtmlTableRow(HtmlTableCell td)
HtmlTableRow
public HtmlTableRow(java.lang.String td)
addCell
public void addCell(HtmlTableCell td)
addCell
public void addCell(java.lang.String td)
setHorizontalAlignment
public void setHorizontalAlignment(int alignment)
setVerticalAlignment
public void setVerticalAlignment(int alignment)
setRowSpan
public void setRowSpan(int rowSpan)
setColSpan
public void setColSpan(int colSpan)
setBackgroundColor
public void setBackgroundColor(java.lang.String bgColor)
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()).