Creates a new instance of JavaFxWindowManager with the given style sheet provider.
Creates a new instance of JavaFxWindowManager with the given style sheet provider. A default stage factory is used.
the StyleSheetProvider
the StyleSheetProvider
the StageFactory to be used
<invalid inheritdoc annotation> This implementation works like createFrame(), but the stage's modality is set correspondingly to the modal argument.
<invalid inheritdoc annotation> This implementation works like createFrame(), but the stage's modality is set correspondingly to the modal argument.
<invalid inheritdoc annotation> This implementation creates a normal Stage object with no modality.
<invalid inheritdoc annotation> This implementation creates a normal Stage object with no modality. The stage's parent window is determined from the passed in WindowBuilderData object; if defined, the newly created window is a child window, otherwise a top-level window.
<invalid inheritdoc annotation> This implementation behaves the same as createFrame() as internal frames are not supported by Java FX.
<invalid inheritdoc annotation> This implementation behaves the same as createFrame() as internal frames are not supported by Java FX. So calling this method only makes sense when a parent window is provided in the WindowBuilderData object.
Initializes the window's menu bar if one is defined.
Initializes the window's menu bar if one is defined.
the window
the optional menu bar
Returns the factory for creating new stages.
Returns the factory for creating new stages.
the StageFactory
1.3.1
the StyleSheetProvider
The Java FX-based implementation of the WindowManager interface.
This class creates Stage instances wrapped by Java FX-specific implementations of the Window interface. Stages can be used for all types of windows supported by the JGUIraffe library. Note that internal frames are not really supported; they are simulated by regular stages which are parents of the top-level stage.
Because CSS style sheets are managed by Scene objects and these scenes are created together with stages, this class is also responsible for adding custom CSS style sheet URLs. For this purpose, an instance of StyleSheetProvider has to be passed to the constructor. All style sheet URLs defined by this instance are added to all newly created scenes.