Class GradientOptions
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.commons.AbstractNode
-
- org.pepstock.charba.client.plugins.AbstractPluginOptions
-
- org.pepstock.charba.client.gradient.GradientOptions
-
- All Implemented Interfaces:
IsDefaultEventHandler,HasEvents
public final class GradientOptions extends AbstractPluginOptions
This is theGradientPlugin.IDplugin options where to set all configuration items needed to the plugin.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description GradientOptions()Creates newGradientPlugin.IDplugin options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyOptionsgetBackgroundColor()Returns the options to set the fill gradient under the line.PropertyOptionsgetBorderColor()Returns the options to set the gradient of the line.PropertyOptionsgetHoverBackgroundColor()Returns the options to set the fill gradient of the elements when hovered.PropertyOptionsgetHoverBorderColor()Returns the options to set the stroke gradient of the elements when hovered.PropertyOptionsgetPointBackgroundColor()Returns the options to set the fill gradient for points.PropertyOptionsgetPointBorderColor()Returns the options to set the border gradient for points.PropertyOptionsgetPointHoverBackgroundColor()Returns the options to set the point background gradient when hovered.PropertyOptionsgetPointHoverBorderColor()Returns the options to set the point border gradient when hovered.-
Methods inherited from class org.pepstock.charba.client.plugins.AbstractPluginOptions
applyingDefaults, applyingDefaults, getEventsOptionHandler, getId, getPluginId, loadGlobalsPluginOptions, store, store, store, store
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractNode
checkAndAddToParent, getChildKey, getParentNode, getRootNode, getUpdateListener, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setUpdateListener, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
checkAndGetColor, checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
GradientOptions
public GradientOptions()
Creates newGradientPlugin.IDplugin options.
-
-
Method Detail
-
getBackgroundColor
public PropertyOptions getBackgroundColor()
Returns the options to set the fill gradient under the line.- Returns:
- the options to set the fill gradient under the line.
-
getBorderColor
public PropertyOptions getBorderColor()
Returns the options to set the gradient of the line.- Returns:
- the options to set the gradient of the line.
-
getHoverBackgroundColor
public PropertyOptions getHoverBackgroundColor()
Returns the options to set the fill gradient of the elements when hovered.- Returns:
- the options to set the fill gradient of the elements when hovered
-
getHoverBorderColor
public PropertyOptions getHoverBorderColor()
Returns the options to set the stroke gradient of the elements when hovered.- Returns:
- the options to set the stroke gradient of the elements when hovered.
-
getPointBackgroundColor
public PropertyOptions getPointBackgroundColor()
Returns the options to set the fill gradient for points.- Returns:
- the options to set the fill gradient for points.
-
getPointBorderColor
public PropertyOptions getPointBorderColor()
Returns the options to set the border gradient for points.- Returns:
- the options to set the border gradient for points.
-
getPointHoverBackgroundColor
public PropertyOptions getPointHoverBackgroundColor()
Returns the options to set the point background gradient when hovered.- Returns:
- the options to set the point background gradient when hovered.
-
getPointHoverBorderColor
public PropertyOptions getPointHoverBorderColor()
Returns the options to set the point border gradient when hovered.- Returns:
- the options to set the point border gradient when hovered.
-
-