org.jhotdraw.app
Class DefaultSDIApplication.OpenRecentMenuHandler

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

private class DefaultSDIApplication.OpenRecentMenuHandler
extends java.lang.Object
implements java.beans.PropertyChangeListener

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


Field Summary
private  java.util.LinkedList<OpenRecentAction> openRecentActions
           
private  javax.swing.JMenu openRecentMenu
           
 
Constructor Summary
DefaultSDIApplication.OpenRecentMenuHandler(javax.swing.JMenu openRecentMenu)
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
protected  void updateOpenRecentMenu()
          Updates the "File > Open Recent" menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

openRecentMenu

private javax.swing.JMenu openRecentMenu

openRecentActions

private java.util.LinkedList<OpenRecentAction> openRecentActions
Constructor Detail

DefaultSDIApplication.OpenRecentMenuHandler

public DefaultSDIApplication.OpenRecentMenuHandler(javax.swing.JMenu openRecentMenu)
Method Detail

propertyChange

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

updateOpenRecentMenu

protected void updateOpenRecentMenu()
Updates the "File > Open Recent" menu.