Class ButtonOptions
java.lang.Object
com.openfin.desktop.JsonBean
com.openfin.desktop.notifications.ButtonOptions
public class ButtonOptions extends JsonBean
Configuration options for constructing a button within a notification.
- Author:
- Anthony
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ButtonOptions(java.lang.String title)
ButtonOptions(org.json.JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
getCta()
java.lang.String
getIconUrl()
void
getIconUrl(java.lang.String iconUrl)
NotificationActionResult
getOnClick()
java.lang.String
getTitle()
java.lang.String
getType()
void
setCta(java.lang.Boolean cta)
void
setOnClick(NotificationActionResult onClick)
void
setType(java.lang.String type)
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
-
Constructor Details
-
ButtonOptions
public ButtonOptions(java.lang.String title) -
ButtonOptions
public ButtonOptions(org.json.JSONObject jsonObject)
-
-
Method Details
-
getTitle
public java.lang.String getTitle() -
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String type) -
getIconUrl
public java.lang.String getIconUrl() -
getIconUrl
public void getIconUrl(java.lang.String iconUrl) -
getOnClick
-
setOnClick
-
setCta
public void setCta(java.lang.Boolean cta) -
getCta
public java.lang.Boolean getCta()
-