|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mov.ui.MainMenu
public class MainMenu
The main menu of the application.
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Called when a menu item is selected. |
void |
buildMacroMenu()
Take the list of menu item and add them to the given menu. |
void |
disableMenus()
Disable the menus. |
void |
enableMenus()
Enable the menus. |
static MainMenu |
getInstance()
Return the instance of the main menu. |
static MainMenu |
getInstance(javax.swing.JFrame frame,
DesktopManager desktopManager)
Construct a new main menu and attach it to the given frame. |
void |
moduleAdded(ModuleEvent moduleEvent)
Called by the desktop manager to notify us when a new module is added |
void |
moduleRemoved(ModuleEvent moduleEvent)
Called by the desktop manager to notify us when a module is removed |
void |
moduleRenamed(ModuleEvent moduleEvent)
Called by the desktop manager to notify us when a module is renamed |
void |
updatePortfolioMenu()
Inform menu that the list of portfolios has changed and that its menus should be redrawn |
void |
updateWatchScreenMenu()
Inform menu that the list of watch screens has changed and that its menus should be redrawn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MainMenu getInstance(javax.swing.JFrame frame,
DesktopManager desktopManager)
frame - the window framedesktopManager - the desktop to lunch internal frames onpublic static MainMenu getInstance()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - an actionpublic void moduleAdded(ModuleEvent moduleEvent)
moduleAdded in interface ModuleListenermoduleEvent - Module Eventpublic void moduleRemoved(ModuleEvent moduleEvent)
moduleRemoved in interface ModuleListenermoduleEvent - Module Eventpublic void moduleRenamed(ModuleEvent moduleEvent)
moduleRenamed in interface ModuleListenermoduleEvent - Module Eventpublic void updatePortfolioMenu()
public void updateWatchScreenMenu()
public void buildMacroMenu()
public void disableMenus()
public void enableMenus()
|
Venice 0.7beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||