|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--mvp.View
|
+--jdraw.align_ui.AlignMenu
Class AlignMenu is the pulldown menu for the Align model. The AliceMenu widget is a JMenu. Anonymous instances of JMenuItem are defined for each menu item.
| Field Summary | |
protected Align |
align
local reference to the Align model. |
| Fields inherited from class mvp.View |
editable, model, screen, shown, widget, window |
| Constructor Summary | |
AlignMenu(mvp.Screen screen,
Align align,
AlignUI alignUI)
Construct the menu with the given Align model. |
|
| Method Summary | |
protected void |
addAlignToGrid()
Add the 'Align to Grid' menu item. |
protected void |
addBottoms()
Add the 'Bottoms' menu item. |
protected void |
addBottomToTop()
Add the 'Bottom to Top' menu item. |
protected void |
addCenters()
Add the 'Centers' menu item. |
protected void |
addHorizontalCenters()
Add the 'Horizontal Centers' menu item. |
protected void |
addLeftSides()
Add the 'Left Sides' menu item. |
protected void |
addLeftToRight()
Add the 'Left to Right' menu item. |
protected void |
addRightSides()
Add the 'Right Sides' menu item. |
protected void |
addRightToLeft()
Add the 'Right to Left' menu item. |
protected void |
addTops()
Add the 'Tops' menu item. |
protected void |
addTopToBottom()
Add the 'Top to Bottom' menu item. |
protected void |
addVerticalCenters()
Add the 'Vertical Centers' 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 Align align
| Constructor Detail |
public AlignMenu(mvp.Screen screen,
Align align,
AlignUI alignUI)
screen - - The Screen object to be passed to the parent constructor.align - - The Align object to be passed to the parent constructor
and set as this.align.alignUI - - The AlignUI view object.| Method Detail |
public java.awt.Component compose()
compose in class mvp.Viewprotected void addLeftSides()
protected void addRightSides()
protected void addBottoms()
protected void addTops()
protected void addVerticalCenters()
protected void addHorizontalCenters()
protected void addCenters()
protected void addLeftToRight()
protected void addRightToLeft()
protected void addBottomToTop()
protected void addTopToBottom()
protected void addAlignToGrid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||