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

com.github.highcharts4gwt.model.highcharts.option.mock.seriescolumn.MockZone Maven / Gradle / Ivy

The newest version!

package com.github.highcharts4gwt.model.highcharts.option.mock.seriescolumn;

import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.Zone;


/**
 * An array defining zones within a series.
 * 
 */
public class MockZone
    implements Zone
{

    private String color;
    private String dashStyle;
    private String fillColor;
    private double value;
    private String genericField;
    private String functionAsString;

    public String color() {
        return color;
    }

    public MockZone color(String color) {
        this.color = color;
        return this;
    }

    public String dashStyle() {
        return dashStyle;
    }

    public MockZone dashStyle(String dashStyle) {
        this.dashStyle = dashStyle;
        return this;
    }

    public String fillColor() {
        return fillColor;
    }

    public MockZone fillColor(String fillColor) {
        this.fillColor = fillColor;
        return this;
    }

    public double value() {
        return value;
    }

    public MockZone value(double value) {
        this.value = value;
        return this;
    }

    public String getFieldAsJsonObject(String fieldName) {
        return genericField;
    }

    public MockZone setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) {
        this.genericField = fieldValueAsJsonObject;
        return this;
    }

    public String getFunctionAsString(String fieldName) {
        return functionAsString;
    }

    public MockZone setFunctionAsString(String fieldName, String functionAsString) {
        this.functionAsString = functionAsString;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy