|
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.RowContainer
protected abstract class Table.RowContainer
Abstract super-class of all body sections that contain rows.
| Field Summary |
|---|
| Fields inherited from class org.pajes.html.Tag |
|---|
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
|---|---|
Table.RowContainer(java.lang.String name)
Creates a table body body sections that contain rows. |
|
| Method Summary | |
|---|---|
Traversable |
add(HTML html)
Adds an HTML object to the current container |
Container |
add(java.lang.String htmlCodeOrString)
Adds a string or piece of HTML code to the current container. |
Container |
add(java.lang.String htmlCodeOrString,
boolean suppressNewLine)
Adds a string or piece of HTML code to the current container |
Container |
add(java.lang.String htmlCodeOrString,
boolean suppressNewLine,
boolean encode)
Adds a string or piece of HTML code to the current container |
void |
addContent(java.lang.String content)
Adds the specified String to this container. |
Table.Row |
addRow()
Adds a row into this table section. |
Table.Cell |
getCell(int row,
int col)
Returns the reference to the cell at the specified row and column position. |
void |
setContent(HTML html)
Clears the contents of this container, and then adds the specified HTML as the only content. |
void |
setContent(java.lang.String content)
Clears the contents of this container, and then adds the specified String as the only content. |
| 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 |
|---|
clear, clone, delete, delete, destroy, get, getContent, getContents, getPosition, insert, replace, set, 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.RowContainer(java.lang.String name)
name - the tag name (TBODY, THEAD or TFOOT).| Method Detail |
|---|
public Traversable add(HTML html)
Container
add in interface Traversableadd in class Containerhtml - -
the Object to add (eg. doc.add(new htmlBody);)
Container.add(org.pajes.html.HTML)public Container add(java.lang.String htmlCodeOrString)
Container
add in class ContainerContainer.add(java.lang.String)
public Container add(java.lang.String htmlCodeOrString,
boolean suppressNewLine)
Container
add in class ContainersuppressNewLine - suppresses a new line after the text.
Container.add(java.lang.String, boolean)
public Container add(java.lang.String htmlCodeOrString,
boolean suppressNewLine,
boolean encode)
Container
add in class ContainersuppressNewLine - suppresses a new line after the text.encode - true if any special HTML characters in the text are to be
converted to their equivalent HTML named character entity, or
false if no changes are to be made to the text.
Container.add(java.lang.String, boolean, boolean)public void addContent(java.lang.String content)
Container
addContent in interface HTMLaddContent in class Containercontent - the additonal content for this Container.HTML.addContent(java.lang.String)public Table.Row addRow()
public Table.Cell getCell(int row,
int col)
row - the zero-based index of the row to access.col - the zero-based index of the column to access on the
specified row.
public void setContent(HTML html)
Container
setContent in class Containerhtml - the content of this Container.Tag.setContent(org.pajes.html.HTML)public void setContent(java.lang.String content)
Container
setContent in interface HTMLsetContent in class Containercontent - the content of this Container.HTML.setContent(java.lang.String)
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||