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 Summary
Fields Modifier and Type Field Description static ElementFactory<GeoFeatureElementOptions>FACTORYElement factory to get ""geoFeature"" element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.BarElementOptions
getBarBorderRadius, getBarPercentage, getBase, getBorderRadius, getBorderSkipped, getBorderWidth, getBorderWidthAsObject, getCategoryPercentage, getDefaultBorderWidth, getInflateAmount, isAutoInflateAmount, isBorderRadiusAsObject, isBorderWidthAsObject, setAutoInflateAmount, setBarPercentage, setBase, setBorderRadius, setBorderRadius, setBorderSkipped, setBorderSkipped, setBorderWidth, setCategoryPercentage, setInflateAmount
-
Methods inherited from class org.pepstock.charba.client.items.CommonElementOptions
createTooltipLabelColor, 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.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, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
-
-
-
-
Field Detail
-
FACTORY
public static final ElementFactory<GeoFeatureElementOptions> FACTORY
Element factory to get ""geoFeature"" element.
-
-
Method Detail
-
setOutlineBackgroundColor
public void setOutlineBackgroundColor(IsColor backgroundColor)
Sets the outline background color.- Parameters:
backgroundColor- the outline background color.
-
setOutlineBackgroundColor
public void setOutlineBackgroundColor(String backgroundColor)
Sets the outline background color.- Parameters:
backgroundColor- the outline background color.
-
getOutlineBackgroundColorAsString
public String getOutlineBackgroundColorAsString()
Returns the outline background color.- Returns:
- the outline background color.
-
getOutlineBackgroundColor
public IsColor getOutlineBackgroundColor()
Returns the outline background color.- Returns:
- the outline background color.
-
setOutlineBorderWidth
public void setOutlineBorderWidth(int borderWidth)
Sets the outline border width.- Parameters:
borderWidth- the outline border width.
-
getOutlineBorderWidth
public int getOutlineBorderWidth()
Returns the outline border width.- Returns:
- the outline border width.
-
setOutlineBorderColor
public void setOutlineBorderColor(IsColor borderColor)
Sets the outline border color.- Parameters:
borderColor- the outline border color.
-
setOutlineBorderColor
public void setOutlineBorderColor(String borderColor)
Sets the outline border color.- Parameters:
borderColor- the outline border color.
-
getOutlineBorderColorAsString
public String getOutlineBorderColorAsString()
Returns the outline border color.- Returns:
- the outline border color.
-
getOutlineBorderColor
public IsColor getOutlineBorderColor()
Returns the outline border color.- Returns:
- the outline border color.
-
setGraticuleBorderWidth
public void setGraticuleBorderWidth(int borderWidth)
Sets the graticule border width.- Parameters:
borderWidth- the graticule border width.
-
getGraticuleBorderWidth
public int getGraticuleBorderWidth()
Returns the graticule border width.- Returns:
- the graticule border width.
-
setGraticuleBorderColor
public void setGraticuleBorderColor(String borderColor)
Sets the graticule border color.- Parameters:
borderColor- the graticule border color.
-
setGraticuleBorderColor
public void setGraticuleBorderColor(IsColor borderColor)
Sets the graticule border color.- Parameters:
borderColor- the graticule border color.
-
getGraticuleBorderColorAsString
public String getGraticuleBorderColorAsString()
Returns the graticule border color.- Returns:
- the graticule border color.
-
getGraticuleBorderColor
public IsColor getGraticuleBorderColor()
Returns the graticule border color.- Returns:
- the graticule border color.
-
-