|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.xpshared.htmlconstructs.PTTableBuilder
public class PTTableBuilder
| Constructor Summary | |
|---|---|
PTTableBuilder(int cols)
Creates a new PTTableBuilder object. |
|
PTTableBuilder(int rows,
int cols)
Creates a new PTTableBuilder object. |
|
PTTableBuilder(int rows,
int cols,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
Creates a new PTTableBuilder object. |
|
PTTableBuilder(int rows,
int cols,
java.lang.String sWidth,
java.lang.String sCellPadding,
java.lang.String sCellSpacing)
Creates a new PTTableBuilder object. |
|
PTTableBuilder(int rows,
int cols,
java.lang.String sWidth,
java.lang.String sCellPadding,
java.lang.String sCellSpacing,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
Creates a new PTTableBuilder object. |
|
PTTableBuilder(int cols,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
Creates a new PTTableBuilder object. |
|
| Method Summary | |
|---|---|
HTMLTableRow |
AddRow()
Call this method to add a row to the table built by this builder. |
IXPEnumerator |
GetCells(int row)
Call this method to obtain an enumeration of the cells within a given row within the table built by this builder. |
int |
GetNumCols()
Call this method to determine the number of columns in the table built by this builder. |
int |
GetNumRows()
Call this method to obtain the number of rows in the table built by this builder. |
IXPEnumerator |
GetRows()
Call this method to obtain an enumeration of the rows in the table built by this builder. |
HTMLTable |
GetTable()
Call this method to obtain a reference to the table created by this table builder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PTTableBuilder(int cols)
cols - Pass the number of columns which this table spans.
public PTTableBuilder(int rows,
int cols)
rows - Pass the number of rows this table spans.cols - Pass the number of columns this table spans.
public PTTableBuilder(int rows,
int cols,
java.lang.String sWidth,
java.lang.String sCellPadding,
java.lang.String sCellSpacing)
rows - Pass the number of rows this table spans.cols - Pass the number of columns this table spans.sWidth - Pass the width of this table.sCellPadding - Pass the cell padding.sCellSpacing - Pass the cell spacing.
public PTTableBuilder(int cols,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
cols - Pass the number of columns this table spans.tableClass - Pass the style class of this table.rowClass - Pass the style class for the rows of this table.cellClass - Pass the style class for the cell sof this table.
public PTTableBuilder(int rows,
int cols,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
rows - Pass the number of rows this table spans.cols - Pass the number of columns this table spans.tableClass - Pass the style class of this table.rowClass - Pass the style class for the rows of this table.cellClass - Pass the style class for the cell sof this table.
public PTTableBuilder(int rows,
int cols,
java.lang.String sWidth,
java.lang.String sCellPadding,
java.lang.String sCellSpacing,
PTStyleClass tableClass,
PTStyleClass rowClass,
PTStyleClass cellClass)
rows - Pass the number of rows this table spans.cols - Pass the number of columns this table spans.sWidth - Pass the width of this table.sCellPadding - Pass the cell padding of this table.sCellSpacing - Pass the cell spacing of this table.tableClass - Pass the style class of this table.rowClass - Pass the style class of this table's rows.cellClass - Pass the style class of this table's cells.| Method Detail |
|---|
public HTMLTable GetTable()
public int GetNumRows()
public int GetNumCols()
public HTMLTableRow AddRow()
public IXPEnumerator GetRows()
public IXPEnumerator GetCells(int row)
row - Pass the index of the row you wish to obtain. If this row
doesnt exist in the table, you will receive null;
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||