org.jhotdraw.app
Class DefaultOSXApplication.FrameHandler

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.jhotdraw.app.DefaultOSXApplication.FrameHandler
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.beans.PropertyChangeListener, java.util.EventListener, Disposable
Enclosing class:
DefaultOSXApplication

private class DefaultOSXApplication.FrameHandler
extends java.awt.event.WindowAdapter
implements java.beans.PropertyChangeListener, Disposable

Updates the modifedState of the frame.


Field Summary
private  javax.swing.JFrame frame
           
private  View view
           
 
Constructor Summary
DefaultOSXApplication.FrameHandler(javax.swing.JFrame frame, View view)
           
 
Method Summary
 void dispose()
          Disposes of all resources held by this object so that they can be garbage collected.
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void windowClosed(java.awt.event.WindowEvent evt)
           
 void windowClosing(java.awt.event.WindowEvent evt)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

private javax.swing.JFrame frame

view

private View view
Constructor Detail

DefaultOSXApplication.FrameHandler

public DefaultOSXApplication.FrameHandler(javax.swing.JFrame frame,
                                          View view)
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent evt)
Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter

windowClosed

public void windowClosed(java.awt.event.WindowEvent evt)
Specified by:
windowClosed in interface java.awt.event.WindowListener
Overrides:
windowClosed in class java.awt.event.WindowAdapter

dispose

public void dispose()
Description copied from interface: Disposable
Disposes of all resources held by this object so that they can be garbage collected.

Specified by:
dispose in interface Disposable