|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.klg.jclass.table.JCPrintEvent
The event posted for each page during printing.
JCPrintListener
,
Serialized FormField Summary | |
protected Graphics |
gc
|
protected int |
numPages
|
protected int |
page
|
static int |
PRINT_BODY
|
static int |
PRINT_FOOTER
|
static int |
PRINT_HEADER
|
protected com.klg.jclass.table.JCPrintTable |
printTable
|
protected int |
type
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCPrintEvent(Object source,
Graphics gc,
int page,
int numPages,
int type,
com.klg.jclass.table.JCPrintTable printTable)
|
Method Summary | |
Graphics |
getGraphics()
Gets the graphics for the current page. |
int |
getMarginUnits()
Gets the units for margins. |
int |
getNumHorizontalPages()
Gets the number of horizontal pages required to print all of the columns in the table. |
int |
getNumPages()
Gets the number of pages required to print the table. |
int |
getNumVerticalPages()
Gets the number of vertical pages required to print all of the rows in the table. |
int |
getPage()
Gets the page number. |
Dimension |
getPageDimensions()
Gets the page dimensions. |
Insets |
getPageMargins()
Gets the page margins. |
int |
getPageResolution()
Gets the page resolution. |
Dimension |
getTableDimensions()
Gets the dimension required to print the table on the current page. |
int |
getType()
Gets the event type. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PRINT_HEADER
public static final int PRINT_BODY
public static final int PRINT_FOOTER
protected Graphics gc
protected int page
protected int numPages
protected int type
protected com.klg.jclass.table.JCPrintTable printTable
Constructor Detail |
public JCPrintEvent(Object source, Graphics gc, int page, int numPages, int type, com.klg.jclass.table.JCPrintTable printTable)
Method Detail |
public Graphics getGraphics()
public int getMarginUnits()
JCPrintTable.MARGIN_IN_INCHES
and
JCPrintTable.MARGIN_IN_PIXELS
.
public int getNumHorizontalPages()
public int getNumPages()
public int getNumVerticalPages()
getNumPages
to obtain the total number
of pages required to print the entire table.
public int getPage()
public Dimension getPageDimensions()
public Insets getPageMargins()
public int getPageResolution()
public Dimension getTableDimensions()
public int getType()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |