Module de.seggebaeing.sqlanalyzer
Class HomeController
java.lang.Object
de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
de.seggebaeing.sqlanalyzer.presentation.controller.general.HomeController
- All Implemented Interfaces:
javafx.fxml.Initializable
Controller for the home screen providing navigation to domain overviews
(LLMs, prompts, prompt types, sample/generated queries) and to the
generation/evaluation workflows. Also wires a contextual help link.
Intended for FXML use on the JavaFX Application Thread.
- Since:
- 1.0
- Author:
- Felix Seggebäing
-
Field Summary
Fields inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Opens the Generated Query overview window with no filter active.getTitle()
Returns the fixed title for the home screen.void
initialize
(URL location, ResourceBundle resources) Wires navigation button handlers for all sections and enables the help link for the general overview.void
Opens the LLM overview window with no filter active.void
Opens the Prompt overview window with no filter active.void
Opens the Prompt Type overview window with no filter active.void
Opens the Sample Query overview window with no filter active.Methods inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
closeWindow, enableHelp, getRoot, getStage
-
Constructor Details
-
HomeController
public HomeController()
-
-
Method Details
-
initialize
Wires navigation button handlers for all sections and enables the help link for the general overview.- Parameters:
location
- FXML location (may benull
)resources
- localization bundle (may benull
)- Implementation Note:
- Invoked by the FXML loader on the JavaFX Application Thread.
-
getTitle
Returns the fixed title for the home screen.- Specified by:
getTitle
in classTitledInitializableWindow
- Returns:
- the string
"Home"
-
sampleQueryBtnClick
public void sampleQueryBtnClick()Opens the Sample Query overview window with no filter active. -
llmOverviewBtnClick
public void llmOverviewBtnClick()Opens the LLM overview window with no filter active. -
promptTypeOverviewBtnClick
public void promptTypeOverviewBtnClick()Opens the Prompt Type overview window with no filter active. -
promptOverviewBtnClick
public void promptOverviewBtnClick()Opens the Prompt overview window with no filter active. -
generatedQueriesBtnClick
public void generatedQueriesBtnClick()Opens the Generated Query overview window with no filter active.
-