Notifications |
Notifications.action(Action... actions) |
Specifies the actions that should be shown in the notification as buttons.
|
static Notifications |
Notifications.create() |
Call this to begin the process of building a notification to show.
|
Notifications |
Notifications.darkStyle() |
Specifies that the notification should use the built-in dark styling,
rather than the default 'modena' notification style (which is a
light-gray).
|
Notifications |
Notifications.graphic(javafx.scene.Node graphic) |
Specifies the graphic to show in the notification.
|
Notifications |
Notifications.hideAfter(javafx.util.Duration duration) |
Specifies the duration that the notification should show, after which it
will be hidden.
|
Notifications |
Notifications.hideCloseButton() |
Specifies that the close button in the top-right corner of the notification
should not be shown.
|
Notifications |
Notifications.onAction(javafx.event.EventHandler<javafx.event.ActionEvent> onAction) |
Specifies what to do when the user clicks on the notification (in addition
to the notification hiding, which happens whenever the notification is
clicked on).
|
Notifications |
Notifications.owner(Object owner) |
The dialog window owner - which can be Screen , Window
or Node .
|
Notifications |
Notifications.position(javafx.geometry.Pos position) |
Specifies the position of the notification on screen, by default it is
bottom-right .
|
Notifications |
Notifications.styleClass(String... styleClasses) |
|
Notifications |
Notifications.text(String text) |
Specifies the text to show in the notification.
|
Notifications |
Notifications.threshold(int threshold,
Notifications thresholdNotification) |
Collapses all the current notifications into a single notification when the
number of notifications exceed the threshold limit.
|
Notifications |
Notifications.title(String title) |
Specifies the title to show in the notification.
|