|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
TableProperties
This class represents the attributes which define the properties of a Table and its cells. Normally used in the context of creating a Table; then, one usually passes an instantation of Table Properties to the Table.
| Constructor Summary | |
TableProperties()
Constructs a TableProperties with pre-defined default values. |
|
| Method Summary | |
int |
getBorder()
Gets the border size value. |
java.lang.String |
getBorderPair()
Gets the border size as a HTML key-value pair. |
int |
getCellPadding()
Gets the cell padding value. |
java.lang.String |
getCellPaddingPair()
Gets the cell padding as a HTML key-value pair. |
int |
getCellSpacing()
Gets the cell spacing value. |
java.lang.String |
getCellSpacingPair()
Gets the cell spacing as a HTML key-value pair. |
java.lang.String |
getHAlignCell()
Gets the horizontal alignment value. |
java.lang.String |
getHAlignCellPair()
Gets the horizontal alignment as a HTML key-value pair. |
int |
getHeightCell()
Gets the cell height value. |
java.lang.String |
getHeightCellPair()
Gets the cell height as a HTML key-value pair. |
int |
getHeightTable()
Gets the table height value. |
java.lang.String |
getHeightTablePair()
Gets the table height as a HTML key-value pair. |
java.lang.String |
getVAlignCell()
Gets the vertical alignment value. |
java.lang.String |
getVAlignCellPair()
Gets the vertical alignment as a HTML key-value pair. |
int |
getWidthCell()
Gets the cell width value. |
java.lang.String |
getWidthCellPair()
Gets the cell width as a HTML key-value pair. |
int |
getWidthTable()
Gets the table width value. |
java.lang.String |
getWidthTablePair()
Gets the table width as a HTML key-value pair. |
void |
setBorder(var $border)
Sets the border size to the specified value. |
void |
setCellPadding(var $cellPadding)
Sets the cell padding to the specified value. |
void |
setCellSpacing(var $cellSpacing)
Sets the cell spacing to the specified value. |
void |
setHAlignCell(var $hAlignCell)
Sets the horizontal alignment to the specified value. |
void |
setHeightCell(var $heightCell)
Sets the cell height to the specified value. |
void |
setHeightTable(var $heightTable)
Sets the table height to the specified value. |
void |
setVAlignCell(var $vAlignCell)
Sets the vertical alignment to the specified value. |
void |
setWidthCell(var $widthCell)
Sets the cell width to the specified value. |
void |
setWidthTable(var $widthTable)
Sets the table width to the specified value. |
| Constructor Detail |
public TableProperties()
| Method Detail |
public java.lang.String getWidthTablePair()
public java.lang.String getHeightTablePair()
public java.lang.String getCellPaddingPair()
public java.lang.String getCellSpacingPair()
public java.lang.String getBorderPair()
public java.lang.String getWidthCellPair()
public java.lang.String getHeightCellPair()
public java.lang.String getHAlignCellPair()
public java.lang.String getVAlignCellPair()
public int getWidthTable()
public int getHeightTable()
public int getCellPadding()
public int getCellSpacing()
public int getBorder()
public int getWidthCell()
public int getHeightCell()
public java.lang.String getHAlignCell()
public java.lang.String getVAlignCell()
public void setWidthTable(var $widthTable)
$widthTable - int specifying width of the table$widthTable - Default Value: ""public void setHeightTable(var $heightTable)
$heightTable - int specifying height of the table$heightTable - Default Value: ""public void setCellPadding(var $cellPadding)
$cellPadding - int specifying cell padding of the table$cellPadding - Default Value: ""public void setCellSpacing(var $cellSpacing)
$cellSpacing - int specifying cell spacing of the table$cellSpacing - Default Value: ""public void setBorder(var $border)
$border - int specifying border size of the table$border - Default Value: ""public void setWidthCell(var $widthCell)
$widthCell - int specifying width of the cell$widthCell - Default Value: ""public void setHeightCell(var $heightCell)
$heightCell - int specifying height of the cell$heightCell - Default Value: ""public void setHAlignCell(var $hAlignCell)
$hAlignCell - String specifying horizontal alignment of cell$hAlignCell - Default Value: ""public void setVAlignCell(var $vAlignCell)
$vAlignCell - String specifying vertical alignment of cell$vAlignCell - Default Value: ""
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||