com.zwares.base.html.table
Class HTable

java.lang.Object
  |
  +--com.zwares.base.html.table.HTable
All Implemented Interfaces:
Html

public class HTable
extends java.lang.Object
implements Html


Field Summary
protected  java.lang.String bkg1Color
           
protected  java.lang.String bkg2Color
           
protected  java.lang.String borderColor
           
protected  int borderSize
           
protected  int cellPading
           
protected  int cellSpacing
           
protected  HTableColumns columns
           
protected  HTableModel model
           
protected  java.lang.String txt1Color
           
protected  java.lang.String txt2Color
           
protected  int width
           
 
Constructor Summary
HTable(HTableColumns columns, HTableModel model)
           
HTable(HTableColumns columns, HTableModel model, java.lang.String bkgColor, java.lang.String txtColor)
           
HTable(HTableColumns columns, HTableModel model, java.lang.String bkg1Color, java.lang.String bkg2Color, java.lang.String txt1Color, java.lang.String txt2Color)
           
 
Method Summary
 java.lang.String getBorderColor()
           
 int getBorderSize()
           
 int getCellPading()
           
 int getCellSpacing()
           
 int getWidth()
           
 void setBorderColor(java.lang.String borderColor)
           
 void setBorderSize(int borderSize)
           
 void setCellPading(int cellPading)
           
 void setCellSpacing(int cellSpacing)
           
 void setWidth(int width)
           
 java.lang.String toHtml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bkg1Color

protected java.lang.String bkg1Color

txt1Color

protected java.lang.String txt1Color

bkg2Color

protected java.lang.String bkg2Color

txt2Color

protected java.lang.String txt2Color

borderColor

protected java.lang.String borderColor

borderSize

protected int borderSize

width

protected int width

cellSpacing

protected int cellSpacing

cellPading

protected int cellPading

model

protected HTableModel model

columns

protected HTableColumns columns
Constructor Detail

HTable

public HTable(HTableColumns columns,
              HTableModel model)

HTable

public HTable(HTableColumns columns,
              HTableModel model,
              java.lang.String bkgColor,
              java.lang.String txtColor)

HTable

public HTable(HTableColumns columns,
              HTableModel model,
              java.lang.String bkg1Color,
              java.lang.String bkg2Color,
              java.lang.String txt1Color,
              java.lang.String txt2Color)
Method Detail

setBorderSize

public void setBorderSize(int borderSize)

setWidth

public void setWidth(int width)

setCellSpacing

public void setCellSpacing(int cellSpacing)

setCellPading

public void setCellPading(int cellPading)

setBorderColor

public void setBorderColor(java.lang.String borderColor)

getBorderSize

public int getBorderSize()

getWidth

public int getWidth()

getCellSpacing

public int getCellSpacing()

getCellPading

public int getCellPading()

getBorderColor

public java.lang.String getBorderColor()

toHtml

public java.lang.String toHtml()
Specified by:
toHtml in interface Html