Package org.pepstock.charba.client.geo
Class BubbleMapPoint
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeObjectContainer
-
- org.pepstock.charba.client.commons.AbstractNode
-
- org.pepstock.charba.client.options.AbstractModel<Elements,D>
-
- org.pepstock.charba.client.options.AbstractElement<IsDefaultPoint>
-
- org.pepstock.charba.client.options.Point
-
- org.pepstock.charba.client.geo.BubbleMapPoint
-
- All Implemented Interfaces:
IsDefaultOptionsElement,IsDefaultPoint,IsDefaultPointStyleHandler
public final class BubbleMapPoint extends Point
The styling of the new elementBubbleMapPointis based onPointelement with some additional options for the outline and graticule.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description org.pepstock.charba.client.geo.CommonOptionsElementHandlergetCommonElementHandler()default IsColorgetGraticuleBorderColor()Returns the graticule border color.default StringgetGraticuleBorderColorAsString()Returns the graticule border color.default intgetGraticuleBorderWidth()Returns the graticule border width.default IsColorgetOutlineBackgroundColor()Returns the outline background color.default StringgetOutlineBackgroundColorAsString()Returns the outline background color.default IsColorgetOutlineBorderColor()Returns the outline border color.default StringgetOutlineBorderColorAsString()Returns the outline border color.default intgetOutlineBorderWidth()Returns the outline border width.default PointStylegetPointStyle()Returns the style of the point.default CanvasgetPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.default ImggetPointStyleAsImage()Returns the style of the point as image.
If property is missing or not an image, returnsnull.default PointStyleTypegetPointStyleType()Returns the type of point style.default voidsetGraticuleBorderColor(String borderColor)Sets the graticule border color.default voidsetGraticuleBorderColor(IsColor borderColor)Sets the graticule border color.default voidsetGraticuleBorderWidth(int borderWidth)Sets the graticule border width.default voidsetOutlineBackgroundColor(String backgroundColor)Sets the outline background color.default voidsetOutlineBackgroundColor(IsColor backgroundColor)Sets the outline background color.default voidsetOutlineBorderColor(String borderColor)Sets the outline border color.default voidsetOutlineBorderColor(IsColor borderColor)Sets the outline border color.default voidsetOutlineBorderWidth(int borderWidth)Sets the outline border width.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.-
Methods inherited from class org.pepstock.charba.client.options.Point
getHitRadius, getHoverRadius, getPointStyleHandler, getRadius, getRotation, setHitRadius, setHoverRadius, setRadius, setRotation
-
Methods inherited from class org.pepstock.charba.client.options.AbstractElement
getBackgroundColor, getBackgroundColorAsString, getBorderColor, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBackgroundColorAsString, getHoverBorderColor, getHoverBorderColorAsString, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth
-
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, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, 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
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, 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, 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.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
-
-
-
-
Method Detail
-
getCommonElementHandler
public org.pepstock.charba.client.geo.CommonOptionsElementHandler getCommonElementHandler()
-
setOutlineBackgroundColor
public default void setOutlineBackgroundColor(IsColor backgroundColor)
Sets the outline background color.- Parameters:
backgroundColor- the outline background color.
-
setOutlineBackgroundColor
public default void setOutlineBackgroundColor(String backgroundColor)
Sets the outline background color.- Parameters:
backgroundColor- the outline background color.
-
getOutlineBackgroundColorAsString
public default String getOutlineBackgroundColorAsString()
Returns the outline background color.- Returns:
- the outline background color.
-
getOutlineBackgroundColor
public default IsColor getOutlineBackgroundColor()
Returns the outline background color.- Returns:
- the outline background color.
-
setOutlineBorderWidth
public default void setOutlineBorderWidth(int borderWidth)
Sets the outline border width.- Parameters:
borderWidth- the outline border width.
-
getOutlineBorderWidth
public default int getOutlineBorderWidth()
Returns the outline border width.- Returns:
- the outline border width.
-
setOutlineBorderColor
public default void setOutlineBorderColor(IsColor borderColor)
Sets the outline border color.- Parameters:
borderColor- the outline border color.
-
setOutlineBorderColor
public default void setOutlineBorderColor(String borderColor)
Sets the outline border color.- Parameters:
borderColor- the outline border color.
-
getOutlineBorderColorAsString
public default String getOutlineBorderColorAsString()
Returns the outline border color.- Returns:
- the outline border color.
-
getOutlineBorderColor
public default IsColor getOutlineBorderColor()
Returns the outline border color.- Returns:
- the outline border color.
-
setGraticuleBorderWidth
public default void setGraticuleBorderWidth(int borderWidth)
Sets the graticule border width.- Parameters:
borderWidth- the graticule border width.
-
getGraticuleBorderWidth
public default int getGraticuleBorderWidth()
Returns the graticule border width.- Returns:
- the graticule border width.
-
setGraticuleBorderColor
public default void setGraticuleBorderColor(IsColor borderColor)
Sets the graticule border color.- Parameters:
borderColor- the graticule border color.
-
setGraticuleBorderColor
public default void setGraticuleBorderColor(String borderColor)
Sets the graticule border color.- Parameters:
borderColor- the graticule border color.
-
getGraticuleBorderColorAsString
public default String getGraticuleBorderColorAsString()
Returns the graticule border color.- Returns:
- the graticule border color.
-
getGraticuleBorderColor
public default IsColor getGraticuleBorderColor()
Returns the graticule border color.- Returns:
- the graticule border color.
-
setPointStyle
public default void setPointStyle(PointStyle pointStyle)
Sets the style of the point.- Parameters:
pointStyle- array of the style of the point.
-
getPointStyle
public default PointStyle getPointStyle()
Returns the style of the point.- Specified by:
getPointStylein interfaceIsDefaultPointStyleHandler- Returns:
- the style of the point or
nullif point style is set as image
-
setPointStyle
public 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.
-
getPointStyleType
public default PointStyleType getPointStyleType()
Returns the type of point style.- Specified by:
getPointStyleTypein interfaceIsDefaultPointStyleHandler- Returns:
- the type of point style
-
getPointStyleAsImage
public default Img getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull.- Specified by:
getPointStyleAsImagein interfaceIsDefaultPointStyleHandler- Returns:
- image of the style of the point as image.
If property is missing or not a image, returnsnull.
-
setPointStyle
public 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.
-
getPointStyleAsCanvas
public default Canvas getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.- Specified by:
getPointStyleAsCanvasin interfaceIsDefaultPointStyleHandler- Returns:
- image of the style of the point as canvas.
If property is missing or not a canvas, returnsnull.
-
-