Interface StageTitled
- All Known Implementing Classes:
AdminDashboardController, AdminUsersManagmentController, LoginController, ResetPasswordController, UserDashboardController, UserHomeController
public interface StageTitled
Marker interface for controllers that represent a top-level "scene" and
want the main window title to update automatically when they are pushed onto
or popped back into view.
Implement this interface and return an i18n key from
getSceneTitleKey(). The StackNavigable navigation hooks
will call I18nUtil.getValue(String)
with the returned key and apply the result to the stage title.
- Since:
- 2026-02-27 StageTitled.java
- Version:
- 1.0
- Author:
- @ZouariOmar (zouariomar20@gmail.com)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the i18n message key for this scene's stage title (e.g.
-
Method Details
-
getSceneTitleKey
String getSceneTitleKey()Returns the i18n message key for this scene's stage title (e.g."app.scene.title.sign_in").- Returns:
- i18n key for the current scene title
-