Class Notification

    • Field Detail

      • onOpened

        public final Event<java.lang.Void> onOpened
      • onClosed

        public final Event<java.lang.Boolean> onClosed
    • Constructor Detail

      • Notification

        public Notification()
      • Notification

        public Notification​(Component content)
    • Method Detail

      • createWithIconAndCaption

        public static Notification createWithIconAndCaption​(org.teamapps.icons.api.Icon icon,
                                                            java.lang.String text)
      • createWithIconAndTextAndDescription

        public static Notification createWithIconAndTextAndDescription​(org.teamapps.icons.api.Icon icon,
                                                                       java.lang.String text,
                                                                       java.lang.String description)
      • handleUiEvent

        public void handleUiEvent​(org.teamapps.dto.UiEvent event)
      • close

        public void close()
      • getBackgroundColor

        public org.teamapps.common.format.Color getBackgroundColor()
      • setBackgroundColor

        public Notification setBackgroundColor​(org.teamapps.common.format.Color backgroundColor)
      • getPadding

        public Spacing getPadding()
      • getDisplayTimeInMillis

        public int getDisplayTimeInMillis()
      • setDisplayTimeInMillis

        public Notification setDisplayTimeInMillis​(int displayTimeInMillis)
      • isDismissible

        public boolean isDismissible()
      • setDismissible

        public Notification setDismissible​(boolean dismissible)
      • isShowProgressBar

        public boolean isShowProgressBar()
      • setShowProgressBar

        public Notification setShowProgressBar​(boolean showProgressBar)
      • isShowing

        public boolean isShowing()