org.jhotdraw.app
Class OSXApplication.FrameHandler

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by org.jhotdraw.app.OSXApplication.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:
OSXApplication

private class OSXApplication.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
OSXApplication.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)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowGainedFocus(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowDeactivated, 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

OSXApplication.FrameHandler

public OSXApplication.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

windowIconified

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

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Overrides:
windowDeiconified 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

windowGainedFocus

public void windowGainedFocus(java.awt.event.WindowEvent e)
Specified by:
windowGainedFocus in interface java.awt.event.WindowFocusListener
Overrides:
windowGainedFocus in class java.awt.event.WindowAdapter