org.rosuda.JGR.toolkit
Class JavaGD

java.lang.Object
  extended by org.rosuda.javaGD.GDInterface
      extended by org.rosuda.JGR.toolkit.JavaGD
All Implemented Interfaces:
ActionListener, WindowListener, EventListener

public class JavaGD
extends GDInterface
implements ActionListener, WindowListener

Implementation of JavaGD which uses iFrame instead of Frame


Field Summary
 
Fields inherited from class org.rosuda.javaGD.GDInterface
active, c, ls, open
 
Constructor Summary
JavaGD()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          actionPerformed: handle action event: menus.
 void gdActivate()
          Activate device.
 void gdClose()
          Close device.
 void gdDeactivate()
          Deactivate device.
 void gdNewPage(int devNr)
          Create new page.
 void gdOpen(double w, double h)
          Open JavaGD device.
 void windowActivated(WindowEvent e)
           
 void windowClosed(WindowEvent e)
           
 void windowClosing(WindowEvent e)
           
 void windowDeactivated(WindowEvent e)
           
 void windowDeiconified(WindowEvent e)
           
 void windowIconified(WindowEvent e)
           
 void windowOpened(WindowEvent e)
           
 
Methods inherited from class org.rosuda.javaGD.GDInterface
executeDevOff, gdCircle, gdClip, gdcSetColor, gdcSetFill, gdcSetFont, gdcSetLine, gdHold, gdLine, gdLocator, gdMetricInfo, gdMode, gdNewPage, gdPolygon, gdPolyline, gdRect, gdSize, gdStrWidth, gdText, getDeviceNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaGD

public JavaGD()
Method Detail

gdOpen

public void gdOpen(double w,
                   double h)
Open JavaGD device.

Overrides:
gdOpen in class GDInterface

gdNewPage

public void gdNewPage(int devNr)
Create new page.

Overrides:
gdNewPage in class GDInterface

gdActivate

public void gdActivate()
Activate device.

Overrides:
gdActivate in class GDInterface

gdDeactivate

public void gdDeactivate()
Deactivate device.

Overrides:
gdDeactivate in class GDInterface

gdClose

public void gdClose()
Close device.

Overrides:
gdClose in class GDInterface

actionPerformed

public void actionPerformed(ActionEvent e)
actionPerformed: handle action event: menus.

Specified by:
actionPerformed in interface ActionListener

windowClosing

public void windowClosing(WindowEvent e)
Specified by:
windowClosing in interface WindowListener

windowClosed

public void windowClosed(WindowEvent e)
Specified by:
windowClosed in interface WindowListener

windowOpened

public void windowOpened(WindowEvent e)
Specified by:
windowOpened in interface WindowListener

windowIconified

public void windowIconified(WindowEvent e)
Specified by:
windowIconified in interface WindowListener

windowDeiconified

public void windowDeiconified(WindowEvent e)
Specified by:
windowDeiconified in interface WindowListener

windowActivated

public void windowActivated(WindowEvent e)
Specified by:
windowActivated in interface WindowListener

windowDeactivated

public void windowDeactivated(WindowEvent e)
Specified by:
windowDeactivated in interface WindowListener