org.jscience.architecture.traffic.simulation
Class SimMenuBar

java.lang.Object
  extended by java.awt.MenuComponent
      extended by java.awt.MenuBar
          extended by org.jscience.architecture.traffic.simulation.SimMenuBar
All Implemented Interfaces:
java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class SimMenuBar
extends java.awt.MenuBar

The MenuBar for the editor

See Also:
Serialized Form

Nested Class Summary
 class SimMenuBar.DPMenu
          DOCUMENT ME!
 class SimMenuBar.OptionMenuListener
          Listens to the "Options" menu
 class SimMenuBar.SimListener
          Listens to the "Simulation" menu
 class SimMenuBar.SpeedMenu
          DOCUMENT ME!
 class SimMenuBar.StatsListener
          Listens to the "Statistics" menu
 class SimMenuBar.TLCMenu
          DOCUMENT ME!
 
Nested classes/interfaces inherited from class java.awt.MenuBar
java.awt.MenuBar.AccessibleAWTMenuBar
 
Nested classes/interfaces inherited from class java.awt.MenuComponent
java.awt.MenuComponent.AccessibleAWTMenuComponent
 
Constructor Summary
SimMenuBar(SimController sc, java.lang.String[] speedTexts)
          Creates a new SimMenuBar object.
 
Method Summary
 SimMenuBar.DPMenu getDPMenu()
          DOCUMENT ME!
 SimMenuBar.SpeedMenu getSpeedMenu()
          DOCUMENT ME!
 SimMenuBar.TLCMenu getTLCMenu()
          DOCUMENT ME!
protected  void setCycleCounterEnabled(boolean b)
          DOCUMENT ME!
protected  void setViewEnabled(boolean b)
          DOCUMENT ME!
 
Methods inherited from class java.awt.MenuBar
add, addNotify, countMenus, deleteShortcut, getAccessibleContext, getHelpMenu, getMenu, getMenuCount, getShortcutMenuItem, remove, remove, removeNotify, setHelpMenu, shortcuts
 
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, paramString, postEvent, processEvent, setFont, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Constructor Detail

SimMenuBar

public SimMenuBar(SimController sc,
                  java.lang.String[] speedTexts)
Creates a new SimMenuBar object.

Parameters:
sc - DOCUMENT ME!
speedTexts - DOCUMENT ME!
Method Detail

getSpeedMenu

public SimMenuBar.SpeedMenu getSpeedMenu()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTLCMenu

public SimMenuBar.TLCMenu getTLCMenu()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDPMenu

public SimMenuBar.DPMenu getDPMenu()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setViewEnabled

protected void setViewEnabled(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

setCycleCounterEnabled

protected void setCycleCounterEnabled(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!