FreeHEP API
Version current

org.freehep.swing.print.table
Class NumberCellPrinter

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

public class NumberCellPrinter
extends DefaultCellPrinter

A cell printer used for printing cells containing numeric values.

Source Code:
NumberCellPrinter.java

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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.