|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.controllers.MainControl
public class MainControl
Main controller which executes component controllers and actions (Singleton design pattern used)
Constructor Summary | |
---|---|
protected |
MainControl()
|
Method Summary | |
---|---|
HelpControl |
getHelpControl()
A function, which returns the reference to controller for help panel |
static MainControl |
getInstance()
Method used to create a Singleton |
LoaderControl |
getLoaderControl()
A function, which returns the reference to controller for loader |
MenuControl |
getMainMenuController()
A function, which returns the controller for application menu |
MainView |
getMainView()
A function, which returns the istance of the main window. |
ResourcesModel |
getResourceModel()
A function, which returns the reference to class which handles resources of application |
ResultsControl |
getResultsControl()
A function, which returns the reference to controller for results |
SaveControl |
getSaveControl()
A function, which returns the reference to controller for saving the results |
SettingsControl |
getSettingsControl()
A function, which returns the reference to controller for preprocessing settings |
void |
gotoResults(DocsRepresentDB database)
Method is used to change from pre-processing and representation setting to its results. |
void |
gotoSave(DocsRepresentDB database)
Method is used to change from pre-processing resuts to save the results tab. |
void |
gotoSettings(DocumentsDatabase database)
Method is used to change from data reading to pre-processing and representation setting. |
void |
startAppliacation()
The method initializes the main window of the application and initializes component controllers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MainControl()
Method Detail |
---|
public static MainControl getInstance()
public void startAppliacation()
public void gotoSettings(DocumentsDatabase database)
database
- reference to a database of filespublic void gotoResults(DocsRepresentDB database)
database
- reference to a database of document representationspublic void gotoSave(DocsRepresentDB database)
database
- reference to a database of document representationspublic MainView getMainView()
public MenuControl getMainMenuController()
public ResourcesModel getResourceModel()
public HelpControl getHelpControl()
public LoaderControl getLoaderControl()
public SettingsControl getSettingsControl()
public ResultsControl getResultsControl()
public SaveControl getSaveControl()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |