Class SimpleNotification
- java.lang.Object
-
- org.neotropic.util.visual.notifications.AbstractNotification
-
- org.neotropic.util.visual.notifications.SimpleNotification
-
public class SimpleNotification extends AbstractNotification
Default implementation of a notification component.- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neotropic.util.visual.notifications.AbstractNotification
AbstractNotification.NotificationType
-
-
Constructor Summary
Constructors Constructor Description SimpleNotification(String title, String text, AbstractNotification.NotificationType type, TranslationService ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Programmatically closes the notification window (might not be supported in all implementations).voidopen()Displays the notification,-
Methods inherited from class org.neotropic.util.visual.notifications.AbstractNotification
getDetails, getText, getTitle, getType, setDetails, setText, setTitle, setType
-
-
-
-
Constructor Detail
-
SimpleNotification
public SimpleNotification(String title, String text, AbstractNotification.NotificationType type, TranslationService ts)
-
-
Method Detail
-
open
public void open()
Description copied from class:AbstractNotificationDisplays the notification,- Specified by:
openin classAbstractNotification
-
close
public void close()
Description copied from class:AbstractNotificationProgrammatically closes the notification window (might not be supported in all implementations).- Specified by:
closein classAbstractNotification
-
-