Uses of Interface
org.tentackle.fx.NotificationBuilder
Packages that use NotificationBuilder
-
Uses of NotificationBuilder in org.tentackle.fx
Classes in org.tentackle.fx that implement NotificationBuilderModifier and TypeClassDescriptionclassDefault implementation of a notification builder.Methods in org.tentackle.fx that return NotificationBuilderModifier and TypeMethodDescriptionDefaultNotificationBuilder.button(String text, javafx.scene.Node graphic, boolean isDefault, Runnable action) NotificationBuilder.button(String text, javafx.scene.Node graphic, boolean isDefault, Runnable action) Adds a button.DefaultNotificationBuilder.closeButton(NotificationBuilder.CloseButtonMode closeButtonMode) NotificationBuilder.closeButton(NotificationBuilder.CloseButtonMode closeButtonMode) Sets the close button mode.DefaultNotificationBuilder.content(javafx.scene.Node content) NotificationBuilder.content(javafx.scene.Node content) Sets a node as an alternative to details.DefaultFxFactory.createNotificationBuilder()FxFactory.createNotificationBuilder()Creates a notification builder.
Notifications are a lightweight alternative toAlerts.Applies a CSS stylesheet.
Overrides the default stylesheetorg/tentackle/fx/notification.css.Sets the detail message.
A stacktrace, for example.DefaultNotificationBuilder.duration(long duration) NotificationBuilder.duration(long duration) Sets a duration to close the notification automatically.
Ignored if there is no hide action.DefaultNotificationBuilder.fadeIn(long fadeIn) NotificationBuilder.fadeIn(long fadeIn) Sets a fadein effect to show the notification smoothly.DefaultNotificationBuilder.fadeOut(long fadeOut) NotificationBuilder.fadeOut(long fadeOut) Sets a fadeout effect to close the notification smoothly.
Ignored if there is no hide action.DefaultNotificationBuilder.graphic(javafx.scene.Node graphic) NotificationBuilder.graphic(javafx.scene.Node graphic) Sets the graphic.Sets the hide action when a button is pressed.Sets the text message.Sets the title.DefaultNotificationBuilder.type(NotificationBuilder.Type type) NotificationBuilder.type(NotificationBuilder.Type type) Sets the notification type.