|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.jet.gui.MenuFactory
public class MenuFactory
A class to create various menus such as file menu, edit menu, tool menu, option menu, view menu, and help menu. This class also creates popup menus for several GUI components, such as the explorer pane. To create various menu items, this class uses various action factory classes.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
MenuFactory(FileActionFactory fa,
ToolActionFactory ta,
edu.utep.cs.jet.gui.EditActionFactory ea,
edu.utep.cs.jet.gui.WorkingPane workingPane)
Creates a new instance that creates various menus by using the given action factory. |
|
| Method Summary | |
|---|---|
JMenu |
createEditMenu()
Creates the edit menu. |
JPopupMenu |
createExplorerPopupMenu()
Creates the popup menu for the directory browser. |
JMenu |
createFileMenu()
Creates the file menu. |
JMenu |
createHelpMenu()
Creates the help menu. |
JMenu |
createOptionMenu(Main tool,
OptionPanel... opts)
Creates the option menu. |
JMenu |
createTestMenu()
Creates the test menu. |
JMenu |
createToolMenu()
Creates the tool menu. |
JMenu |
createViewMenu(edu.utep.cs.jet.gui.ViewController vc)
Creates the view menu. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuFactory(FileActionFactory fa,
ToolActionFactory ta,
edu.utep.cs.jet.gui.EditActionFactory ea,
edu.utep.cs.jet.gui.WorkingPane workingPane)
| Method Detail |
|---|
public JMenu createFileMenu()
public JMenu createEditMenu()
public JMenu createToolMenu()
public JMenu createTestMenu()
public JMenu createViewMenu(edu.utep.cs.jet.gui.ViewController vc)
public JMenu createOptionMenu(Main tool,
OptionPanel... opts)
public JMenu createHelpMenu()
public JPopupMenu createExplorerPopupMenu()
|
JET | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||