Package org.pepstock.charba.client.geo
Class GeoFeatureElementOptions
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.items.ChartElementOptions
- 
- org.pepstock.charba.client.items.CommonElementOptions
- 
- org.pepstock.charba.client.items.BarElementOptions
- 
- org.pepstock.charba.client.geo.GeoFeatureElementOptions
 
 
 
 
 
 
- 
 public final class GeoFeatureElementOptions extends BarElementOptions The styling of the new elementGeoFeatureElementOptionsis based onBarelement with some additional options for the outline and graticule.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static ElementFactory<GeoFeatureElementOptions>FACTORYElement factory to get ""geoFeature"" element.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetDefaultBorderWidth()This method must be overrided by all element where the border width is stored in different object.IsColorgetGraticuleBorderColor()Returns the graticule border color.StringgetGraticuleBorderColorAsString()Returns the graticule border color.intgetGraticuleBorderWidth()Returns the graticule border width.IsColorgetOutlineBackgroundColor()Returns the outline background color.StringgetOutlineBackgroundColorAsString()Returns the outline background color.IsColorgetOutlineBorderColor()Returns the outline border color.StringgetOutlineBorderColorAsString()Returns the outline border color.intgetOutlineBorderWidth()Returns the outline border width.voidsetBorderWidth(BarBorderWidth borderWidth)It doesn't do anything because you can set the border width only by a number.voidsetGraticuleBorderColor(String borderColor)Sets the graticule border color.voidsetGraticuleBorderColor(IsColor borderColor)Sets the graticule border color.voidsetGraticuleBorderWidth(int borderWidth)Sets the graticule border width.voidsetOutlineBackgroundColor(String backgroundColor)Sets the outline background color.voidsetOutlineBackgroundColor(IsColor backgroundColor)Sets the outline background color.voidsetOutlineBorderColor(String borderColor)Sets the outline border color.voidsetOutlineBorderColor(IsColor borderColor)Sets the outline border color.voidsetOutlineBorderWidth(int borderWidth)Sets the outline border width.- 
Methods inherited from class org.pepstock.charba.client.items.BarElementOptionsgetBarBorderRadius, getBarPercentage, getBase, getBorderRadius, getBorderSkipped, getBorderWidth, getBorderWidthAsObject, getCategoryPercentage, getInflateAmount, isAutoInflateAmount, isBorderRadiusAsObject, isBorderWidthAsObject, setAutoInflateAmount, setBarPercentage, setBase, setBorderRadius, setBorderRadius, setBorderSkipped, setBorderSkipped, setCategoryPercentage, setInflateAmount
 - 
Methods inherited from class org.pepstock.charba.client.items.CommonElementOptionscreateTooltipLabelColor, getBackgroundColor, getBackgroundColorAsCanvasGradient, getBackgroundColorAsCanvasPattern, getBackgroundColorAsGradient, getBackgroundColorAsPattern, getBackgroundColorAsString, getBorderColor, getBorderColorAsCanvasGradient, getBorderColorAsGradient, getBorderColorAsString, inRange, inXRange, inYRange, isBackgroundColorAsColor, isBackgroundColorAsGradient, isBackgroundColorAsPattern, isBorderColorAsColor, isBorderColorAsGradient, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth
 - 
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
 
- 
 
- 
- 
- 
Field Detail- 
FACTORYpublic static final ElementFactory<GeoFeatureElementOptions> FACTORY Element factory to get ""geoFeature"" element.
 
- 
 - 
Method Detail- 
getDefaultBorderWidthprotected int getDefaultBorderWidth() Description copied from class:CommonElementOptionsThis method must be overrided by all element where the border width is stored in different object.- Overrides:
- getDefaultBorderWidthin class- BarElementOptions
- Returns:
- an undefined integer
 
 - 
setBorderWidthpublic void setBorderWidth(BarBorderWidth borderWidth) It doesn't do anything because you can set the border width only by a number.- Overrides:
- setBorderWidthin class- BarElementOptions
- Parameters:
- borderWidth- the border width.
 
 - 
setOutlineBackgroundColorpublic void setOutlineBackgroundColor(IsColor backgroundColor) Sets the outline background color.- Parameters:
- backgroundColor- the outline background color.
 
 - 
setOutlineBackgroundColorpublic void setOutlineBackgroundColor(String backgroundColor) Sets the outline background color.- Parameters:
- backgroundColor- the outline background color.
 
 - 
getOutlineBackgroundColorAsStringpublic String getOutlineBackgroundColorAsString() Returns the outline background color.- Returns:
- the outline background color.
 
 - 
getOutlineBackgroundColorpublic IsColor getOutlineBackgroundColor() Returns the outline background color.- Returns:
- the outline background color.
 
 - 
setOutlineBorderWidthpublic void setOutlineBorderWidth(int borderWidth) Sets the outline border width.- Parameters:
- borderWidth- the outline border width.
 
 - 
getOutlineBorderWidthpublic int getOutlineBorderWidth() Returns the outline border width.- Returns:
- the outline border width.
 
 - 
setOutlineBorderColorpublic void setOutlineBorderColor(IsColor borderColor) Sets the outline border color.- Parameters:
- borderColor- the outline border color.
 
 - 
setOutlineBorderColorpublic void setOutlineBorderColor(String borderColor) Sets the outline border color.- Parameters:
- borderColor- the outline border color.
 
 - 
getOutlineBorderColorAsStringpublic String getOutlineBorderColorAsString() Returns the outline border color.- Returns:
- the outline border color.
 
 - 
getOutlineBorderColorpublic IsColor getOutlineBorderColor() Returns the outline border color.- Returns:
- the outline border color.
 
 - 
setGraticuleBorderWidthpublic void setGraticuleBorderWidth(int borderWidth) Sets the graticule border width.- Parameters:
- borderWidth- the graticule border width.
 
 - 
getGraticuleBorderWidthpublic int getGraticuleBorderWidth() Returns the graticule border width.- Returns:
- the graticule border width.
 
 - 
setGraticuleBorderColorpublic void setGraticuleBorderColor(String borderColor) Sets the graticule border color.- Parameters:
- borderColor- the graticule border color.
 
 - 
setGraticuleBorderColorpublic void setGraticuleBorderColor(IsColor borderColor) Sets the graticule border color.- Parameters:
- borderColor- the graticule border color.
 
 - 
getGraticuleBorderColorAsStringpublic String getGraticuleBorderColorAsString() Returns the graticule border color.- Returns:
- the graticule border color.
 
 - 
getGraticuleBorderColorpublic IsColor getGraticuleBorderColor() Returns the graticule border color.- Returns:
- the graticule border color.
 
 
- 
 
-