Class TypedDataset
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.commons.AbstractNode
-
- org.pepstock.charba.client.options.AbstractModel<Datasets,IsDefaultTypedDataset>
-
- org.pepstock.charba.client.options.TypedDataset
-
- All Implemented Interfaces:
HasCallbackScope
,IsDefaultAnimationContainer
,IsDefaultAnimationTransition
,IsDefaultBarDatasets
,IsDefaultTypedDataset
,HasAnimationOptions
,HasBarDatasetOptions
public class TypedDataset extends AbstractModel<Datasets,IsDefaultTypedDataset> implements IsDefaultTypedDataset, HasBarDatasetOptions, HasAnimationOptions, HasCallbackScope
Contains the options for the data sets.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimationContainer
getAnimationContainer()
Returns an animation container instance to use in the default methods of this interface.BarDatasetOptionsHandler
getDatasetOptionsHandler()
Returns the instance of bar dataset options handler.String
getScope()
Returns the scope of the options, which is the options are used for defaults, chart defaults or chart.Type
getType()
Returns the data set type.boolean
isShowLine()
Returns if the line is not drawn for this data set.void
setShowLine(boolean showLine)
Sets if the line is not drawn for this data set.-
Methods inherited from class org.pepstock.charba.client.options.AbstractModel
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.options.HasAnimationOptions
getAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
-
Methods inherited from interface org.pepstock.charba.client.options.HasBarDatasetOptions
getBarPercentage, getBarThickness, getCategoryPercentage, getMaxBarThickness, getMinBarLength, isGrouped, setBarPercentage, setBarThickness, setCategoryPercentage, setGrouped, setMaxBarThickness, setMinBarLength
-
-
-
-
Method Detail
-
getScope
public final String getScope()
Description copied from interface:HasCallbackScope
Returns the scope of the options, which is the options are used for defaults, chart defaults or chart.- Specified by:
getScope
in interfaceHasCallbackScope
- Returns:
- the scope of the options
-
getAnimationContainer
public final AnimationContainer getAnimationContainer()
Description copied from interface:HasAnimationOptions
Returns an animation container instance to use in the default methods of this interface.- Specified by:
getAnimationContainer
in interfaceHasAnimationOptions
- Returns:
- an animation container instance
-
getDatasetOptionsHandler
public BarDatasetOptionsHandler getDatasetOptionsHandler()
Description copied from interface:HasBarDatasetOptions
Returns the instance of bar dataset options handler.- Specified by:
getDatasetOptionsHandler
in interfaceHasBarDatasetOptions
- Returns:
- the instance of bar dataset options handler
-
getType
public final Type getType()
Returns the data set type.- Returns:
- the data set type
-
setShowLine
public void setShowLine(boolean showLine)
Sets if the line is not drawn for this data set.- Parameters:
showLine
-false
if the line is not drawn for this data set.
-
isShowLine
public boolean isShowLine()
Returns if the line is not drawn for this data set.- Specified by:
isShowLine
in interfaceIsDefaultTypedDataset
- Returns:
false
if the line is not drawn for this data set.
-
-