Package org.pepstock.charba.client.geo
Class BubbleMapDataset
- 
- All Implemented Interfaces:
- HasCallbackScope,- HasDataPoints,- HasDataset,- IsDefaultAnimationContainer,- IsDefaultAnimationTransition,- HasAnimationOptions
 
 public final class BubbleMapDataset extends BubbleDataset It is aBubbleDatasetwith additional options for bubble map charts.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.pepstock.charba.client.data.DatasetDataset.CanvasObjectProperty, Dataset.CommonProperty
 
- 
 - 
Field Summary- 
Fields inherited from class org.pepstock.charba.client.data.DatasetDEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING
 
- 
 - 
Constructor SummaryConstructors Constructor Description BubbleMapDataset()Creates a data set.
 It uses the global options has default.BubbleMapDataset(IsDefaultOptions defaultValues)Creates a data set setting the defaults value.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default ClipMapgetClipMap()Returns whether to clip the rendering to the chart area of the graph.List<Double>getData(boolean binding)Throws an exception because not available.List<DataPoint>getDataPoints(boolean binding)Throws an exception because not available.org.pepstock.charba.client.geo.GeoDatasetHandler<BubbleMapDataPoint>getHandler()default intgetOrder()Returns the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.default List<Feature>getOutline()Returns the outline used to scale and centralize the projection in the chart area.default List<PointStyle>getPointStyle()Returns the style of the point.default List<Canvas>getPointStyleAsCanvas()Returns the style of the point as canvas.
 If property is missing or not an canvas, returnsnull.default List<Img>getPointStyleAsImages()Returns the style of the point as image.
 If property is missing or not an image, returnsnull.default PointStyleCallback<DatasetContext>getPointStyleCallback()Returns the point style callback, if set, otherwisenull.default PointStyleTypegetPointStyleType()Returns the type of point style.default GraticulegetShowGraticule()Returns the graticule to render the lines in the background.default List<T>getValues()Returns the data property of a data set for a chart is specified as an array ofGeoDataPoint.default List<T>getValues(boolean binding)Returns the data property of a data set for a chart is specified as an array ofGeoDataPoint.default booleanisClipMap()Returns whether to clip the rendering to the chart area of the graph.default booleanisShowGraticule()Returnstrueto render a graticule in the background.default booleanisShowOutline()Returnstrueto render the outline in the background.default voidsetClipMap(boolean clipMap)Sets whether to clip the rendering to the chart area of the graph.default voidsetClipMap(ClipMap clipMap)Sets whether to clip the rendering to the chart area of the graph.voidsetData(double... values)Throws an exception because not available.voidsetData(List<Double> values)Throws an exception because not available.voidsetDataPoints(List<DataPoint> datapoints)Throws an exception because not available.voidsetDataPoints(DataPoint... datapoints)Throws an exception because not available.default voidsetOrder(int order)Sets the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.default voidsetOutline(List<Feature> outline)Sets the outline used to scale and centralize the projection in the chart area.default voidsetOutline(Feature... outline)Sets the outline used to scale and centralize the projection in the chart area.default voidsetPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback)Sets the point style callback.default voidsetPointStyle(Canvas... pointStyle)Sets the style of the point as canvas.default voidsetPointStyle(Img... pointStyle)Sets the style of the point as image.default voidsetPointStyle(PointStyle... pointStyle)Sets the style of the point.default voidsetShowGraticule(boolean showGraticule)Setstrueto render the lines in the background.default voidsetShowGraticule(Graticule showGraticule)Sets the graticule object to render the lines in the background.default voidsetShowOutline(boolean showOutline)Setstrueto render the outline in the background.default voidsetValues(List<T> values)Sets the data property of a data set for a chart is specified as an array ofGeoDataPoint.default voidsetValues(T[] values)Sets the data property of a data set for a chart is specified as an array ofGeoDataPoint.- 
Methods inherited from class org.pepstock.charba.client.data.BubbleDatasetgetDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultHoverBackgroundColorAsString, getDefaultHoverBorderColorAsString, getDefaultHoverBorderWidth, getDrawActiveElementsOnTopCallback, getHitRadius, getHitRadiusCallback, getHoverRadius, getHoverRadiusCallback, getOrderHandler, getPointStyleHandler, getRadius, getRadiusCallback, getRotation, getRotationCallback, isDrawActiveElementsOnTop, setDrawActiveElementsOnTop, setDrawActiveElementsOnTop, setDrawActiveElementsOnTop, setHitRadius, setHitRadius, setHitRadius, setHoverRadius, setHoverRadius, setHoverRadius, setRadius, setRadius, setRadius, setRotation, setRotation, setRotation
 - 
Methods inherited from class org.pepstock.charba.client.data.HoverDatasetgetBorderWidthCallback, getColors, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidthCallback, getWidths, setBorderWidth, setBorderWidth, setColors, setColors, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setWidths
 - 
Methods inherited from class org.pepstock.charba.client.data.HoverFlexDatasetgetBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
 - 
Methods inherited from class org.pepstock.charba.client.data.DatasetcreateContext, getAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getDataCount, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getLabel, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isClip, isHidden, isNormalized, isParsing, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setClip, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setNormalized, setOptions, setOptions, setParsing
 - 
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, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.options.HasAnimationOptionsgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
 - 
Methods inherited from interface org.pepstock.charba.client.data.HasDataPointsgetDataPoints
 - 
Methods inherited from interface org.pepstock.charba.client.data.HasDatasetgetDataset
 
- 
 
- 
- 
- 
Constructor Detail- 
BubbleMapDatasetpublic BubbleMapDataset() Creates a data set.
 It uses the global options has default.
 - 
BubbleMapDatasetpublic BubbleMapDataset(IsDefaultOptions defaultValues) Creates a data set setting the defaults value.- Parameters:
- defaultValues- default options
 
 
- 
 - 
Method Detail- 
getHandlerpublic org.pepstock.charba.client.geo.GeoDatasetHandler<BubbleMapDataPoint> getHandler() 
 - 
setDataPointspublic void setDataPoints(DataPoint... datapoints) Throws an exception because not available.- Specified by:
- setDataPointsin interface- HasDataPoints
- Parameters:
- datapoints- ignored because will throw an exception
 
 - 
setDataPointspublic void setDataPoints(List<DataPoint> datapoints) Throws an exception because not available.- Specified by:
- setDataPointsin interface- HasDataPoints
- Parameters:
- datapoints- ignored because will throw an exception
 
 - 
getDataPointspublic List<DataPoint> getDataPoints(boolean binding) Throws an exception because not available.- Specified by:
- getDataPointsin interface- HasDataPoints
- Parameters:
- binding- ignored because will throw an exception
- Returns:
- nothing because will throw an exception
 
 - 
setDatapublic void setData(double... values) Throws an exception because not available.
 - 
setValuespublic default void setValues(T[] values) Sets the data property of a data set for a chart is specified as an array ofGeoDataPoint.- Parameters:
- values- an array of- GeoDataPoint
 
 - 
setValuespublic default void setValues(List<T> values) Sets the data property of a data set for a chart is specified as an array ofGeoDataPoint.- Parameters:
- values- an array of- GeoDataPoint
 
 - 
getValuespublic default List<T> getValues() Returns the data property of a data set for a chart is specified as an array ofGeoDataPoint.- Returns:
- list of GeoDataPoint.
 
 - 
getValuespublic default List<T> getValues(boolean binding) Returns the data property of a data set for a chart is specified as an array ofGeoDataPoint.- Parameters:
- binding- if- truebinds the new array list in the container
- Returns:
- list of GeoDataPoint.
 
 - 
setOutlinepublic default void setOutline(Feature... outline) Sets the outline used to scale and centralize the projection in the chart area. By default a sphere is used.- Parameters:
- outline- the outline used to scale and centralize the projection in the chart area
 
 - 
setOutlinepublic default void setOutline(List<Feature> outline) Sets the outline used to scale and centralize the projection in the chart area. By default a sphere is used.- Parameters:
- outline- the outline used to scale and centralize the projection in the chart area
 
 - 
getOutlinepublic default List<Feature> getOutline() Returns the outline used to scale and centralize the projection in the chart area. By default a sphere is used.- Returns:
- the outline used to scale and centralize the projection in the chart area
 
 - 
setShowOutlinepublic default void setShowOutline(boolean showOutline) Setstrueto render the outline in the background.- Parameters:
- showOutline-- trueto render the outline in the background
 
 - 
isShowOutlinepublic default boolean isShowOutline() Returnstrueto render the outline in the background.- Returns:
- trueto render the outline in the background
 
 - 
setShowGraticulepublic default void setShowGraticule(boolean showGraticule) Setstrueto render the lines in the background.- Parameters:
- showGraticule-- trueto render the lines in the background
 
 - 
setShowGraticulepublic default void setShowGraticule(Graticule showGraticule) Sets the graticule object to render the lines in the background.- Parameters:
- showGraticule- the graticule to render the lines in the background
 
 - 
isShowGraticulepublic default boolean isShowGraticule() Returnstrueto render a graticule in the background.- Returns:
- trueto render a graticule in the background
 
 - 
getShowGraticulepublic default Graticule getShowGraticule() Returns the graticule to render the lines in the background.- Returns:
- the graticule to render the lines in the background or nullis any object has been set
 
 - 
setClipMappublic default void setClipMap(ClipMap clipMap) Sets whether to clip the rendering to the chart area of the graph.- Parameters:
- clipMap- whether to clip the rendering to the chart area of the graph
 
 - 
getClipMappublic default ClipMap getClipMap() Returns whether to clip the rendering to the chart area of the graph.- Returns:
- whether to clip the rendering to the chart area of the graph
 
 - 
setClipMappublic default void setClipMap(boolean clipMap) Sets whether to clip the rendering to the chart area of the graph.- Parameters:
- clipMap- whether to clip the rendering to the chart area of the graph
 
 - 
isClipMappublic default boolean isClipMap() Returns whether to clip the rendering to the chart area of the graph.- Returns:
- whether to clip the rendering to the chart area of the graph
 
 - 
setOrderpublic default void setOrder(int order) Sets the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.- Parameters:
- order- the drawing order of dataset.
 
 - 
getOrderpublic default int getOrder() Returns the drawing order of dataset.
 Also affects order for stacking, tooltip, and legend.- Returns:
- the drawing order of dataset
 
 - 
setPointStylepublic default void setPointStyle(PointStyle... pointStyle) Sets the style of the point.- Parameters:
- pointStyle- array of the style of the point.
 
 - 
getPointStylepublic default List<PointStyle> getPointStyle() Returns the style of the point.- Returns:
- the style of the point or nullif point style is set as image
 
 - 
setPointStylepublic default void setPointStyle(Img... pointStyle) Sets the style of the point as image.- Parameters:
- pointStyle- image element of the style of the point as image.
 
 - 
getPointStyleTypepublic default PointStyleType getPointStyleType() Returns the type of point style.- Returns:
- the type of point style
 
 - 
getPointStyleAsImagespublic default List<Img> getPointStyleAsImages() Returns the style of the point as image.
 If property is missing or not an image, returnsnull.- Returns:
- image of the style of the point as image.
 If property is missing or not a image, returnsnull.
 
 - 
setPointStylepublic default void setPointStyle(Canvas... pointStyle) Sets the style of the point as canvas.- Parameters:
- pointStyle- canvas element of the style of the point as canvas.
 
 - 
getPointStyleAsCanvaspublic default List<Canvas> getPointStyleAsCanvas() Returns the style of the point as canvas.
 If property is missing or not an canvas, returnsnull.- Returns:
- image of the style of the point as canvas.
 If property is missing or not a canvas, returnsnull.
 
 - 
getPointStyleCallbackpublic default PointStyleCallback<DatasetContext> getPointStyleCallback() Returns the point style callback, if set, otherwisenull.- Returns:
- the point style callback, if set, otherwise null.
 
 - 
setPointStylepublic default void setPointStyle(PointStyleCallback<DatasetContext> pointStyleCallback) Sets the point style callback.- Parameters:
- pointStyleCallback- the point style callback.
 
 
- 
 
-