com.openfin.desktop.platform.PlatformSnapshotOptions 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.JsonBean;
public class PlatformSnapshotOptions extends JsonBean {
public PlatformSnapshotOptions() {
super();
}
public PlatformSnapshotOptions(JSONObject json) {
super(json);
}
public void setCloseExistingWindows(boolean b) {
json.put("closeExistingWindows", b);
}
public boolean isCloseExistingWindows() {
return json.optBoolean("closeExistingWindows", false);
}
}