org.jhotdraw.app
Class DefaultOSXApplication.WindowMenuHandler
java.lang.Object
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.
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 |
windowMenu
private javax.swing.JMenu windowMenu
view
private View view
DefaultOSXApplication.WindowMenuHandler
public DefaultOSXApplication.WindowMenuHandler(javax.swing.JMenu windowMenu,
View view)
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