All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.GrammarMenuBar
java.lang.Object
|
+----java.awt.MenuComponent
|
+----java.awt.MenuBar
|
+----javaParse.GrammarMenuBar
- public class GrammarMenuBar
- extends MenuBar
The menu bar class that is added to
the grammar window
-
GrammarMenuBar()
- creates a menubar for the grammar window
-
setCloseCommand(CloseCommand)
- adds the command as a listener to the close menuItem
-
setHelpAboutCommand(AboutCommand)
- adds the command as a listener to the helpAbout menuItem
-
setHelpTextCommand(HelpCommand)
- adds the command as a listener to the helpText menuItem
-
setNewGrammarCommand(NewGrammarCommand)
- adds the command as a listener to the new menuItem
-
setOpenCommand(OpenCommand)
- adds the command as a listener to the open menuItem
-
setSaveAsCommand(SaveAsCommand)
- adds the command as a listener to the saveAs menuItem
-
setSaveCommand(SaveCommand)
- adds the command as a listener to the save menuItem
GrammarMenuBar
public GrammarMenuBar()
- creates a menubar for the grammar window
setSaveAsCommand
public void setSaveAsCommand(SaveAsCommand cmd)
- adds the command as a listener to the saveAs menuItem
- Parameters:
- cmd - the command to be added
setSaveCommand
public void setSaveCommand(SaveCommand cmd)
- adds the command as a listener to the save menuItem
- Parameters:
- cmd - the command to be added
setOpenCommand
public void setOpenCommand(OpenCommand cmd)
- adds the command as a listener to the open menuItem
- Parameters:
- cmd - the command to be added
setNewGrammarCommand
public void setNewGrammarCommand(NewGrammarCommand cmd)
- adds the command as a listener to the new menuItem
- Parameters:
- cmd - the command to be added
setCloseCommand
public void setCloseCommand(CloseCommand cmd)
- adds the command as a listener to the close menuItem
- Parameters:
- cmd - the command to be added
setHelpTextCommand
public void setHelpTextCommand(HelpCommand cmd)
- adds the command as a listener to the helpText menuItem
- Parameters:
- cmd - the command to be added
setHelpAboutCommand
public void setHelpAboutCommand(AboutCommand cmd)
- adds the command as a listener to the helpAbout menuItem
- Parameters:
- cmd - the command to be added
All Packages Class Hierarchy This Package Previous Next Index