All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openfin.desktop.platform.AutoResizeOptions Maven / Gradle / Ivy

There is a newer version: 11.0.2
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy