|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openfin.desktop.ApplicationOptions
public class ApplicationOptions
Helper object that provides getters/setters for the various options needed for creating an Application.
| Constructor Summary | |
|---|---|
ApplicationOptions(org.json.JSONObject options)
Constructs an instance with the passed options. |
|
ApplicationOptions(String name,
String uuid,
String url)
Constructor |
|
| Method Summary | |
|---|---|
String |
getApplicationIcon()
Gets URL of application icon |
protected org.json.JSONObject |
getJson()
Gets JSON representation of options |
WindowOptions |
getMainWindowOptions()
Get options of main window |
String |
getName()
Gets name of the application |
protected String |
getStringValue(String property)
Helper method for retrieving string value of a property |
String |
getURL()
Gets URL of the application |
String |
getUUID()
Gets UUID of the application |
String |
getVersion()
Gets version of the application |
void |
setApplicationIcon(String applicationIcon)
Sets URL of application icon |
void |
setMainWindowOptions(WindowOptions options)
Sets options of main window of the application |
void |
setVersion(String version)
Sets version of the application |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationOptions(org.json.JSONObject options)
options - Options for the application
public ApplicationOptions(String name,
String uuid,
String url)
name - Name of the applicationuuid - UUID of the applicationurl - URL of the application| Method Detail |
|---|
public String getName()
public String getUUID()
public String getURL()
public void setMainWindowOptions(WindowOptions options)
options - Options of main windowpublic WindowOptions getMainWindowOptions()
public void setApplicationIcon(String applicationIcon)
applicationIcon - URLpublic String getApplicationIcon()
public void setVersion(String version)
version - Versionpublic String getVersion()
protected org.json.JSONObject getJson()
protected String getStringValue(String property)
property - Property name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||