com.github.highcharts4gwt.model.highcharts.option.mock.chart.MockOptions3d Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
GWT wrapper for highcharts library.
The newest version!
package com.github.highcharts4gwt.model.highcharts.option.mock.chart;
import com.github.highcharts4gwt.model.highcharts.option.api.chart.Options3d;
import com.github.highcharts4gwt.model.highcharts.option.api.chart.options3d.Frame;
/**
* Options to render charts in 3 dimensions. This feature requires highcharts-3d.js
, found in the download package or online at code.highcharts.com/highcharts-3d.js.
*
*/
public class MockOptions3d
implements Options3d
{
private double alpha;
private double beta;
private double depth;
private boolean enabled;
private Frame frame;
private double viewDistance;
private String genericField;
private String functionAsString;
public double alpha() {
return alpha;
}
public MockOptions3d alpha(double alpha) {
this.alpha = alpha;
return this;
}
public double beta() {
return beta;
}
public MockOptions3d beta(double beta) {
this.beta = beta;
return this;
}
public double depth() {
return depth;
}
public MockOptions3d depth(double depth) {
this.depth = depth;
return this;
}
public boolean enabled() {
return enabled;
}
public MockOptions3d enabled(boolean enabled) {
this.enabled = enabled;
return this;
}
public Frame frame() {
return frame;
}
public MockOptions3d frame(Frame frame) {
this.frame = frame;
return this;
}
public double viewDistance() {
return viewDistance;
}
public MockOptions3d viewDistance(double viewDistance) {
this.viewDistance = viewDistance;
return this;
}
public String getFieldAsJsonObject(String fieldName) {
return genericField;
}
public MockOptions3d setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) {
this.genericField = fieldValueAsJsonObject;
return this;
}
public String getFunctionAsString(String fieldName) {
return functionAsString;
}
public MockOptions3d setFunctionAsString(String fieldName, String functionAsString) {
this.functionAsString = functionAsString;
return this;
}
}