Class RootController
java.lang.Object
com.serinity.accesscontrol.controller.RootController
- All Implemented Interfaces:
StackNavigable, StatusMessageProvider
`root.fxml` controller class
- Since:
- 2026-02-21 RootController.java
- Version:
- 1.0
- Author:
- @ZouariOmar (zouariomar20@gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.StackPaneReturns the StackPane hosting dynamic views.voidshowStatusMessage(String message, MessageStatus status) Shows a status message on the UI.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StackNavigable
pop, push, push, replace, replace, setStackHost, setStatusProvider
-
Constructor Details
-
RootController
public RootController()Creates a new root controller.
-
-
Method Details
-
getStackHost
public javafx.scene.layout.StackPane getStackHost()Description copied from interface:StackNavigableReturns the StackPane hosting dynamic views.- Specified by:
getStackHostin interfaceStackNavigable- Returns:
- the stack host that contains dynamic views
-
showStatusMessage
Description copied from interface:StatusMessageProviderShows a status message on the UI.- Specified by:
showStatusMessagein interfaceStatusMessageProvider- Parameters:
message- the text to displaystatus- the type of message (SUCCESS, ERROR, WARNING, INFO)
-