org.jext.menus
Class JextRecentMenu

java.lang.Object
  extended byorg.jext.menus.JextRecentMenu

public class JextRecentMenu
extends java.lang.Object


Constructor Summary
JextRecentMenu(JextFrame parent, javax.swing.JMenu recentMenu)
           
 
Method Summary
 void createRecent()
          Creates the recent menu from an array of String containing paths to the most recently opened files.
protected  void finalize()
          Patch -> Memory management improvements : it may help the garbage collector.
 void removeRecent()
          Cleans recent menu.
 void saveRecent(java.lang.String file)
          Add an item to the recent menu.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JextRecentMenu

public JextRecentMenu(JextFrame parent,
                      javax.swing.JMenu recentMenu)
Method Detail

removeRecent

public void removeRecent()
Cleans recent menu.


createRecent

public void createRecent()
Creates the recent menu from an array of String containing paths to the most recently opened files.


saveRecent

public void saveRecent(java.lang.String file)
Add an item to the recent menu.

Parameters:
file - The path of the file to be added

finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001

Throws:
java.lang.Throwable


Copyright ? 2002 Romain Guy.