marg.gui
Class MainGUIHandler

java.lang.Object
  extended by marg.gui.MainGUIHandler

public class MainGUIHandler
extends java.lang.Object


Method Summary
 void addButtonMapping(java.lang.String moduleName, javax.swing.JToggleButton button)
           
 void addModule(ModuleTabs moduleTabs)
           
 void addModuleMapping(RobotModule module)
           
 void addMonitoredVariable(MonitoredVariable monitoredVar)
           
 java.util.Collection<RobotModule> getAllModules()
           
 ModuleTabs getCurrentModule()
           
static MainGUIHandler getInstance()
           
 MargGUI getMainGUI()
           
 javax.swing.JToggleButton getMenuButtonByName(java.lang.String moduleName)
           
 RobotModule getModuleByName(java.lang.String moduleName)
           
 ModuleMenu getModuleMenu()
           
 void setMainGUI(MargGUI margGUI)
           
 void setModuleMenu(ModuleMenu modMenu)
           
 void showModule(java.lang.String moduleName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MainGUIHandler getInstance()

addModuleMapping

public void addModuleMapping(RobotModule module)

getModuleByName

public RobotModule getModuleByName(java.lang.String moduleName)

getAllModules

public java.util.Collection<RobotModule> getAllModules()

addButtonMapping

public void addButtonMapping(java.lang.String moduleName,
                             javax.swing.JToggleButton button)

getMenuButtonByName

public javax.swing.JToggleButton getMenuButtonByName(java.lang.String moduleName)

setModuleMenu

public void setModuleMenu(ModuleMenu modMenu)

getMainGUI

public MargGUI getMainGUI()

getModuleMenu

public ModuleMenu getModuleMenu()

setMainGUI

public void setMainGUI(MargGUI margGUI)

addModule

public void addModule(ModuleTabs moduleTabs)

getCurrentModule

public ModuleTabs getCurrentModule()

showModule

public void showModule(java.lang.String moduleName)

addMonitoredVariable

public void addMonitoredVariable(MonitoredVariable monitoredVar)