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

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

There is a newer version: 0.0.7
Show newest version

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

import com.github.highcharts4gwt.model.highcharts.option.api.Global;


/**
 * Global options that don't apply to each chart. These options, like the lang
 * 		options, must be set using the Highcharts.setOptions method.
 * 
Highcharts.setOptions({
 * 	global: {
 * 		useUTC: false
 * 	}
 * });
* */ public class MockGlobal implements Global { private String Date; private String VMLRadialGradientURL; private String canvasToolsURL; private double timezoneOffset; private boolean useUTC; private String genericField; private String functionAsString; public String Date() { return Date; } public MockGlobal Date(String DateAsJsonString) { this.Date = DateAsJsonString; return this; } public String VMLRadialGradientURL() { return VMLRadialGradientURL; } public MockGlobal VMLRadialGradientURL(String VMLRadialGradientURL) { this.VMLRadialGradientURL = VMLRadialGradientURL; return this; } public String canvasToolsURL() { return canvasToolsURL; } public MockGlobal canvasToolsURL(String canvasToolsURL) { this.canvasToolsURL = canvasToolsURL; return this; } public double timezoneOffset() { return timezoneOffset; } public MockGlobal timezoneOffset(double timezoneOffset) { this.timezoneOffset = timezoneOffset; return this; } public boolean useUTC() { return useUTC; } public MockGlobal useUTC(boolean useUTC) { this.useUTC = useUTC; return this; } public String getFieldAsJsonObject(String fieldName) { return genericField; } public MockGlobal setFieldAsJsonObject(String fieldName, String fieldValueAsJsonObject) { this.genericField = fieldValueAsJsonObject; return this; } public String getFunctionAsString(String fieldName) { return functionAsString; } public MockGlobal setFunctionAsString(String fieldName, String functionAsString) { this.functionAsString = functionAsString; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy