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 WatchmakerMenuBuilder
public void createSpinBabyMorphs()
createSpinBabyMorphs
in interface WatchmakerMenuBuilder
public void createViewBoundingBoxes()
createViewBoundingBoxes
in interface WatchmakerMenuBuilder
public void buildMenu(WatchmakerMenuBar menuBar)
MenuBuilder
buildMenu
in interface MenuBuilder
menuBar
- the menu bar to add menus to.public void cleanMenu(WatchmakerMenuBar menuBar)
MenuBuilder
cleanMenu
in interface MenuBuilder
menuBar
- the menu bar to clean.public void updateMenu(WatchmakerMenuBar menuBar)
MenuBuilder
updateMenu
in interface MenuBuilder
menuBar
- the menu bar to update.