org.jhotdraw.app
Class DefaultOSXApplication.WindowMenuHandler

java.lang.Object
  extended by org.jhotdraw.app.DefaultOSXApplication.WindowMenuHandler
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, Disposable
Enclosing class:
DefaultOSXApplication

private class DefaultOSXApplication.WindowMenuHandler
extends java.lang.Object
implements java.beans.PropertyChangeListener, Disposable

Updates the menu items in the "Open Recent" file menu.


Field Summary
private  View view
           
private  javax.swing.JMenu windowMenu
           
 
Constructor Summary
DefaultOSXApplication.WindowMenuHandler(javax.swing.JMenu windowMenu, 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)
           
protected  void updateWindowMenu()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowMenu

private javax.swing.JMenu windowMenu

view

private View view
Constructor Detail

DefaultOSXApplication.WindowMenuHandler

public DefaultOSXApplication.WindowMenuHandler(javax.swing.JMenu windowMenu,
                                               View view)
Method Detail

propertyChange

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

updateWindowMenu

protected void updateWindowMenu()

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