Class Notification

java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.notification.Notification
All Implemented Interfaces:
ClientObject, Component

public class Notification extends AbstractComponent
  • Field Details

  • Constructor Details

    • Notification

      public Notification()
    • Notification

      public Notification(Component content)
  • Method Details

    • createWithIconAndCaption

      public static Notification createWithIconAndCaption(Icon<?,?> icon, String text)
    • createWithIconAndTextAndDescription

      public static Notification createWithIconAndTextAndDescription(Icon<?,?> icon, String text, String description)
    • createUiComponent

      public UiNotification createUiComponent()
      Specified by:
      createUiComponent in class AbstractComponent
    • handleUiEvent

      public void handleUiEvent(UiEvent event)
    • close

      public void close()
    • getBackgroundColor

      public Color getBackgroundColor()
    • setBackgroundColor

      public Notification setBackgroundColor(Color backgroundColor)
    • getPadding

      public Spacing getPadding()
    • setPadding

      public Notification setPadding(Spacing padding)
    • 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)
    • getContent

      public Component getContent()
    • setContent

      public Notification setContent(Component content)
    • isShowing

      public boolean isShowing()