Package org.fulib.fx.constructs
Class Modals
java.lang.Object
org.fulib.fx.constructs.Modals
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classModals.ModalBuilder<T extends javafx.scene.Parent>Builder class for displaying modals. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<javafx.stage.Stage>Returns a list of all visible modal stagesstatic booleanisModal(javafx.stage.Window window) <T extends javafx.scene.Parent>
Modals.ModalBuilder<T>modal(T component) Creates a new modal instance for building modals.
-
Constructor Details
-
Modals
-
-
Method Details
-
modal
Creates a new modal instance for building modals.- Type Parameters:
T- The type of component- Parameters:
component- The component instance to display- Returns:
- A modal instance
-
getModalStages
Returns a list of all visible modal stages- Returns:
- A list of all visible modal stages
-
isModal
public static boolean isModal(javafx.stage.Window window)
-