|
|||||||||
| Home >> All >> org >> schooltool >> [ misc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.schooltool.misc
Class PrintUtil

java.lang.Objectorg.schooltool.misc.PrintUtil
- All Implemented Interfaces:
- java.awt.print.Printable
- public class PrintUtil
- extends java.lang.Object
- implements java.awt.print.Printable
- extends java.lang.Object
- Version:
| Field Summary | |
protected org.schooltool.client.gui.widgets.TableViewModel |
m_data
|
protected int |
m_maxNumPage
|
protected javax.swing.JTable |
m_table
|
protected javax.swing.JLabel |
m_title
|
| Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
| Constructor Summary | |
PrintUtil()
Creates new PrintUtil |
|
PrintUtil(javax.swing.JTable table,
java.lang.String title)
Creates new PrintUtil |
|
| Method Summary | |
int |
print(java.awt.Graphics pg,
java.awt.print.PageFormat pageFormat,
int pageIndex)
This method prints the specified page to the specified graphics context in the specified format. |
void |
printData()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_table
protected javax.swing.JTable m_table
m_data
protected org.schooltool.client.gui.widgets.TableViewModel m_data
m_title
protected javax.swing.JLabel m_title
m_maxNumPage
protected int m_maxNumPage
| Constructor Detail |
PrintUtil
public PrintUtil()
- Creates new PrintUtil
PrintUtil
public PrintUtil(javax.swing.JTable table, java.lang.String title)
- Creates new PrintUtil
| Method Detail |
printData
public void printData()
public int print(java.awt.Graphics pg, java.awt.print.PageFormat pageFormat, int pageIndex) throws java.awt.print.PrinterException
- Description copied from interface:
java.awt.print.Printable - This method prints the specified page to the specified graphics
context in the specified format. The pages are numbered starting
from zero.
- Specified by:
printin interfacejava.awt.print.Printable
|
|||||||||
| Home >> All >> org >> schooltool >> [ misc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.schooltool.misc.PrintUtil