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 December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae