![]() |
SudokuFX
|
ViewModel for managing "solve" menu UI state and accessibility texts. More...
Collaboration diagram for fr.softsf.sudokufx.viewmodel.MenuSolveViewModel:Public Member Functions | |
| MenuSolveViewModel () | |
| void | setSolvePercentage (int value) |
| Sets the value of the percentage property. | |
| StringBinding | solveClearAccessibleTextProperty () |
| StringBinding | solveClearRoleDescriptionProperty () |
| StringBinding | solveClearTooltipProperty () |
| StringBinding | solveMenuMaxiAccessibleTextProperty () |
| StringBinding | solveMenuMaxiRoleDescriptionProperty () |
| StringBinding | solveMenuMaxiTextProperty () |
| StringBinding | solveMenuMaxiTooltipProperty () |
| IntegerProperty | solvePercentageProperty () |
| StringBinding | solveReduceAccessibleTextProperty () |
| StringBinding | solveReduceTextProperty () |
| StringBinding | solveReduceTooltipProperty () |
| StringBinding | solveRoleDescriptionProperty () |
| StringBinding | solveTextProperty () |
Private Member Functions | |
| StringBinding | createFormattedAndConcatenatedBinding (String key, String suffixKey) |
| Creates a localized StringBinding by concatenating the value of two keys. | |
| StringBinding | createStringBinding (String key) |
| Creates a simple localized StringBinding for the given key. | |
Private Attributes | |
| final StringBinding | solveClearAccessibleText |
| final StringBinding | solveClearRoleDescription |
| final StringBinding | solveClearTooltip |
| final StringBinding | solveMenuMaxiAccessibleText |
| final StringBinding | solveMenuMaxiRoleDescription |
| final StringBinding | solveMenuMaxiText |
| final StringBinding | solveMenuMaxiTooltip |
| final IntegerProperty | solvePercentage = new SimpleIntegerProperty(-1) |
| final StringBinding | solveReduceAccessibleText |
| final StringBinding | solveReduceText |
| final StringBinding | solveReduceTooltip |
| final StringBinding | solveRoleDescription |
| final StringBinding | solveText |
Static Private Attributes | |
| static final String | MENU_ACCESSIBILITY_ROLE_DESCRIPTION_CLOSED |
| static final String | MENU_ACCESSIBILITY_ROLE_DESCRIPTION_OPENED |
ViewModel for managing "solve" menu UI state and accessibility texts.
Holds a percentage value used for solving, and provides localized StringBindings for UI labels, accessibility, tooltips, and role descriptions.
Uses I18n singleton for localization with automatic updates on locale changes.
| fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.MenuSolveViewModel | ( | ) |
Here is the call graph for this function:
|
private |
Creates a localized StringBinding by concatenating the value of two keys.
Updates automatically when the locale changes.
| key | the base key |
| suffixKey | the key for the suffix to append |
|
private |
Creates a simple localized StringBinding for the given key.
Updates automatically when the locale changes.
| key | the i18n key |
| void fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.setSolvePercentage | ( | int | value | ) |
Sets the value of the percentage property.
| value | the new percentage value |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveClearAccessibleTextProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveClearRoleDescriptionProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveClearTooltipProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveMenuMaxiAccessibleTextProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveMenuMaxiRoleDescriptionProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveMenuMaxiTextProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveMenuMaxiTooltipProperty | ( | ) |
| IntegerProperty fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solvePercentageProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveReduceAccessibleTextProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveReduceTextProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveReduceTooltipProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveRoleDescriptionProperty | ( | ) |
| StringBinding fr.softsf.sudokufx.viewmodel.MenuSolveViewModel.solveTextProperty | ( | ) |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |