|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.TraversableElement
org.pajes.html.Container
org.pajes.html.TableContainer
org.pajes.html.Table.Row
Inner class representing a row within the table.
| Field Summary |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
Table.Row()
Default constructor |
|
| Method Summary | |
Container |
add(HTML htmlObject)
Adds an HTML object to the current container |
Table.Cell |
addCell(HTML content)
Adds a cell to the row. |
Table.Cell |
addCell(java.lang.String content)
Adds a cell to the row. |
Container |
delete(int position)
Deletes the HTML object at a specified position in the container. |
Table.Cell |
getCell(int index)
Returns the specified cell within the row. |
Table.Cell |
getCell(java.lang.String id)
Returns the specified cell within the row. |
Table.Cell[] |
getCells()
Returns the cells that this row contains. |
Table.Cell |
getLogicalCell(int index)
Returns the specified logical cell, based on the column span of each cell, within the row. |
int |
getLogicalCellCount()
Returns the number of cells in this row, based on the column span of the cells added to it. |
int |
getMaxRowSpan()
Returns the maximum number of rows any cell in this row will span. |
| Methods inherited from class org.pajes.html.TableContainer |
getTable, setAlignment, setAlignmentCenter, setAlignmentLeft, setAlignmentRight, setBGColor, setHeight, setHeight, setVerticalAlignment, setVerticalAlignmentBottom, setVerticalAlignmentMiddle, setVerticalAlignmentTop, setWidth, setWidth, writeContent |
| Methods inherited from class org.pajes.html.Container |
add, add, add, addContent, clear, clone, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, setContent, setContent, size |
| Methods inherited from class org.pajes.html.TraversableElement |
dump, dump, getAll, getFieldByName, getFirstFieldByName, getFirstTagByAttribute, getFirstTagByClass, getFirstTagByID, getFirstTagByName, getTagByAttribute, getTagByClass, getTagByID, getTagByName, setWritable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Table.Row()
| Method Detail |
public Table.Cell getCell(int index)
index - the zero-based index number of the cell within the row.
public Table.Cell getCell(java.lang.String id)
id - the id attribute of the required cell.
public Table.Cell[] getCells()
public Table.Cell getLogicalCell(int index)
column span of each cell, within the row.
It does not, however, take into consideration the impact of
row spans in previous rows in the
table.
index - the zero-based index number of the logical cell within
the row.
public int getLogicalCellCount()
column span of the cells added to it.
This number may not be the same as that returned by Container.size(), if one or more cells span more than one physical
column.
public int getMaxRowSpan()
rowspan in this
row.public Container add(HTML htmlObject)
Container
add in class ContainerhtmlObject - - the Object to add (eg. doc.add(new htmlBody);)
Container.add(org.pajes.html.HTML)public Table.Cell addCell(HTML content)
content - the content to place in the cell.
public Table.Cell addCell(java.lang.String content)
content - the content to place in the cell.
public Container delete(int position)
Container
delete in class Containerposition - the position in the container of the object to be
deleted.
Container.delete(int)
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||