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


Constructor Index

 o GrammarMenuBar()
creates a menubar for the grammar window

Method Index

 o setCloseCommand(CloseCommand)
adds the command as a listener to the close menuItem
 o setHelpAboutCommand(AboutCommand)
adds the command as a listener to the helpAbout menuItem
 o setHelpTextCommand(HelpCommand)
adds the command as a listener to the helpText menuItem
 o setNewGrammarCommand(NewGrammarCommand)
adds the command as a listener to the new menuItem
 o setOpenCommand(OpenCommand)
adds the command as a listener to the open menuItem
 o setSaveAsCommand(SaveAsCommand)
adds the command as a listener to the saveAs menuItem
 o setSaveCommand(SaveCommand)
adds the command as a listener to the save menuItem

Constructors

 o GrammarMenuBar
 public GrammarMenuBar()
creates a menubar for the grammar window

Methods

 o setSaveAsCommand
 public void setSaveAsCommand(SaveAsCommand cmd)
adds the command as a listener to the saveAs menuItem

Parameters:
cmd - the command to be added
 o setSaveCommand
 public void setSaveCommand(SaveCommand cmd)
adds the command as a listener to the save menuItem

Parameters:
cmd - the command to be added
 o setOpenCommand
 public void setOpenCommand(OpenCommand cmd)
adds the command as a listener to the open menuItem

Parameters:
cmd - the command to be added
 o setNewGrammarCommand
 public void setNewGrammarCommand(NewGrammarCommand cmd)
adds the command as a listener to the new menuItem

Parameters:
cmd - the command to be added
 o setCloseCommand
 public void setCloseCommand(CloseCommand cmd)
adds the command as a listener to the close menuItem

Parameters:
cmd - the command to be added
 o setHelpTextCommand
 public void setHelpTextCommand(HelpCommand cmd)
adds the command as a listener to the helpText menuItem

Parameters:
cmd - the command to be added
 o 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