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
-
-
Constructor Summary
Constructors Constructor Description ButtonOptions(java.lang.String title)ButtonOptions(org.json.JSONObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetCta()java.lang.StringgetIconUrl()voidgetIconUrl(java.lang.String iconUrl)NotificationActionResultgetOnClick()java.lang.StringgetTitle()java.lang.StringgetType()voidsetCta(java.lang.Boolean cta)voidsetOnClick(NotificationActionResult onClick)voidsetType(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
-
-
-
-
Method Detail
-
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
public NotificationActionResult getOnClick()
-
setOnClick
public void setOnClick(NotificationActionResult onClick)
-
setCta
public void setCta(java.lang.Boolean cta)
-
getCta
public java.lang.Boolean getCta()
-
-