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 java.lang.StringTYPE_FAILUREstatic java.lang.StringTYPE_SUCCESSstatic java.lang.StringTYPE_WARNING
-
Constructor Summary
Constructors Constructor Description NotificationIndicator(java.lang.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 java.lang.StringgetText()java.lang.StringgetType()voidsetText(java.lang.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 java.lang.String TYPE_FAILURE
- See Also:
- Constant Field Values
-
TYPE_SUCCESS
public static final java.lang.String TYPE_SUCCESS
- See Also:
- Constant Field Values
-
TYPE_WARNING
public static final java.lang.String TYPE_WARNING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NotificationIndicator
public NotificationIndicator(java.lang.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)
-
-