Overview  Package   Class  Tree  Index 

be.lassi.ui.main
Class MacMenu

java.lang.Object
  extended by be.lassi.ui.main.MacMenu

public class MacMenu
extends java.lang.Object

Builds the menu that is used when running on Mac OS X. This menu is added to all frames in the application (each frame needs to have its own unique copy !!), so that the menu is always shown, independant of which frame currently has focus.


Constructor Summary
MacMenu(ShowContext context, MainFrames frames)
          Constructs a new instance.
 
Method Summary
 javax.swing.JMenuBar build()
          Builds the application menu bar for use under Mac OS X.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacMenu

public MacMenu(ShowContext context,
               MainFrames frames)
Constructs a new instance.

Parameters:
context - the show context
frames - the application frames
Method Detail

build

public javax.swing.JMenuBar build()
Builds the application menu bar for use under Mac OS X.

Returns:
the menu bar

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2