Class OpenRecentMenu

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, MenuElement, SwingConstants, JaxoLocalized

public class OpenRecentMenu extends JaxoMenu
A JaxoMenu for opening recent files.
See Also:
  • Constructor Details

    • OpenRecentMenu

      public OpenRecentMenu()
      Creates a new instance of NewMenu.
  • Method Details

    • propertyChange

      public void propertyChange(PropertyChangeEvent e)
      Applies a property change event.
      Parameters:
      e - the change event.
    • addRecentFile

      public final void addRecentFile(String saveFileName)
      Adds a new entry to this menu, with a shortcut to a recently opened graph.
      Parameters:
      saveFileName - The full path to the saved graph.
    • removeRecentFile

      public final void removeRecentFile(String saveFileName)
      Removes the given file name from the list of recent files.
      Parameters:
      saveFileName - The file to remove.
    • updateLanguage

      public final void updateLanguage()
      Updates the component with the current language as set in the preferences (JaxoPrefs.PREF_LANGUAGE).
      Specified by:
      updateLanguage in interface JaxoLocalized
      Overrides:
      updateLanguage in class JaxoMenu