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 SummaryConstructors Constructor Description GradientOptions()Creates newGradientPlugin.IDplugin options.
 - 
Method SummaryAll 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.AbstractPluginOptionsapplyingDefaults, applyingDefaults, getEventsOptionHandler, getId, getPluginId, loadGlobalsPluginOptions, store, store, store, store
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, 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.NativeObjectContainercheckAndGetColor, 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- 
GradientOptionspublic GradientOptions() Creates newGradientPlugin.IDplugin options.
 
- 
 - 
Method Detail- 
getBackgroundColorpublic PropertyOptions getBackgroundColor() Returns the options to set the fill gradient under the line.- Returns:
- the options to set the fill gradient under the line.
 
 - 
getBorderColorpublic PropertyOptions getBorderColor() Returns the options to set the gradient of the line.- Returns:
- the options to set the gradient of the line.
 
 - 
getHoverBackgroundColorpublic 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
 
 - 
getHoverBorderColorpublic 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.
 
 - 
getPointBackgroundColorpublic PropertyOptions getPointBackgroundColor() Returns the options to set the fill gradient for points.- Returns:
- the options to set the fill gradient for points.
 
 - 
getPointBorderColorpublic PropertyOptions getPointBorderColor() Returns the options to set the border gradient for points.- Returns:
- the options to set the border gradient for points.
 
 - 
getPointHoverBackgroundColorpublic PropertyOptions getPointHoverBackgroundColor() Returns the options to set the point background gradient when hovered.- Returns:
- the options to set the point background gradient when hovered.
 
 - 
getPointHoverBorderColorpublic PropertyOptions getPointHoverBorderColor() Returns the options to set the point border gradient when hovered.- Returns:
- the options to set the point border gradient when hovered.
 
 
- 
 
-