Class Gui
java.lang.Object
javafx.application.Application
de.spiritscorp.datasync.gui.Gui
public class Gui
extends javafx.application.Application
Main Entry Point Orchestrator managing operational state transactions switcher channels,
initialization parameters, and global view configuration lifecycle processes.
- Author:
- Tom Spirit
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents the structural visibility layers and active UI states of the main Viewport container.Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeTheme(AppTheme newTheme) Changes the runtime theme context and triggers immediate scene redraw.static org.kordamp.ikonli.javafx.FontIconcreateIcon(org.kordamp.ikonli.Ikon ikon) Utility method allocating custom font vector metrics icons definitions graphics layouts.javafx.collections.ObservableList<AppTheme> Returns the list of all application themes available for selection.Retrieves the currently active application theme configuration.javafx.collections.ObservableList<SyncJobContext> Returns the observable list of currently tracked synchronization jobs.javafx.stage.StageRetrieves the primary JavaFX Stage window context associated with this manager.booleanvoidUpdates central contextual execution active jobs binding structures hooks.voidsetInitialJobConfigurations(javafx.collections.ObservableList<SyncJobContext> jobList) Initializes saved job configurations within the runtime context.voidsetViewState(Gui.ViewState state) Updates global active tracking routes navigation indexes updating workspace render cycles.voidshowStatusNotification(String message, WorkspaceView.NotifyStatus notifyStatus, int durationSec) Proxy method to delegate temporary status messages to the active workspace view boundary.voidstart(javafx.stage.Stage primaryStage) Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
Gui
public Gui()
-
-
Method Details
-
createIcon
public static org.kordamp.ikonli.javafx.FontIcon createIcon(org.kordamp.ikonli.Ikon ikon) Utility method allocating custom font vector metrics icons definitions graphics layouts.- Parameters:
ikon- Selected base vector item index.- Returns:
- Prepared graphic FontIcon instance node.
-
start
public void start(javafx.stage.Stage primaryStage) - Specified by:
startin classjavafx.application.Application
-
setViewState
Updates global active tracking routes navigation indexes updating workspace render cycles.- Parameters:
state- Target destination navigation path selection layer.
-
setCurrentActiveJob
Updates central contextual execution active jobs binding structures hooks.- Parameters:
job- Active core source entity context.
-
changeTheme
Changes the runtime theme context and triggers immediate scene redraw.- Parameters:
newTheme- The target AppTheme strategy implementation.
-
showStatusNotification
public void showStatusNotification(String message, WorkspaceView.NotifyStatus notifyStatus, int durationSec) Proxy method to delegate temporary status messages to the active workspace view boundary.- Parameters:
message- The localized text string to display.notifyStatus- The theme-defined CSS class for contextual coloring.durationSec- The visibility lifespan of the message in seconds.
-
setInitialJobConfigurations
Initializes saved job configurations within the runtime context. This resets the current tracking list and populates it with the provided synchronization jobs.- Parameters:
jobList- the observable list ofSyncJobContextinstances to set
-
getJobList
Returns the observable list of currently tracked synchronization jobs.- Returns:
- the observable list of
SyncJobContextinstances
-
getWindowStage
public javafx.stage.Stage getWindowStage()Retrieves the primary JavaFX Stage window context associated with this manager.- Returns:
- the current
Stageinstance
-
getAvailableThemes
-
getCurrentTheme
-
isShowing
public boolean isShowing()
-