SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.view.FullMenuView Class Reference

View class for the full menu screen of the Sudoku application. More...

+ Inheritance diagram for fr.softsf.sudokufx.view.FullMenuView:
+ Collaboration diagram for fr.softsf.sudokufx.view.FullMenuView:

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
 

Detailed Description

View class for the full menu screen of the Sudoku application.

This class is responsible for displaying and managing the full menu UI.

Member Function Documentation

◆ initialize()

void fr.softsf.sudokufx.view.FullMenuView.initialize ( )
private

Initializes the full menu view.

This method is automatically called by JavaFX after loading the FXML.

+ Here is the call graph for this function:

◆ onHelloButtonClick()

void fr.softsf.sudokufx.view.FullMenuView.onHelloButtonClick ( ActionEvent event)
private

Handles the click event of the Hello button.

Displays various toast notifications and triggers a test in the view model.

Parameters
eventThe action event triggered by clicking the button
+ Here is the call graph for this function:

◆ openingConfigureStage()

void fr.softsf.sudokufx.view.FullMenuView.openingConfigureStage ( )
private

Configures the primary stage for the full menu view.

◆ openingFadeIn()

void fr.softsf.sudokufx.view.FullMenuView.openingFadeIn ( final Node node)
private

Applies a fade-in effect to the given node.

Parameters
nodeThe node to apply the fade-in effect to

◆ openingMainStage()

void fr.softsf.sudokufx.view.FullMenuView.openingMainStage ( final ISplashScreenView iSplashScreenView)

Opens the main stage and handles the transition from splash screen to full menu.

Parameters
iSplashScreenViewThe splash screen view interface

Implements fr.softsf.sudokufx.SudoMain.IPrimaryStageView.

+ Here is the call graph for this function:

◆ openingMaximizePrimaryStage()

void fr.softsf.sudokufx.view.FullMenuView.openingMaximizePrimaryStage ( )
private

Maximizes the primary stage to fill the primary screen.

◆ openingShowStage()

void fr.softsf.sudokufx.view.FullMenuView.openingShowStage ( )
private

Shows the primary stage.

Member Data Documentation

◆ buttonHello

Button fr.softsf.sudokufx.view.FullMenuView.buttonHello
private

◆ FADE_IN_IN_SECONDS_AFTER_SPLASHSCREEN

final double fr.softsf.sudokufx.view.FullMenuView.FADE_IN_IN_SECONDS_AFTER_SPLASHSCREEN = 0.3
staticprivate

◆ fullMenuViewModel

FullMenuViewModel fr.softsf.sudokufx.view.FullMenuView.fullMenuViewModel
package

◆ fxmlService

FxmlService fr.softsf.sudokufx.view.FullMenuView.fxmlService
private

◆ primaryStage

final Stage fr.softsf.sudokufx.view.FullMenuView.primaryStage = new Stage()
private

◆ text1

final Text fr.softsf.sudokufx.view.FullMenuView.text1 = new Text("Helloj! ")
private

◆ text2

Text fr.softsf.sudokufx.view.FullMenuView.text2 = new Text("\ue86c")
private

◆ toaster

ToasterVBox fr.softsf.sudokufx.view.FullMenuView.toaster
private

◆ welcomeText

Label fr.softsf.sudokufx.view.FullMenuView.welcomeText
private

The documentation for this class was generated from the following file: