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.ID
plugin options where to set all configuration items needed to the plugin.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description GradientOptions()
Creates newGradientPlugin.ID
plugin options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyOptions
getBackgroundColor()
Returns the options to set the fill gradient under the line.PropertyOptions
getBorderColor()
Returns the options to set the gradient of the line.PropertyOptions
getHoverBackgroundColor()
Returns the options to set the fill gradient of the elements when hovered.PropertyOptions
getHoverBorderColor()
Returns the options to set the stroke gradient of the elements when hovered.PropertyOptions
getPointBackgroundColor()
Returns the options to set the fill gradient for points.PropertyOptions
getPointBorderColor()
Returns the options to set the border gradient for points.PropertyOptions
getPointHoverBackgroundColor()
Returns the options to set the point background gradient when hovered.PropertyOptions
getPointHoverBorderColor()
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, 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, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Constructor Detail
-
GradientOptions
public GradientOptions()
Creates newGradientPlugin.ID
plugin 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.
-
-