Class DetailedNotification
- java.lang.Object
-
- org.neotropic.util.visual.notifications.AbstractNotification
-
- org.neotropic.util.visual.notifications.DetailedNotification
-
public class DetailedNotification extends AbstractNotification
A modal notification intended to be used to show the details in the notification itself, instead of providing a link to another window.- 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 DetailedNotification(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
-
DetailedNotification
public DetailedNotification(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
-
-