Package ch.swingfx.twinkle.window
Interface ICreateNotificationWindow
- All Known Implementing Classes:
NotificationWindowTypes
public interface ICreateNotificationWindow
Use this interface to create your own notification windows. Use:
AbstractNotificationStyle.withNotificationWindowCreator()
-
Method Summary
Modifier and TypeMethodDescriptioncreateNotificationWindow(Icon icon, String title, String message, INotificationStyle style, GraphicsConfiguration graphicsConfiguration) Creates a new notification window
-
Method Details
-
createNotificationWindow
JWindow createNotificationWindow(Icon icon, String title, String message, INotificationStyle style, GraphicsConfiguration graphicsConfiguration) Creates a new notification window- Parameters:
icon- The icon of the notificationtitle- The title of the notificationmessage- The message of the notificationstyle- TheINotificationStyleof the notificationgraphicsConfiguration- THeGraphicsConfigurationfor the window- Returns:
- a new
JWindow
-