Class Notification


  • public class Notification
    extends net.moewes.cloudui.UiComponent
    Java wrapper for Vaadin web component vaadin-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 display
        duration - time in ms the message is shown
      • Notification

        public Notification​(String text,
                            int duration,
                            Notification.Position position)
        constructor
        Parameters:
        text - text to display
        duration - time in ms the message is shown
        position - where the message is shown
    • Method Detail

      • open

        public void open()
        opens the notification