java.lang.Object
de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
de.seggebaeing.sqlanalyzer.presentation.controller.general.HomeController
All Implemented Interfaces:
javafx.fxml.Initializable

public class HomeController extends TitledInitializableWindow
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
  • Constructor Details

    • HomeController

      public HomeController()
  • Method Details

    • initialize

      public void initialize(URL location, ResourceBundle resources)
      Wires navigation button handlers for all sections and enables the help link for the general overview.
      Parameters:
      location - FXML location (may be null)
      resources - localization bundle (may be null)
      Implementation Note:
      Invoked by the FXML loader on the JavaFX Application Thread.
    • getTitle

      public String getTitle()
      Returns the fixed title for the home screen.
      Specified by:
      getTitle in class TitledInitializableWindow
      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.