com.github.highcharts4gwt.model.highcharts.option.mock.MockGlobalOptions 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.
package com.github.highcharts4gwt.model.highcharts.option.mock;
import com.github.highcharts4gwt.model.highcharts.option.api.Global;
import com.github.highcharts4gwt.model.highcharts.option.api.GlobalOptions;
import com.github.highcharts4gwt.model.highcharts.option.api.Lang;
/**
*
*/
public class MockGlobalOptions
implements GlobalOptions
{
private Global global;
private Lang lang;
private String genericField;
private String functionAsString;
public Global global() {
return global;
}
public MockGlobalOptions global(Global global) {
this.global = global;
return this;
}
public Lang lang() {
return lang;
}
public MockGlobalOptions lang(Lang lang) {
this.lang = lang;
return this;
}
public String getFieldAsJsonObject(String fieldName) {
return genericField;
}
public MockGlobalOptions setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) {
this.genericField = fieldValueAsJsonObject;
return this;
}
public String getFunctionAsString(String fieldName) {
return functionAsString;
}
public MockGlobalOptions setFunctionAsString(String fieldName, String functionAsString) {
this.functionAsString = functionAsString;
return this;
}
}