public class SwingWatchmakerMenuBuilder extends java.lang.Object implements WatchmakerMenuBuilder
| Constructor and Description |
|---|
SwingWatchmakerMenuBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildMenu(WatchmakerMenuBar menuBar)
Add items to a menu bar.
|
void |
cleanMenu(WatchmakerMenuBar menuBar)
Remove items created by buildMenu
|
void |
createHighlightCheckbox() |
void |
createSpinBabyMorphs() |
void |
createViewBoundingBoxes() |
void |
updateMenu(WatchmakerMenuBar menuBar)
Update the menu bar in response to change in application state.
|
public void createHighlightCheckbox()
createHighlightCheckbox in interface WatchmakerMenuBuilderpublic void createSpinBabyMorphs()
createSpinBabyMorphs in interface WatchmakerMenuBuilderpublic void createViewBoundingBoxes()
createViewBoundingBoxes in interface WatchmakerMenuBuilderpublic void buildMenu(WatchmakerMenuBar menuBar)
MenuBuilderbuildMenu in interface MenuBuildermenuBar - the menu bar to add menus to.public void cleanMenu(WatchmakerMenuBar menuBar)
MenuBuildercleanMenu in interface MenuBuildermenuBar - the menu bar to clean.public void updateMenu(WatchmakerMenuBar menuBar)
MenuBuilderupdateMenu in interface MenuBuildermenuBar - the menu bar to update.