marg.gui
Class MainGUIHandler
java.lang.Object
marg.gui.MainGUIHandler
public class MainGUIHandler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)