|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--mvp.View
|
+--jdraw.structure_ui.StructureMenu
Class StructureMenu is the pulldown menu for the Structure model. The StructureMenu widget is a JMenu. Anonymous instances of JMenuItem are defined for each menu item.
| Field Summary | |
protected Structure |
structure
local reference to the File model. |
| Fields inherited from class mvp.View |
editable, model, screen, shown, widget, window |
| Constructor Summary | |
StructureMenu(mvp.Screen screen,
Structure structure,
StructureUI structureUI)
Construct the menu with the given Structure model. |
|
| Method Summary | |
protected void |
addBringToFront()
Add the 'Bring to Front' menu item. |
protected void |
addGroup()
Add the 'Group' menu item. |
protected void |
addNumberOfGraphics()
Add the 'Number of Graphics' menu item. |
protected void |
addSendToBack()
Add the 'Send to Back' menu item. |
protected void |
addUngroup()
Add the 'Ungroup' 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 Structure structure
| Constructor Detail |
public StructureMenu(mvp.Screen screen,
Structure structure,
StructureUI structureUI)
screen - - The Screen object to be passed to parent constructor.structure - - The Structure model object.structureUI - - The StructureUI view object.| Method Detail |
public java.awt.Component compose()
compose in class mvp.Viewprotected void addGroup()
protected void addUngroup()
protected void addBringToFront()
protected void addSendToBack()
protected void addNumberOfGraphics()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||