net.sf.borg.ui.util
Class TablePrinter
java.lang.Object
net.sf.borg.ui.util.TablePrinter
- All Implemented Interfaces:
- Printable
public class TablePrinter
- extends Object
- implements Printable
wraps a JTable in a class to make it Printable. contains a methos to send the JTable to a printer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
printTable
public static void printTable(JTable tbl)
throws Exception
- Sends a JTable to a printer
- Parameters:
tbl
- the table
- Throws:
Exception
print
public int print(Graphics g,
PageFormat pageFormat,
int pageIndex)
throws PrinterException
- Specified by:
print
in interface Printable
- Throws:
PrinterException
Generated September 24 2010 by mbb using Apache Ant version 1.7.1 compiled on June 27 2008 and Java version 1.6.0_20 from Sun Microsystems Inc. on Linux i386 2.6.24-28-generic