Package org.pepstock.charba.client.data
Class BarBorderWidth
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.data.BarBorderWidth
 
 
- 
 public final class BarBorderWidth extends NativeObjectContainer Defines the border width for BAR data set (left, top, right, bottom).- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBarBorderWidth.BarBorderWidthFactoryInner class to create bar border width object by a native object.
 - 
Field SummaryFields Modifier and Type Field Description static BarBorderWidth.BarBorderWidthFactoryFACTORYPublic factory to create a border width object from a native object.
 - 
Constructor SummaryConstructors Constructor Description BarBorderWidth()Creates the object with an empty native object instance.BarBorderWidth(int borderWidth)Creates the object using the argument to set the border width size to all corners of the rectangle.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareValuesEquals()Returnstrueif all values of object are equals.intaverage()Returns the average value of all values managed by object.intgetBottom()Returns the border width bottom in pixel.intgetLeft()Returns the border width left in pixel.intgetRight()Returns the border width right in pixel.intgetTop()Returns the border width top in pixel.NativeObjectnativeObject()Returns the native object instance.voidset(int borderWidth)Sets the border width size to all dimensions.voidsetBottom(int borderWidth)Sets the border width bottom in pixel.voidsetLeft(int borderWidth)Sets the border width left in pixel.voidsetRight(int borderWidth)Sets the border width right in pixel.voidsetTop(int borderWidth)Sets the border width top in pixel.- 
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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 
- 
 
- 
- 
- 
Field Detail- 
FACTORYpublic static final BarBorderWidth.BarBorderWidthFactory FACTORY Public factory to create a border width object from a native object.
 
- 
 - 
Constructor Detail- 
BarBorderWidthpublic BarBorderWidth() Creates the object with an empty native object instance.
 - 
BarBorderWidthpublic BarBorderWidth(int borderWidth) Creates the object using the argument to set the border width size to all corners of the rectangle.- Parameters:
- borderWidth- border width size to apply to all dimensions.
 
 
- 
 - 
Method Detail- 
setpublic void set(int borderWidth) Sets the border width size to all dimensions.- Parameters:
- borderWidth- border width size to apply to all dimensions.
 
 - 
setLeftpublic void setLeft(int borderWidth) Sets the border width left in pixel.- Parameters:
- borderWidth- the border width left in pixel.
 
 - 
getLeftpublic int getLeft() Returns the border width left in pixel.- Returns:
- the border width left in pixel.
 
 - 
setRightpublic void setRight(int borderWidth) Sets the border width right in pixel.- Parameters:
- borderWidth- the border width right in pixel.
 
 - 
getRightpublic int getRight() Returns the border width right in pixel.- Returns:
- the border width right in pixel.
 
 - 
setToppublic void setTop(int borderWidth) Sets the border width top in pixel.- Parameters:
- borderWidth- the border width top in pixel.
 
 - 
getToppublic int getTop() Returns the border width top in pixel.- Returns:
- the border width top in pixel.
 
 - 
setBottompublic void setBottom(int borderWidth) Sets the border width bottom in pixel.- Parameters:
- borderWidth- the border width bottom in pixel.
 
 - 
getBottompublic int getBottom() Returns the border width bottom in pixel.- Returns:
- the border width bottom in pixel.
 
 - 
areValuesEqualspublic final boolean areValuesEquals() Returnstrueif all values of object are equals.- Returns:
- trueif all values of object are equals
 
 - 
averagepublic final int average() Returns the average value of all values managed by object.- Returns:
- the average value of all values managed by object
 
 - 
nativeObjectpublic final NativeObject nativeObject() Returns the native object instance.- Returns:
- the native object instance.
 
 
- 
 
-