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