|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--mvp.View
|
+--jdraw.options_ui.OptionsMenu
Class OptiosMenu is the pulldown menu for the Options model. The OptionsMenu widget is a JMenu. Anonymous instances of JMenuItem are defined for each menu item.
| Field Summary | |
protected Options |
options
local reference to the Options model. |
| Fields inherited from class mvp.View |
editable, model, screen, shown, widget, window |
| Constructor Summary | |
OptionsMenu(mvp.Screen screen,
Options options,
OptionsUI optionsUI)
Construct the menu with the given Options model. |
|
| Method Summary | |
protected void |
addEnlarge()
Add the 'Enlarge' menu item. |
protected void |
addGriddingOnOff()
Add the 'Gridding On/Off' menu item. |
protected void |
addGriddingVisibleInvisible()
Add the 'Gridding Vis/Invis' menu item. |
protected void |
addGridSpacing()
Add the 'Grid Spacing' menu item. |
protected void |
addHome()
Add the 'Home' menu item. |
protected void |
addNormalSize()
Add the 'Normal Size' menu item. |
protected void |
addOrientation()
Add the 'Orientation' menu item. |
protected void |
addReduce()
Add the 'Reduce' menu item. |
java.awt.Component |
compose()
Compose the menu items into the pulldown. |
| Methods inherited from class mvp.View |
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, 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 Options options
| Constructor Detail |
public OptionsMenu(mvp.Screen screen,
Options options,
OptionsUI optionsUI)
screen - - The Screen object to be passed to parent constructor.options - - The Options objec to be passed to parent constructor and set as
this.options.optionsUI - - The OptionsUI view object.| Method Detail |
public java.awt.Component compose()
compose in class mvp.Viewprotected void addReduce()
protected void addEnlarge()
protected void addNormalSize()
protected void addHome()
protected void addGriddingOnOff()
protected void addGriddingVisibleInvisible()
protected void addGridSpacing()
protected void addOrientation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||