ViewModel for the mini menu. More...
Public Member Functions | |
| MenuMiniViewModel () | |
| Initializes all bindings for accessible texts and tooltips, bound to the current locale. | |
| StringBinding | backupAccessibleTextProperty () |
| Returns the reactive binding for the backup button's accessible text. | |
| StringBinding | backupTooltipProperty () |
| Returns the reactive binding for the backup button's tooltip. | |
| StringBinding | helpAccessibleTextProperty () |
| Returns the reactive binding for the help button's accessible text. | |
| StringBinding | helpTooltipProperty () |
| Returns the reactive binding for the help button's tooltip. | |
| StringBinding | languageAccessibleTextProperty () |
| Returns the reactive binding for the language button's accessible text. | |
| StringBinding | languageTooltipProperty () |
| Returns the reactive binding for the language button's tooltip. | |
| StringBinding | menuMiniButtonLanguageIsoTextProperty () |
| Returns the reactive binding for the language button's ISO text. | |
| StringBinding | optionsAccessibleTextProperty () |
| Returns the reactive binding for the options button's accessible text. | |
| StringBinding | optionsTooltipProperty () |
| Returns the reactive binding for the options button's tooltip. | |
| StringBinding | playerAccessibleTextProperty () |
| Returns the reactive binding for the player button's accessible text. | |
| StringBinding | playerTooltipProperty () |
| Returns the reactive binding for the player button's tooltip. | |
| StringBinding | showAccessibleTextProperty () |
| Returns the reactive binding for the show button's accessible text. | |
| StringBinding | showTooltipProperty () |
| Returns the reactive binding for the show button's tooltip. | |
| StringBinding | solveAccessibleTextProperty () |
| Returns the reactive binding for the solve button's accessible text. | |
| StringBinding | solveTooltipProperty () |
| Returns the reactive binding for the solve button's tooltip. | |
Private Member Functions | |
| StringBinding | createStringBinding (String key) |
| Creates a StringBinding for a given key, bound to the current locale. | |
| StringBinding | createTooltipBinding (String key) |
| Creates a tooltip StringBinding by appending the default accessibility role description. | |
Private Attributes | |
| final StringBinding | backupAccessibleText |
| final StringBinding | backupTooltip |
| final StringBinding | helpAccessibleText |
| final StringBinding | helpTooltip |
| final StringBinding | languageAccessibleText |
| final StringBinding | languageIso |
| final StringBinding | languageTooltip |
| final StringBinding | optionsAccessibleText |
| final StringBinding | optionsTooltip |
| final StringBinding | playerAccessibleText |
| final StringBinding | playerTooltip |
| final StringBinding | showAccessibleText |
| final StringBinding | showTooltip |
| final StringBinding | solveAccessibleText |
| final StringBinding | solveTooltip |
Static Private Attributes | |
| static final String | MENU_ACCESSIBILITY_ROLE_DESCRIPTION_CLOSED |
ViewModel for the mini menu.
Provides internationalized accessible texts and tooltips for each button in the mini menu. Texts automatically update when the application's locale changes.
| fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.MenuMiniViewModel | ( | ) |
Initializes all bindings for accessible texts and tooltips, bound to the current locale.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.backupAccessibleTextProperty | ( | ) |
Returns the reactive binding for the backup button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.backupTooltipProperty | ( | ) |
Returns the reactive binding for the backup button's tooltip.
|
private |
Creates a StringBinding for a given key, bound to the current locale.
| key | the translation key |
|
private |
Creates a tooltip StringBinding by appending the default accessibility role description.
| key | the base translation key |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.helpAccessibleTextProperty | ( | ) |
Returns the reactive binding for the help button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.helpTooltipProperty | ( | ) |
Returns the reactive binding for the help button's tooltip.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.languageAccessibleTextProperty | ( | ) |
Returns the reactive binding for the language button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.languageTooltipProperty | ( | ) |
Returns the reactive binding for the language button's tooltip.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.menuMiniButtonLanguageIsoTextProperty | ( | ) |
Returns the reactive binding for the language button's ISO text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.optionsAccessibleTextProperty | ( | ) |
Returns the reactive binding for the options button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.optionsTooltipProperty | ( | ) |
Returns the reactive binding for the options button's tooltip.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.playerAccessibleTextProperty | ( | ) |
Returns the reactive binding for the player button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.playerTooltipProperty | ( | ) |
Returns the reactive binding for the player button's tooltip.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.showAccessibleTextProperty | ( | ) |
Returns the reactive binding for the show button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.showTooltipProperty | ( | ) |
Returns the reactive binding for the show button's tooltip.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.solveAccessibleTextProperty | ( | ) |
Returns the reactive binding for the solve button's accessible text.
| StringBinding fr.softsf.sudokufx.viewmodel.MenuMiniViewModel.solveTooltipProperty | ( | ) |
Returns the reactive binding for the solve button's tooltip.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |