com.github.highcharts4gwt.model.highcharts.option.mock.seriesscatter.MockStates 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.seriesscatter;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.States;
import com.github.highcharts4gwt.model.highcharts.option.api.seriesscatter.states.Hover;
/**
* A wrapper object for all the series options in specific states.
*
*/
public class MockStates
implements States
{
private Hover hover;
private String genericField;
private String functionAsString;
public Hover hover() {
return hover;
}
public MockStates hover(Hover hover) {
this.hover = hover;
return this;
}
public String getFieldAsJsonObject(String fieldName) {
return genericField;
}
public MockStates setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) {
this.genericField = fieldValueAsJsonObject;
return this;
}
public String getFunctionAsString(String fieldName) {
return functionAsString;
}
public MockStates setFunctionAsString(String fieldName, String functionAsString) {
this.functionAsString = functionAsString;
return this;
}
}