com.openfin.desktop.platform.AutoResizeOptions 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 AutoResizeOptions extends JsonBean {
public AutoResizeOptions() {
}
public AutoResizeOptions(JSONObject json) {
super(json);
}
public boolean isWidth() {
return this.getBooleanValue("width");
}
public void setWidth(boolean width) {
this.setBoolean("width", width);
}
public boolean isHeight() {
return this.getBooleanValue("height");
}
public void setHeight(boolean height) {
this.setBoolean("height", height);
}
public boolean isHorizontal() {
return this.getBooleanValue("horizontal");
}
public void setHorizontal(boolean horizontal) {
this.setBoolean("horizontal", horizontal);
}
public boolean isVertical() {
return this.getBooleanValue("vertical");
}
public void setVertical(boolean vertical) {
this.setBoolean("vertical", vertical);
}
}