|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.ui.monitoring.node.PropertiesTableFormat
public abstract class PropertiesTableFormat
Abstract class for formatters that print the contents of a Properties object as a string.
| Field Summary | |
|---|---|
protected String |
docTitle
The title of the whole document. |
protected StringBuffer |
sb
Contains the formatted text. |
| Constructor Summary | |
|---|---|
PropertiesTableFormat(String docTitle)
Initialize this formatter with the specified title. |
|
| Method Summary | |
|---|---|
void |
cellEnd()
Write the prologue of a table cell. |
void |
cellSeparator()
Write the separator between 2 cells. |
void |
cellStart()
Write the prologue of a table cell. |
void |
end()
Write the epilogue for the formatted text. |
void |
formatTable(Properties props,
String title)
Generate the formatted text for a set of properties. |
String |
getText()
Get the formatted text. |
void |
rowEnd()
Write the prologue of a table row. |
void |
rowStart()
Write the prologue of a table row. |
void |
start()
Write the prologue for the formatted text. |
void |
tableEnd()
Write the prologue of a table. |
void |
tableStart(String title)
Write the prologue of a table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected StringBuffer sb
protected String docTitle
| Constructor Detail |
|---|
public PropertiesTableFormat(String docTitle)
docTitle - the title of the whole document.| Method Detail |
|---|
public String getText()
public void start()
public void end()
public void formatTable(Properties props,
String title)
props - the set of properties to format.title - the title of the formatted table.public void tableStart(String title)
title - the title for the table.public void tableEnd()
public void rowStart()
public void rowEnd()
public void cellStart()
public void cellEnd()
public void cellSeparator()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||