Class NotificationIndicator
- java.lang.Object
-
- com.openfin.desktop.JsonBean
-
- com.openfin.desktop.notifications.NotificationIndicator
-
public class NotificationIndicator extends JsonBean
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_FAILUREstatic StringTYPE_SUCCESSstatic StringTYPE_WARNING
-
Constructor Summary
Constructors Constructor Description NotificationIndicator(String type)Indicates the semantic intent behind the indicator - this determines the visual styling of the indicator when seen by the user.NotificationIndicator(org.json.JSONObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText()StringgetType()voidsetText(String text)-
Methods inherited from class com.openfin.desktop.JsonBean
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJson, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
-
-
-
-
Field Detail
-
TYPE_FAILURE
public static final String TYPE_FAILURE
- See Also:
- Constant Field Values
-
TYPE_SUCCESS
public static final String TYPE_SUCCESS
- See Also:
- Constant Field Values
-
TYPE_WARNING
public static final String TYPE_WARNING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NotificationIndicator
public NotificationIndicator(String type)
Indicates the semantic intent behind the indicator - this determines the visual styling of the indicator when seen by the user.- Parameters:
type- indicator type can be one of the following:TYPE_FAILURE,TYPE_SUCCESS,TYPE_WARNING
-
NotificationIndicator
public NotificationIndicator(org.json.JSONObject json)
-
-