Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.html
Class HtmlTableRow  view HtmlTableRow download HtmlTableRow.java

java.lang.Object
  extended bycom.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 $)

Field Summary
private  java.lang.String align
           
static int ALIGN_CENTER
           
static int ALIGN_LEFT
           
static int ALIGN_RIGHT
           
private  java.lang.String bgColor
           
private  java.lang.String caption
           
private  int colSpan
           
private  java.util.Vector row
           
private  int rowSpan
           
private  java.lang.String valign
           
static int VALIGN_BOTTOM
           
static int VALIGN_MIDDLE
           
static int VALIGN_TOP
           
 
Constructor Summary
HtmlTableRow()
           
HtmlTableRow(HtmlTableCell td)
           
HtmlTableRow(java.lang.String td)
           
 
Method Summary
 void addCell(HtmlTableCell td)
           
 void addCell(java.lang.String td)
           
 void setBackgroundColor(java.lang.String bgColor)
           
 void setColSpan(int colSpan)
           
 void setHorizontalAlignment(int alignment)
           
 void setRowSpan(int rowSpan)
           
 void setVerticalAlignment(int alignment)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

HtmlTableRow

public HtmlTableRow()

HtmlTableRow

public HtmlTableRow(HtmlTableCell td)

HtmlTableRow

public HtmlTableRow(java.lang.String td)
Method Detail

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()).