Class SimplePopups


  • public final class SimplePopups
    extends Object
    Author:
    Clément Fournier
    • Method Detail

      • showActionFeedback

        public static org.reactfx.EventStream<?> showActionFeedback​(@NonNull javafx.scene.Node owner,
                                                                    javafx.scene.control.Alert.AlertType type,
                                                                    @NonNull String message)
      • showStickyNotification

        public static org.reactfx.EventStream<?> showStickyNotification​(@NonNull javafx.scene.Node owner,
                                                                        javafx.scene.control.Alert.AlertType type,
                                                                        @NonNull String message)
      • showStickyNotification

        public static org.reactfx.EventStream<?> showStickyNotification​(@NonNull javafx.scene.Node owner,
                                                                        javafx.scene.control.Alert.AlertType type,
                                                                        @NonNull String message,
                                                                        double offsetX)
      • showActionFeedback

        public static org.reactfx.EventStream<?> showActionFeedback​(@NonNull javafx.scene.Node owner,
                                                                    @Nullable javafx.scene.Node graphic,
                                                                    @NonNull String message,
                                                                    double offsetX,
                                                                    boolean stick,
                                                                    String... cssClasses)
        Show a transient popup with a message, to let the user know an action was performed.
        Parameters:
        owner - Node next to which the popup will be shown
        Returns:
      • showLicensePopup

        public static void showLicensePopup()
      • showAboutPopup

        public static void showAboutPopup​(DesignerRoot root)