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.String
TYPE_FAILURE
static java.lang.String
TYPE_SUCCESS
static java.lang.String
TYPE_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
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 Details
-
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 Details
-
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)
-
-
Method Details