caltool.help_ui
Class HelpMenu

java.lang.Object
  extended by mvp.View
      extended by caltool.help_ui.HelpMenu
All Implemented Interfaces:
java.io.Serializable, java.util.Observer

public class HelpMenu
extends mvp.View

Class HelpMenu is the pulldown menu view of the model class. The HelpMenu widget is a Java JMenu. Anonymous instances of JMenuItem are defined for each item in the menu.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class mvp.View
closeAdapter, editable, model, screen, shown, widget, window
 
Constructor Summary
HelpMenu(mvp.Screen screen, Help help, HelpUI helpUI)
          Construct this with the give Help model.
 
Method Summary
 java.awt.Component compose()
          Compose this by inserting each of its three menu items into the pulldown menu.
 
Methods inherited from class mvp.View
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setExitOnClose, setModel, show, show, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpMenu

public HelpMenu(mvp.Screen screen,
                Help help,
                HelpUI helpUI)
Construct this with the give Help model.

Method Detail

compose

public java.awt.Component compose()
Compose this by inserting each of its three menu items into the pulldown menu. The items are About, Show Quick Help, and Detailed Help.

Overrides:
compose in class mvp.View