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

com.github.highcharts4gwt.model.highcharts.option.mock.seriesgauge.MockPivot Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version

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

import com.github.highcharts4gwt.model.highcharts.option.api.seriesgauge.Pivot;


/**
 * Options for the pivot or the center point of the gauge.
 * 
 */
public class MockPivot
    implements Pivot
{

    private String backgroundColor;
    private String borderColor;
    private double borderWidth;
    private double radius;
    private String genericField;
    private String functionAsString;

    public String backgroundColor() {
        return backgroundColor;
    }

    public MockPivot backgroundColor(String backgroundColor) {
        this.backgroundColor = backgroundColor;
        return this;
    }

    public String borderColor() {
        return borderColor;
    }

    public MockPivot borderColor(String borderColor) {
        this.borderColor = borderColor;
        return this;
    }

    public double borderWidth() {
        return borderWidth;
    }

    public MockPivot borderWidth(double borderWidth) {
        this.borderWidth = borderWidth;
        return this;
    }

    public double radius() {
        return radius;
    }

    public MockPivot radius(double radius) {
        this.radius = radius;
        return this;
    }

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy