|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--arlut.csd.JTable.tableRow
This class holds all the information for a particular row in the table, including current position of the row in the table, height of row in elemental lines, and a vector of the current cells in this row.
| Field Summary | |
(package private) int |
bottomEdge
|
(package private) java.util.Vector |
cells
|
(package private) int |
rowSpan
|
(package private) baseTable |
rt
|
(package private) int |
topEdge
|
| Constructor Summary | |
(package private) |
tableRow(baseTable rt,
int size)
size constructor |
(package private) |
tableRow(baseTable rt,
tableCell[] cells)
tableCell array constructor |
| Method Summary | |
(package private) tableCell |
elementAt(int index)
Cell accessor. |
(package private) int |
getBottomEdge()
This method returns the current position of the bottom edge of this row within the table. |
(package private) int |
getHeight()
|
(package private) int |
getRowSpan()
This method returns the number of lines that this row requires when displayed. |
(package private) int |
getTopEdge()
This method returns the current position of the top edge of this row within the table. |
(package private) void |
removeElementAt(int index)
This method removes a cell from this row. |
(package private) void |
setBottomEdge(int y)
This method records the current position of the bottom edge of this row within the table. |
(package private) void |
setElementAt(tableCell cell,
int index)
This method is used to replace an existing cell in this row with a new cell. |
(package private) void |
setTopEdge(int y)
This method is used to record the current position of the top edge of this row within the table. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
baseTable rt
java.util.Vector cells
int rowSpan
int topEdge
int bottomEdge
| Constructor Detail |
tableRow(baseTable rt,
tableCell[] cells)
rt - The baseTable this row belongs tocells - The initial contents of this row
tableRow(baseTable rt,
int size)
rt - The baseTable this row belongs tosize - The number of cells to create in this row| Method Detail |
void removeElementAt(int index)
tableCell elementAt(int index)
void setElementAt(tableCell cell,
int index)
int getRowSpan()
void setTopEdge(int y)
int getTopEdge()
void setBottomEdge(int y)
int getBottomEdge()
int getHeight()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||