public class NotificationIndicator extends JsonBean
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_FAILURE |
static String |
TYPE_SUCCESS |
static String |
TYPE_WARNING |
| Constructor and Description |
|---|
NotificationIndicator(org.json.JSONObject json) |
NotificationIndicator(String type)
Indicates the semantic intent behind the indicator - this determines the visual styling of the indicator when seen by the user.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
String |
getType() |
void |
setText(String text) |
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, toStringpublic static final String TYPE_FAILURE
public static final String TYPE_SUCCESS
public static final String TYPE_WARNING
public NotificationIndicator(String type)
type - indicator type can be one of the following: TYPE_FAILURE, TYPE_SUCCESS, TYPE_WARNINGpublic NotificationIndicator(org.json.JSONObject json)
Copyright © 2022. All rights reserved.