|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openfin.desktop.NotificationOptions
public class NotificationOptions
Helper object that provides getters/setters for the various options needed for creating a Notification.
| Constructor Summary | |
|---|---|
NotificationOptions(String url)
|
|
| Method Summary | |
|---|---|
org.json.JSONObject |
getMessage()
Gets Message property of the notification |
String |
getMessageText()
Gets Message property of the notification as String |
Integer |
getTimeout()
Gets timeout property of the notification |
String |
getURL()
Gets URL property of the notification |
void |
setMessage(org.json.JSONObject message)
Sets Message property of the notification |
void |
setMessageText(String message)
Sets Message property of the notification as String |
void |
setTimeout(Integer timeout)
Sets timeout property of the notification |
void |
setURL(String url)
Sets URL property of the notification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationOptions(String url)
| Method Detail |
|---|
public String getURL()
public void setURL(String url)
public org.json.JSONObject getMessage()
public void setMessage(org.json.JSONObject message)
message - value of messagepublic String getMessageText()
public void setMessageText(String message)
message - public Integer getTimeout()
public void setTimeout(Integer timeout)
timeout - in milliseconds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||