GLG Toolkit

com.genlogic
Class GlgCustomDrawData

java.lang.Object
  extended by com.genlogic.GlgCustomDrawData

public class GlgCustomDrawData
extends java.lang.Object

The GlgCustomDrawData class is used to pass information to the CustomDrawListener.


Field Summary
 java.awt.Graphics graphics
          Graphics to draw into for drawing operations, or null for the PostScript generation mode.
 int height
          Viewport's height.
 java.io.PrintWriter ps_file
          PostScript stream: not null when invoked for exporting PostScript.
 GlgObject viewport
          Viewport.
 java.lang.Object widget
          The AWT of Swing component used as the viewport's drawing surface (window).
 int width
          Viewport's width.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

viewport

public GlgObject viewport
Viewport.


widget

public java.lang.Object widget
The AWT of Swing component used as the viewport's drawing surface (window).


graphics

public java.awt.Graphics graphics
Graphics to draw into for drawing operations, or null for the PostScript generation mode.


width

public int width
Viewport's width.


height

public int height
Viewport's height.


ps_file

public java.io.PrintWriter ps_file
PostScript stream: not null when invoked for exporting PostScript.


GLG Toolkit