Class ReactiveManager
- java.lang.Object
-
- org.contextfx.components.views.Manager
-
- org.contextfx.reactive.components.views.ReactiveManager
-
public class ReactiveManager extends Manager
- Author:
- Ramon Rangel Osorio <ramon.rangel@protonmail.com>
-
-
Field Summary
-
Fields inherited from class org.contextfx.components.views.Manager
components, mainView, MANAGER, views
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReactiveManagergetRactiveManager()Returns the ReactiveManager instance.static ReactiveManagergetRactiveManager(Map<Class<?>,Map<String,Object>> components)Retrieves the ReactiveManager instance with the given components.voidinit(javafx.stage.Stage stage, Class<? extends javafx.application.Application> application)Initializes the stage, loads the given application reactively, and switches the view to the main view.-
Methods inherited from class org.contextfx.components.views.Manager
getManager, getManager, getStage, load, loadAppConfig, loadFxml, loadViews, setStage, switchSyncView, switchView
-
-
-
-
Method Detail
-
getRactiveManager
public static final ReactiveManager getRactiveManager()
Returns the ReactiveManager instance.- Returns:
- the ReactiveManager instance
-
getRactiveManager
public static final ReactiveManager getRactiveManager(Map<Class<?>,Map<String,Object>> components)
Retrieves the ReactiveManager instance with the given components.- Parameters:
components- a map of components, where the key is the class and the value is a map of properties- Returns:
- the ReactiveManager instance
-
init
public void init(javafx.stage.Stage stage, Class<? extends javafx.application.Application> application)Initializes the stage, loads the given application reactively, and switches the view to the main view.
-
-