Package org.pepstock.charba.client.geo
Class ChoroplethBar
- 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<IsDefaultBar>
- 
- org.pepstock.charba.client.options.Bar
- 
- org.pepstock.charba.client.geo.ChoroplethBar
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- IsDefaultBar,- IsDefaultOptionsElement,- IsDefaultPointStyleHandler
 
 public final class ChoroplethBar extends Bar The styling of the new elementChoroplethBaris based onBarelement with some additional options for the outline and graticule.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll 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.BargetBorderRadius, getBorderSkipped, getHoverBorderRadius, getInflateAmount, getPointStyleHandler, isAutoInflateAmount, isEnableBorderRadius, setAutoInflateAmount, setBorderRadius, setBorderSkipped, setBorderSkipped, setEnableBorderRadius, setHoverBorderRadius, setInflateAmount
 - 
Methods inherited from class org.pepstock.charba.client.options.AbstractElementgetBackgroundColor, 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.AbstractModelgetDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, 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.NativeObjectContainercheckDefaultValuesArgument, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElementgetBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
 
- 
 
- 
- 
- 
Method Detail- 
getCommonElementHandlerpublic org.pepstock.charba.client.geo.CommonOptionsElementHandler getCommonElementHandler() 
 - 
setOutlineBackgroundColorpublic default void setOutlineBackgroundColor(IsColor backgroundColor) Sets the outline background color.- Parameters:
- backgroundColor- the outline background color.
 
 - 
setOutlineBackgroundColorpublic default void setOutlineBackgroundColor(String backgroundColor) Sets the outline background color.- Parameters:
- backgroundColor- the outline background color.
 
 - 
getOutlineBackgroundColorAsStringpublic default String getOutlineBackgroundColorAsString() Returns the outline background color.- Returns:
- the outline background color.
 
 - 
getOutlineBackgroundColorpublic default IsColor getOutlineBackgroundColor() Returns the outline background color.- Returns:
- the outline background color.
 
 - 
setOutlineBorderWidthpublic default void setOutlineBorderWidth(int borderWidth) Sets the outline border width.- Parameters:
- borderWidth- the outline border width.
 
 - 
getOutlineBorderWidthpublic default int getOutlineBorderWidth() Returns the outline border width.- Returns:
- the outline border width.
 
 - 
setOutlineBorderColorpublic default void setOutlineBorderColor(IsColor borderColor) Sets the outline border color.- Parameters:
- borderColor- the outline border color.
 
 - 
setOutlineBorderColorpublic default void setOutlineBorderColor(String borderColor) Sets the outline border color.- Parameters:
- borderColor- the outline border color.
 
 - 
getOutlineBorderColorAsStringpublic default String getOutlineBorderColorAsString() Returns the outline border color.- Returns:
- the outline border color.
 
 - 
getOutlineBorderColorpublic default IsColor getOutlineBorderColor() Returns the outline border color.- Returns:
- the outline border color.
 
 - 
setGraticuleBorderWidthpublic default void setGraticuleBorderWidth(int borderWidth) Sets the graticule border width.- Parameters:
- borderWidth- the graticule border width.
 
 - 
getGraticuleBorderWidthpublic default int getGraticuleBorderWidth() Returns the graticule border width.- Returns:
- the graticule border width.
 
 - 
setGraticuleBorderColorpublic default void setGraticuleBorderColor(IsColor borderColor) Sets the graticule border color.- Parameters:
- borderColor- the graticule border color.
 
 - 
setGraticuleBorderColorpublic default void setGraticuleBorderColor(String borderColor) Sets the graticule border color.- Parameters:
- borderColor- the graticule border color.
 
 - 
getGraticuleBorderColorAsStringpublic default String getGraticuleBorderColorAsString() Returns the graticule border color.- Returns:
- the graticule border color.
 
 - 
getGraticuleBorderColorpublic default IsColor getGraticuleBorderColor() Returns the graticule border color.- Returns:
- the graticule border color.
 
 - 
setPointStylepublic default void setPointStyle(PointStyle pointStyle) Sets the style of the point.- Parameters:
- pointStyle- array of the style of the point.
 
 - 
getPointStylepublic default PointStyle getPointStyle() Returns the style of the point.- Specified by:
- getPointStylein interface- IsDefaultPointStyleHandler
- 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.- Specified by:
- getPointStyleTypein interface- IsDefaultPointStyleHandler
- Returns:
- the type of point style
 
 - 
getPointStyleAsImagepublic default Img getPointStyleAsImage() Returns the style of the point as image.
 If property is missing or not an image, returnsnull.- Specified by:
- getPointStyleAsImagein interface- IsDefaultPointStyleHandler
- 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 Canvas getPointStyleAsCanvas() Returns the style of the point as canvas.
 If property is missing or not an canvas, returnsnull.- Specified by:
- getPointStyleAsCanvasin interface- IsDefaultPointStyleHandler
- Returns:
- image of the style of the point as canvas.
 If property is missing or not a canvas, returnsnull.
 
 
- 
 
-