org.jppf.ui.monitoring.node
Class TextPropertiesTableFormat

java.lang.Object
  extended by org.jppf.ui.monitoring.node.PropertiesTableFormat
      extended by org.jppf.ui.monitoring.node.TextPropertiesTableFormat

public class TextPropertiesTableFormat
extends PropertiesTableFormat

Formatter that print the contents of a Properties object as a plain-text string.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.ui.monitoring.node.PropertiesTableFormat
docTitle, sb
 
Constructor Summary
TextPropertiesTableFormat(String docTitle)
          Initialize this formatter with the specified title.
 
Method Summary
 void cellSeparator()
          Write the separator between 2 cells.
 void rowEnd()
          Write the prologue of a table row.
 void start()
          Write the prologue for the formatted text.
 void tableStart(String title)
          Write the prologue of a table.
 
Methods inherited from class org.jppf.ui.monitoring.node.PropertiesTableFormat
cellEnd, cellStart, end, formatTable, getText, rowStart, tableEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextPropertiesTableFormat

public TextPropertiesTableFormat(String docTitle)
Initialize this formatter with the specified title.

Parameters:
docTitle - the title of the whole document.
Method Detail

start

public void start()
Write the prologue for the formatted text.

Overrides:
start in class PropertiesTableFormat

tableStart

public void tableStart(String title)
Write the prologue of a table.

Overrides:
tableStart in class PropertiesTableFormat
Parameters:
title - the title for the table.

rowEnd

public void rowEnd()
Write the prologue of a table row.

Overrides:
rowEnd in class PropertiesTableFormat

cellSeparator

public void cellSeparator()
Write the separator between 2 cells.

Overrides:
cellSeparator in class PropertiesTableFormat


Copyright © 2005-2010 JPPF Team.