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 Classes
    Modifier and Type
    Class
    Description
    static enum 
    Represents 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
    Constructor
    Description
    Gui()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Changes the runtime theme context and triggers immediate scene redraw.
    static org.kordamp.ikonli.javafx.FontIcon
    createIcon(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.Stage
    Retrieves the primary JavaFX Stage window context associated with this manager.
    boolean
     
    void
    Updates central contextual execution active jobs binding structures hooks.
    void
    setInitialJobConfigurations(javafx.collections.ObservableList<SyncJobContext> jobList)
    Initializes saved job configurations within the runtime context.
    void
    Updates global active tracking routes navigation indexes updating workspace render cycles.
    void
    showStatusNotification(String message, WorkspaceView.NotifyStatus notifyStatus, int durationSec)
    Proxy method to delegate temporary status messages to the active workspace view boundary.
    void
    start(javafx.stage.Stage primaryStage)
     

    Methods inherited from class javafx.application.Application

    getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      start in class javafx.application.Application
    • setViewState

      public void setViewState(Gui.ViewState state)
      Updates global active tracking routes navigation indexes updating workspace render cycles.
      Parameters:
      state - Target destination navigation path selection layer.
    • setCurrentActiveJob

      public void setCurrentActiveJob(SyncJobContext job)
      Updates central contextual execution active jobs binding structures hooks.
      Parameters:
      job - Active core source entity context.
    • changeTheme

      public void changeTheme(AppTheme newTheme)
      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

      public void setInitialJobConfigurations(javafx.collections.ObservableList<SyncJobContext> jobList)
      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 of SyncJobContext instances to set
    • getJobList

      public javafx.collections.ObservableList<SyncJobContext> getJobList()
      Returns the observable list of currently tracked synchronization jobs.
      Returns:
      the observable list of SyncJobContext instances
    • getWindowStage

      public javafx.stage.Stage getWindowStage()
      Retrieves the primary JavaFX Stage window context associated with this manager.
      Returns:
      the current Stage instance
    • getAvailableThemes

      public javafx.collections.ObservableList<AppTheme> getAvailableThemes()
      Returns the list of all application themes available for selection.
      Returns:
      an observable list of AppTheme options
    • getCurrentTheme

      public AppTheme getCurrentTheme()
      Retrieves the currently active application theme configuration.
      Returns:
      the currently applied AppTheme
    • isShowing

      public boolean isShowing()