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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.JWindow
createNotificationWindow(javax.swing.Icon icon, java.lang.String title, java.lang.String message, INotificationStyle style, java.awt.GraphicsConfiguration graphicsConfiguration)
Creates a new notification window
-
-
-
Method Detail
-
createNotificationWindow
javax.swing.JWindow createNotificationWindow(javax.swing.Icon icon, java.lang.String title, java.lang.String message, INotificationStyle style, java.awt.GraphicsConfiguration graphicsConfiguration)
Creates a new notification window- Parameters:
icon
- The icon of the notificationtitle
- The title of the notificationmessage
- The message of the notificationstyle
- TheINotificationStyle
of the notificationgraphicsConfiguration
- THeGraphicsConfiguration
for the window- Returns:
- a new
JWindow
-
-