Interface INotification
-
- All Known Implementing Classes:
Notification
public interface INotificationNotification base structure
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()Get notification descriptionjavafx.scene.NodegetIcon()Get notification iconjavafx.scene.layout.PanegetNotificationContent()Get notification nodejava.lang.StringgetNotificationTitle()Get notification titlevoidhide()Hide popup windowvoidsetDescription(java.lang.CharSequence description)Set notification description messagevoidsetIcon(javafx.scene.image.Image icon)Set notification iconvoidsetIcon(javafx.scene.Node icon)Set icon from nodevoidsetNotificationTitle(java.lang.CharSequence title)Set notification titlevoidshowNotify(javafx.stage.Stage owner)Show popup window
-
-
-
Method Detail
-
setNotificationTitle
void setNotificationTitle(java.lang.CharSequence title)
Set notification title- Parameters:
title- Target title to show
-
getNotificationTitle
java.lang.String getNotificationTitle()
Get notification title- Returns:
- Notification title
-
setDescription
void setDescription(java.lang.CharSequence description)
Set notification description message- Parameters:
description- Description message
-
getDescription
java.lang.String getDescription()
Get notification description- Returns:
- Notification description
-
setIcon
void setIcon(javafx.scene.image.Image icon)
Set notification icon- Parameters:
icon-Imageicon to show
-
setIcon
void setIcon(javafx.scene.Node icon)
Set icon from node- Parameters:
icon-Nodeicon
-
getIcon
javafx.scene.Node getIcon()
Get notification icon- Returns:
Nodeicon representation
-
getNotificationContent
javafx.scene.layout.Pane getNotificationContent()
Get notification node- Returns:
Panenotification container
-
showNotify
void showNotify(javafx.stage.Stage owner)
Show popup window- Parameters:
owner- Target window owner
-
hide
void hide()
Hide popup window
-
-