Class BrolMenuBar

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, MenuElement
Direct Known Subclasses:
AdminMenuBar, BiblioBrolMenuBar, BrolMetersMenuBar, EidMenuBar, FinderMenuBar, RenamerMenuBar, TeacherMenuBar

public class BrolMenuBar extends JMenuBar implements PropertyChangeListener
Provides a default menu bar to the BrolDev applications.
Since:
1.0 Feb 9, 2009, 1.0
Version:
%I%, %G%
Author:
Steph GAUDRY
See Also:
BrolMainFrame, BrolStatusBar, LanguageHelper, Serialized Form
  • Field Details

    • lafMenu

      protected JMenu lafMenu
    • frameTitle

      protected String frameTitle
  • Constructor Details

    • BrolMenuBar

      public BrolMenuBar()
    • BrolMenuBar

      public BrolMenuBar(boolean _mainMenu)
      Creates a default menu including frame management (look and feel, language, active windows, etc).
      Parameters:
      _mainMenu - true to use this menu as frame controller.
      Since:
      0.1.11-SNAPSHOT (Mar 3, 2009)
      See Also:
      BrolMenuBar
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • initData

      protected void initData()
    • initGUI

      protected void initGUI()
    • about

      public void about()
      Shows an about box.
      Override this to provide some informations
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setLanguage

      protected void setLanguage()
    • getFileMenu

      public JMenu getFileMenu()
      Returns:
      the fileMenu
    • getHelpBrolMenu

      public JMenu getHelpBrolMenu()
    • getToolsMenu

      public JMenu getToolsMenu()
      Returns:
      the toolsMenu
    • getLafMenu

      public JMenu getLafMenu()
      Returns:
      the lafMenu
    • getWindowMenu

      public JMenu getWindowMenu()
      Returns:
      the windowMenu
    • setWindowMenu

      public void setWindowMenu(JMenu _windowMenu)
      Parameters:
      _windowMenu - the windowMenu to set
    • getShowAboutAction

      public AbstractAction getShowAboutAction()
      Returns:
      the showAboutAction
    • isMainMenu

      public boolean isMainMenu()
      Returns:
      true if this menu is the JFrame manager