SudokuFX
Loading...
Searching...
No Matches
fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel Class Reference

ViewModel for the maxi menu. More...

Collaboration diagram for fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel:

Public Member Functions

 MenuMaxiViewModel ()
 Initializes all bindings for accessible texts, tooltips, and labels, bound to the current locale.
StringBinding helpAccessibleTextProperty ()
 Returns the reactive binding for the help button's accessible text.
StringBinding helpTextProperty ()
 Returns the reactive binding for the help button's label text.
StringBinding helpTooltipProperty ()
 Returns the reactive binding for the help button's label text.
StringBinding languageAccessibleTextProperty ()
 Returns the reactive binding for the language button's accessible text.
StringBinding languageIsoProperty ()
 Returns the reactive binding for the language button's ISO code text.
StringBinding languageTextProperty ()
 Returns the reactive binding for the language button's label text.
StringBinding languageTooltipProperty ()
 Returns the reactive binding for the language button's ISO code text.
StringBinding reduceAccessibleTextProperty ()
 Returns the reactive binding for the reduce button's accessible text.
StringBinding reduceTextProperty ()
 Returns the reactive binding for the reduce button's label text.
StringBinding reduceTooltipProperty ()
 Returns the reactive binding for the reduce button's tooltip.

Private Member Functions

StringBinding createStringBinding (String key)
 Creates a StringBinding for a given key, bound to the current locale.

Private Attributes

final StringBinding helpAccessibleText
final StringBinding helpText
final StringBinding helpTooltip
final StringBinding languageAccessibleText
final StringBinding languageIso
final StringBinding languageText
final StringBinding languageTooltip
final StringBinding reduceAccessibleText
final StringBinding reduceText
final StringBinding reduceTooltip

Detailed Description

ViewModel for the maxi menu.

Provides internationalized accessible texts, tooltips, and labels for each button in the maxi menu. Texts automatically update when the application's locale changes.

Constructor & Destructor Documentation

◆ MenuMaxiViewModel()

fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.MenuMaxiViewModel ( )

Initializes all bindings for accessible texts, tooltips, and labels, bound to the current locale.

Here is the call graph for this function:

Member Function Documentation

◆ createStringBinding()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.createStringBinding ( String key)
private

Creates a StringBinding for a given key, bound to the current locale.

Parameters
keythe translation key
Returns
the bound string

◆ helpAccessibleTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpAccessibleTextProperty ( )

Returns the reactive binding for the help button's accessible text.

Returns
the StringBinding for the accessible text
Here is the call graph for this function:

◆ helpTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpTextProperty ( )

Returns the reactive binding for the help button's label text.

Returns
the StringBinding for the label text
Here is the call graph for this function:

◆ helpTooltipProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpTooltipProperty ( )

Returns the reactive binding for the help button's label text.

Returns
the StringBinding for the label text
Here is the call graph for this function:

◆ languageAccessibleTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageAccessibleTextProperty ( )

Returns the reactive binding for the language button's accessible text.

Returns
the StringBinding for the accessible text
Here is the call graph for this function:

◆ languageIsoProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageIsoProperty ( )

Returns the reactive binding for the language button's ISO code text.

Returns
the StringBinding for the ISO code
Here is the call graph for this function:

◆ languageTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageTextProperty ( )

Returns the reactive binding for the language button's label text.

Returns
the StringBinding for the label text
Here is the call graph for this function:

◆ languageTooltipProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageTooltipProperty ( )

Returns the reactive binding for the language button's ISO code text.

Returns
the StringBinding for the ISO code
Here is the call graph for this function:

◆ reduceAccessibleTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceAccessibleTextProperty ( )

Returns the reactive binding for the reduce button's accessible text.

Returns
the StringBinding for the accessible text
Here is the call graph for this function:

◆ reduceTextProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceTextProperty ( )

Returns the reactive binding for the reduce button's label text.

Returns
the StringBinding for the label text
Here is the call graph for this function:

◆ reduceTooltipProperty()

StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceTooltipProperty ( )

Returns the reactive binding for the reduce button's tooltip.

Returns
the StringBinding for the tooltip
Here is the call graph for this function:

Member Data Documentation

◆ helpAccessibleText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpAccessibleText
private

◆ helpText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpText
private

◆ helpTooltip

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.helpTooltip
private

◆ languageAccessibleText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageAccessibleText
private

◆ languageIso

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageIso
private

◆ languageText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageText
private

◆ languageTooltip

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.languageTooltip
private

◆ reduceAccessibleText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceAccessibleText
private

◆ reduceText

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceText
private

◆ reduceTooltip

final StringBinding fr.softsf.sudokufx.viewmodel.MenuMaxiViewModel.reduceTooltip
private

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