JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class HiGridPrintEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.higrid.HiGridPrintEvent
All Implemented Interfaces:
Serializable

public class HiGridPrintEvent
extends EventObject

Event object for HiGridPrintEvent, a subclass of HiGridEvent containing information about the particular type of event. The event posted for each page during printing.

See Also:
Serialized Form

Field Summary
protected  int eventType
           
protected  Graphics gc
           
protected  int numPages
           
protected  PageFormat pageFormat
           
protected  int pageIndex
           
static int PRINT_END
           
static int PRINT_FOOTER
           
static int PRINT_HEADER
           
protected  com.klg.jclass.higrid.PrintGrid printGrid
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HiGridPrintEvent(com.klg.jclass.higrid.HiGrid grid, int eventType, com.klg.jclass.higrid.PrintGrid printGrid, Graphics gc, PageFormat pageFormat, int pageIndex, int numPages)
          Default constructor
 
Method Summary
 int getEventType()
          Retrieves the type of this event.
 Graphics getGraphics()
          Gets the graphics for the current page.
 int getNumPages()
          Gets the number of pages.
 PageFormat getPageFormat()
          Gets the page format.
 int getPageIndex()
          Gets the page index.
 com.klg.jclass.higrid.PrintGrid getPrintGrid()
          Gets the print grid.
 
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

PRINT_HEADER

public static final int PRINT_HEADER
See Also:
Constant Field Values

PRINT_FOOTER

public static final int PRINT_FOOTER
See Also:
Constant Field Values

PRINT_END

public static final int PRINT_END
See Also:
Constant Field Values

eventType

protected int eventType

printGrid

protected com.klg.jclass.higrid.PrintGrid printGrid

gc

protected Graphics gc

pageIndex

protected int pageIndex

numPages

protected int numPages

pageFormat

protected PageFormat pageFormat
Constructor Detail

HiGridPrintEvent

public HiGridPrintEvent(com.klg.jclass.higrid.HiGrid grid,
                        int eventType,
                        com.klg.jclass.higrid.PrintGrid printGrid,
                        Graphics gc,
                        PageFormat pageFormat,
                        int pageIndex,
                        int numPages)
Default constructor

Method Detail

getEventType

public int getEventType()
Retrieves the type of this event.

Returns:
The type of event.

getPrintGrid

public com.klg.jclass.higrid.PrintGrid getPrintGrid()
Gets the print grid.


getGraphics

public Graphics getGraphics()
Gets the graphics for the current page.


getPageFormat

public PageFormat getPageFormat()
Gets the page format.


getPageIndex

public int getPageIndex()
Gets the page index.


getNumPages

public int getNumPages()
Gets the number of pages.


Copyright © 2004 Quest Software Inc..
All rights reserved.