public class ApplicationOptions extends JsonBean
Constructor and Description |
---|
ApplicationOptions(org.json.JSONObject options)
Constructs an instance with the passed options.
|
ApplicationOptions(String name,
String uuid,
String url)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationIcon()
Gets URL of application icon
|
org.json.JSONObject |
getJson()
Gets the underlying JSONObject
|
WindowOptions |
getMainWindowOptions()
Get options of main window
|
String |
getName()
Gets name of the application
|
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
|
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
public ApplicationOptions(org.json.JSONObject options)
options
- Options for the applicationpublic 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()
Copyright © 2022. All rights reserved.