Class InfoTabNotification

java.lang.Object
com.novomind.ecom.api.iagent.frontend.tab.InfoTabNotification

public class InfoTabNotification extends Object
The interface represents different kinds of notifications of an InfoTabBehavior A notification is displayed as a visual mark within the tab's label.
Since:
10.0.28
  • Field Details

    • NONE

      public static final InfoTabNotification NONE
      No notification — default, tab label has no special mark.
    • EXCLAMATION_MARK_RED

      public static final InfoTabNotification EXCLAMATION_MARK_RED
      Tab label marked with a red exclamation mark.
    • EXCLAMATION_MARK_GREY

      public static final InfoTabNotification EXCLAMATION_MARK_GREY
      Tab label marked with a grey exclamation mark.
  • Method Details

    • getCount

      public int getCount()
      The number to be displayed within a bubble
      Returns:
      the count value as integer
      Since:
      10.0.28
    • getType

      public InfoTabNotification.Type getType()
      The Type of the notification
      Returns:
      the type
      Since:
      10.0.28
    • withCount

      public static final InfoTabNotification withCount(int count)
      Construct an InfoTabNotification of Type COUNT with a count value to be displayed by a bubble on the tab's label
      Parameters:
      count - the count value to display
      Returns:
      the InfoTabNotification of Type COUNT with certain count value
      Since:
      10.0.28