|
PAJES 3.0.21 | ||||||||
| 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.Cell
public class Table.Cell
Inner class representing a cell 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.Cell()
Creates a table cell. |
|
Table.Cell(HTML cellContents,
java.lang.String align,
int columnsToSpan)
Called by Table.addCell(boolean) to add a cell. |
protected |
Table.Cell(java.lang.String name)
Creates a table cell. |
| Method Summary | |
|---|---|
int |
getColumnSpan()
Returns the number of columns that this column spans. |
int |
getRowSpan()
Returns the number of rows that this column spans. |
protected void |
setAttribute(TagAttribute attribute)
Adds the specified attribute. |
Table.Cell |
setColumnSpan(int columnsToSpan)
Set the number of columns that this cell will span. |
Table.Cell |
setNoWordWrap()
Set the no word wrap attribute of the cell to true. |
Table.Cell |
setRowSpan(int rowsToSpan)
Set the number of rows that this cell 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, add, addContent, clear, clone, delete, 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 |
| Methods inherited from interface org.pajes.html.Traversable |
|---|
isWritable |
| Methods inherited from interface org.pajes.html.HTML |
|---|
getContainer, getDocument, getId, getParent, getWritePermission, isChildOf, isChildOf, setContainer, setParent, setWritePermission, write |
| Constructor Detail |
|---|
public Table.Cell()
public Table.Cell(HTML cellContents,
java.lang.String align,
int columnsToSpan)
Table.addCell(boolean) to add a cell.
cellContents - the content to place in the cell.align - the horizontal alignment of the content within the cell.columnsToSpan - the number of columns this content should span.protected Table.Cell(java.lang.String name)
name - the tag name.| Method Detail |
|---|
public int getColumnSpan()
public int getRowSpan()
public Table.Cell setColumnSpan(int columnsToSpan)
columnsToSpan - the number of columns this cell should span.
public Table.Cell setNoWordWrap()
public Table.Cell setRowSpan(int rowsToSpan)
rowsToSpan - the number of rows this cell should span.
protected void setAttribute(TagAttribute attribute)
Tag
setAttribute in class Tagattribute - The attribute.Tag.setAttribute(org.pajes.html.TagAttribute)
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||