com.openfin.desktop.platform.ContextMenuSettings 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 ContextMenuSettings extends JsonBean {
public ContextMenuSettings() {
}
public ContextMenuSettings(JSONObject json) {
super(json);
}
public boolean isEnable() {
return this.getBooleanValue("enable");
}
public void setEnable(boolean enable) {
this.setBoolean("enable", enable);
}
public boolean isDevtools() {
return this.getBooleanValue("devtools");
}
public void setDevtools(boolean devtools) {
this.setBoolean("devtools", devtools);
}
public boolean isReload() {
return this.getBooleanValue("reload");
}
public void setReload(boolean reload) {
this.setBoolean("reload", reload);
}
}