Uses of Class
org.controlsfx.control.Notifications

Packages that use Notifications
Package
Description
A package containing a number of useful controls-related classes that do not exist in the base JavaFX distribution.
  • Uses of Notifications in org.controlsfx.control

    Methods in org.controlsfx.control that return Notifications
    Modifier and Type
    Method
    Description
    Notifications.action(Action... actions)
    Specifies the actions that should be shown in the notification as buttons.
    Notifications.create()
    Call this to begin the process of building a notification to show.
    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.graphic(javafx.scene.Node graphic)
    Specifies the graphic to show in the notification.
    Notifications.hideAfter(javafx.util.Duration duration)
    Specifies the duration that the notification should show, after which it will be hidden.
    Notifications.hideCloseButton()
    Specifies that the close button in the top-right corner of the notification should not be shown.
    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.owner(Object owner)
    The dialog window owner - which can be Screen, Window or Node.
    Notifications.position(javafx.geometry.Pos position)
    Specifies the position of the notification on screen, by default it is bottom-right.
    Notifications.styleClass(String... styleClasses)
    Specifies the style classes to add to the NotificationBar.
    Notifications.text(String text)
    Specifies the text to show in the notification.
    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.title(String title)
    Specifies the title to show in the notification.
    Methods in org.controlsfx.control with parameters of type Notifications
    Modifier and Type
    Method
    Description
    Notifications.threshold(int threshold, Notifications thresholdNotification)
    Collapses all the current notifications into a single notification when the number of notifications exceed the threshold limit.