Class InfoTabNotification
- java.lang.Object
-
- com.novomind.ecom.api.iagent.frontend.tab.InfoTabNotification
-
public class InfoTabNotification extends java.lang.Object
The interface represents different kinds of notifications of anInfoTabBehavior
A notification is displayed as a visual mark within the tab's label.- Since:
- 10.0.28
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InfoTabNotification.Type
-
Field Summary
Fields Modifier and Type Field Description static InfoTabNotification
EXCLAMATION_MARK_GREY
static InfoTabNotification
EXCLAMATION_MARK_RED
static InfoTabNotification
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
The number to be displayed within a bubbleInfoTabNotification.Type
getType()
TheType
of the notificationstatic InfoTabNotification
withCount(int count)
Construct anInfoTabNotification
of Type COUNT with a count value to be displayed by a bubble on the tab's label
-
-
-
Field Detail
-
NONE
public static final InfoTabNotification NONE
-
EXCLAMATION_MARK_RED
public static final InfoTabNotification EXCLAMATION_MARK_RED
-
EXCLAMATION_MARK_GREY
public static final InfoTabNotification EXCLAMATION_MARK_GREY
-
-
Method Detail
-
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()
TheType
of the notification- Returns:
- the type
- Since:
- 10.0.28
-
withCount
public static final InfoTabNotification withCount(int count)
Construct anInfoTabNotification
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
-
-