|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmvp.View
caltool.options_ui.OptionsMenu
public class OptionsMenu
Class OptionsMenu is the pulldown menu view of the model class. The OptionsMenu widget is a Java JMenu. Anonymous instances of JMenuItem are defined for each item in the menu.
Field Summary | |
---|---|
protected OptionsUI |
optionsUI
Parent view |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
OptionsMenu(mvp.Screen screen,
Options options,
OptionsUI optionsUI)
Construct this with the given Options 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 |
Field Detail |
---|
protected OptionsUI optionsUI
Constructor Detail |
---|
public OptionsMenu(mvp.Screen screen, Options options, OptionsUI optionsUI)
Method Detail |
---|
public java.awt.Component compose()
compose
in class mvp.View
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |