ch.tatool.app
Class GuiController
java.lang.Object
ch.tatool.app.GuiController
public class GuiController
- extends Object
This class acts as the gui and data manager for the Tatool.
It contains the glue code between the different windows to keep one from each
other separated and centrally managed.
The controller also manages default module objects to be loaded, but NOT the
default account loading (as this is managed outside the account/module data
structure.
- Author:
- Michael Ruflin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGIN_FRAME
public static final String LOGIN_FRAME
- See Also:
- Constant Field Values
MODULE_MANAGER_FRAME
public static final String MODULE_MANAGER_FRAME
- See Also:
- Constant Field Values
MODULE_OPEN_FRAME
public static final String MODULE_OPEN_FRAME
- See Also:
- Constant Field Values
MODULE_OVERVIEW_FRAME
public static final String MODULE_OVERVIEW_FRAME
- See Also:
- Constant Field Values
GuiController
public GuiController()
init
public void init()
- Called by spring after all properties have been set.
setEnabled
public void setEnabled(boolean enabled)
- Enable the controller. If enabled, the controller will react to module
and account changes by adapting the UI accordingly.
startGUI
public void startGUI()
- Starts the controller
displayModuleOverviewFrame
public void displayModuleOverviewFrame()
displayModuleManagerFrame
public void displayModuleManagerFrame()
displayLoginFrame
public void displayLoginFrame()
setModule
public void setModule(Module module)
setUserAccount
public void setUserAccount(UserAccount userAccount)
shutdown
public void shutdown()
getUserAccount
public UserAccount getUserAccount()
getModule
public Module getModule()
getLoginFrame
public LoginFrame getLoginFrame()
setLoginFrame
public void setLoginFrame(LoginFrame loginFrame)
getModuleOverviewFrame
public ModuleOverviewFrame getModuleOverviewFrame()
setModuleOverviewFrame
public void setModuleOverviewFrame(ModuleOverviewFrame moduleOverviewFrame)
getUserAccountService
public UserAccountService getUserAccountService()
setUserAccountService
public void setUserAccountService(UserAccountService userAccountService)
getModuleService
public ModuleService getModuleService()
setModuleService
public void setModuleService(ModuleService moduleService)
getExecutionService
public ExecutionService getExecutionService()
setExecutionService
public void setExecutionService(ExecutionService executionService)
getModuleManagerFrame
public ModuleManagerFrame getModuleManagerFrame()
setModuleManagerFrame
public void setModuleManagerFrame(ModuleManagerFrame moduleManagerFrame)
Copyright © 2012. All Rights Reserved.