Class CircuitDiagram.CDCloser

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--CircuitDiagram.CDCloser
Enclosing class:
CircuitDiagram

class CircuitDiagram.CDCloser
extends java.awt.event.WindowAdapter

This class handles closing the CircuitDiagram window when it's done manually, instead of through a menu command


Field Summary
(package private)  CircuitDiagram w
           
 
Constructor Summary
(package private) CircuitDiagram.CDCloser(CircuitDiagram _w)
          Creates the CDCloser - takes the CircuitDiagram that it will control
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Executed on WindowClosing - calls circuitdiagram.close()
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

w

CircuitDiagram w
Constructor Detail

CircuitDiagram.CDCloser

CircuitDiagram.CDCloser(CircuitDiagram _w)
Creates the CDCloser - takes the CircuitDiagram that it will control
Parameters:
_w - The CircuitDiagram to control
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Executed on WindowClosing - calls circuitdiagram.close()
Overrides:
windowClosing in class java.awt.event.WindowAdapter
Parameters:
e - the WindowEvent