org.freehep.swing.print.table
Class NumberCellPrinter

java.lang.Object
  extended by org.freehep.swing.print.table.DefaultCellPrinter
      extended by org.freehep.swing.print.table.NumberCellPrinter
All Implemented Interfaces:
CellPrinter

public class NumberCellPrinter
extends DefaultCellPrinter

A cell printer used for printing cells containing numeric values.


Field Summary
 
Fields inherited from class org.freehep.swing.print.table.DefaultCellPrinter
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, value
 
Method Summary
protected  String format(Object o)
          Prints the given object
 
Methods inherited from class org.freehep.swing.print.table.DefaultCellPrinter
getHeight, getWidth, print, setFont, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

format

protected String format(Object o)
Prints the given object

Overrides:
format in class DefaultCellPrinter
Parameters:
o - The object to print
Returns:
The string to print.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.