Uses of Class
ch.swingfx.twinkle.NotificationBuilder
Packages that use NotificationBuilder
-
Uses of NotificationBuilder in ch.swingfx.twinkle
Methods in ch.swingfx.twinkle that return NotificationBuilderModifier and TypeMethodDescriptionNotificationBuilder.withDisplayTime(int timeInMillis) set the time the notification should be displayedNotificationBuilder.withFadeInAnimation(boolean animate) set true if you want to fade in the notification.
Note fade in is not supported on all platform.NotificationBuilder.withFadeOutAnimation(boolean animate) set true if you want to fade out the notification.
Note fade out is not supported on all platform.set the icon of the notificationset the icon of the notificationNotificationBuilder.withListener(INotificationEventListener listener) Sets aINotificationEventListenerfor receiving events from the notificationNotificationBuilder.withMessage(String message) set the message of the notificationNotificationBuilder.withNotificationManager(INotificationManager manager) Set theINotificationManagerthat handles how the notification are displayedNotificationBuilder.withPosition(IPosition position) Set the position of the notificationNotificationBuilder.withStyle(INotificationStyle style) set the style of the notificationset the title of the notification