Package net.moewes.cloudui.vaadin
Class Notification
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.vaadin.Notification
-
public class Notification extends net.moewes.cloudui.UiComponent
Java wrapper for Vaadin web component vaadin-notification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Notification.Position
possible value for attribute position
-
Constructor Summary
Constructors Constructor Description Notification()
default constructorNotification(String text)
Notification(String text, int duration)
constructorNotification(String text, int duration, Notification.Position position)
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
open()
opens the notification
-
-
-
Constructor Detail
-
Notification
public Notification()
default constructor
-
Notification
public Notification(String text)
-
Notification
public Notification(String text, int duration)
constructor- Parameters:
text
- text to displayduration
- time in ms the message is shown
-
Notification
public Notification(String text, int duration, Notification.Position position)
constructor- Parameters:
text
- text to displayduration
- time in ms the message is shownposition
- where the message is shown
-
-