|
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.page.JCPrintEvent
Encapsulates notification of printing events.
Field Summary | |
static int |
BEGIN_PAGE
|
static int |
CLOSE_DOCUMENT
|
static int |
END_PAGE
|
protected int |
eventId
The identifier indicating the event that has occurred. |
static int |
OPEN_DOCUMENT
|
protected int |
pageNumber
The page number related to this event. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCPrintEvent(com.klg.jclass.page.JCPrinter source,
int eventId)
Encapsulates notification of printing events. |
|
JCPrintEvent(com.klg.jclass.page.JCPrinter source,
int eventId,
int pageNumber)
Encapsulates notification of printing events. |
Method Summary | |
int |
getEventId()
Returns the eventId . |
int |
getPageNumber()
Returns the page number, or -1 if not applicable. |
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 BEGIN_PAGE
public static final int END_PAGE
public static final int OPEN_DOCUMENT
public static final int CLOSE_DOCUMENT
protected int eventId
protected int pageNumber
Constructor Detail |
public JCPrintEvent(com.klg.jclass.page.JCPrinter source, int eventId)
source
- the JCPrinter
sending this eventeventId
- the type of event being sentpublic JCPrintEvent(com.klg.jclass.page.JCPrinter source, int eventId, int pageNumber)
source
- the JCPrinter
sending this eventeventId
- the type of event being sentpageNumber
- the page number related to this eventMethod Detail |
public int getPageNumber()
public int getEventId()
eventId
.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |