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

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

The newest version!

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

import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.Point;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.ClickHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.MouseOutHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.MouseOverHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.RemoveHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.SelectHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.UnselectHandler;
import com.github.highcharts4gwt.model.highcharts.option.api.seriescolumn.point.UpdateHandler;


/**
 * Properties for each single point
 * 
 */
public class MockPoint
    implements Point
{

    private String genericField;
    private String functionAsString;

    public void addClickHandler(ClickHandler handler) {
    }

    public void addMouseOutHandler(MouseOutHandler handler) {
    }

    public void addMouseOverHandler(MouseOverHandler handler) {
    }

    public void addRemoveHandler(RemoveHandler handler) {
    }

    public void addSelectHandler(SelectHandler handler) {
    }

    public void addUnselectHandler(UnselectHandler handler) {
    }

    public void addUpdateHandler(UpdateHandler handler) {
    }

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy