Package com.openfin.desktop
Class ApplicationOptions
- java.lang.Object
-
- com.openfin.desktop.JsonBean
-
- com.openfin.desktop.ApplicationOptions
-
- Direct Known Subclasses:
PlatformOptions
public class ApplicationOptions extends JsonBean
Helper object that provides getters/setters for the various options needed for creating an Application.
-
-
Constructor Summary
Constructors Constructor Description ApplicationOptions(String name, String uuid, String url)ConstructorApplicationOptions(org.json.JSONObject options)Constructs an instance with the passed options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApplicationIcon()Gets URL of application iconorg.json.JSONObjectgetJson()Gets the underlying JSONObjectWindowOptionsgetMainWindowOptions()Get options of main windowStringgetName()Gets name of the applicationStringgetURL()Gets URL of the applicationStringgetUUID()Gets UUID of the applicationStringgetVersion()Gets version of the applicationvoidsetApplicationIcon(String applicationIcon)Sets URL of application iconvoidsetMainWindowOptions(WindowOptions options)Sets options of main window of the applicationvoidsetVersion(String version)Sets version of the application-
Methods inherited from class com.openfin.desktop.JsonBean
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Gets name of the application- Returns:
- Name of the application
-
getUUID
public String getUUID()
Gets UUID of the application- Returns:
- UUID of the application
-
getURL
public String getURL()
Gets URL of the application- Returns:
- URL of the application
-
setMainWindowOptions
public void setMainWindowOptions(WindowOptions options)
Sets options of main window of the application- Parameters:
options- Options of main window
-
getMainWindowOptions
public WindowOptions getMainWindowOptions()
Get options of main window- Returns:
- Options of main window
-
setApplicationIcon
public void setApplicationIcon(String applicationIcon)
Sets URL of application icon- Parameters:
applicationIcon- URL
-
getApplicationIcon
public String getApplicationIcon()
Gets URL of application icon- Returns:
- URL
-
setVersion
public void setVersion(String version)
Sets version of the application- Parameters:
version- Version
-
getVersion
public String getVersion()
Gets version of the application- Returns:
- Version
-
-