FreeHEP API
Version v1.2.2

org.freehep.swing.print.table
Class NumberCellPrinter

java.lang.Object
  |
  +--org.freehep.swing.print.table.DefaultCellPrinter
        |
        +--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.

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.