SudokuFX
|
View class for the full menu screen of the Sudoku application. More...
Public Member Functions | |
void | openingMainStage (final ISplashScreenView iSplashScreenView) |
Opens the main stage and handles the transition from splash screen to full menu. | |
Public Member Functions inherited from fr.softsf.sudokufx.SudoMain.IPrimaryStageView |
Package Attributes | |
FullMenuViewModel | fullMenuViewModel |
Private Member Functions | |
void | initialize () |
Initializes the full menu view. | |
void | onHelloButtonClick (ActionEvent event) |
Handles the click event of the Hello button. | |
void | openingConfigureStage () |
Configures the primary stage for the full menu view. | |
void | openingFadeIn (final Node node) |
Applies a fade-in effect to the given node. | |
void | openingMaximizePrimaryStage () |
Maximizes the primary stage to fill the primary screen. | |
void | openingShowStage () |
Shows the primary stage. | |
Private Attributes | |
Button | buttonHello |
FxmlService | fxmlService |
final Stage | primaryStage = new Stage() |
final Text | text1 = new Text("Helloj! ") |
Text | text2 = new Text("\ue86c") |
ToasterVBox | toaster |
Label | welcomeText |
Static Private Attributes | |
static final double | FADE_IN_IN_SECONDS_AFTER_SPLASHSCREEN = 0.3 |
View class for the full menu screen of the Sudoku application.
This class is responsible for displaying and managing the full menu UI.
|
private |
Initializes the full menu view.
This method is automatically called by JavaFX after loading the FXML.
|
private |
Handles the click event of the Hello button.
Displays various toast notifications and triggers a test in the view model.
event | The action event triggered by clicking the button |
|
private |
Configures the primary stage for the full menu view.
|
private |
Applies a fade-in effect to the given node.
node | The node to apply the fade-in effect to |
void fr.softsf.sudokufx.view.FullMenuView.openingMainStage | ( | final ISplashScreenView | iSplashScreenView | ) |
Opens the main stage and handles the transition from splash screen to full menu.
iSplashScreenView | The splash screen view interface |
Implements fr.softsf.sudokufx.SudoMain.IPrimaryStageView.
|
private |
Maximizes the primary stage to fill the primary screen.
|
private |
Shows the primary stage.
|
private |
|
staticprivate |
|
package |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |