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 void
close()
Programmatically closes the notification window (might not be supported in all implementations).void
open()
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:AbstractNotification
Displays the notification,- Specified by:
open
in classAbstractNotification
-
close
public void close()
Description copied from class:AbstractNotification
Programmatically closes the notification window (might not be supported in all implementations).- Specified by:
close
in classAbstractNotification
-
-