
com.openfin.desktop.platform.PlatformOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfin-desktop-java-adapter Show documentation
Show all versions of openfin-desktop-java-adapter Show documentation
The Java API for OpenFin Runtime
package com.openfin.desktop.platform;
import org.json.JSONObject;
import com.openfin.desktop.ApplicationOptions;
public class PlatformOptions extends ApplicationOptions {
public PlatformOptions(String uuid) {
super(uuid, uuid, null);
super.put("isPlatformController", true);
}
public PlatformOptions(JSONObject json) {
super(json);
}
public void setDefaultViewOptions(PlatformViewOptions viewOpts) {
super.put("defaultViewOptions", viewOpts.getJsonCopy());
}
public void setDefaultWindowOptions(PlatformWindowOptions winOpts) {
super.put("defaultWindowOptions", winOpts.getJsonCopy());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy