Package org.pepstock.charba.client.data
Class ArcBorderRadius
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.data.ArcBorderRadius
 
 
- 
 public final class ArcBorderRadius extends NativeObjectContainer Defines the border radius for ARC data set element, applies the corner radius to all corners of the arc (outerStart, outerEnd, innerStart, and innerEnd).- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classArcBorderRadius.ArcBorderRadiusFactoryInner class to create arc border radius object by a native object.
 - 
Field SummaryFields Modifier and Type Field Description static ArcBorderRadius.ArcBorderRadiusFactoryFACTORYPublic factory to create a border radius object from a native object.
 - 
Constructor SummaryConstructors Constructor Description ArcBorderRadius()Creates the object with an empty native object instance.ArcBorderRadius(int borderRadius)Creates the object using the argument to set the border radius 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.intgetInnerEnd()Returns the border radius for inner-end corner of the arc, in pixel.intgetInnerStart()Returns the border radius for inner-start corner of the arc, in pixel.intgetOuterEnd()Returns the border radius for outer-end corner of the arc, in pixel.intgetOuterStart()Returns the border radius for outer-start corner of the arc, in pixel.NativeObjectnativeObject()Returns the native object instance.voidset(int borderRadius)Sets the border radius size to all corners of the rectangle.voidsetInnerEnd(int borderRadius)Sets the border radius for inner-end corner of the arc, in pixel.voidsetInnerStart(int borderRadius)Sets the border radius for inner-start corner of the arc, in pixel.voidsetOuterEnd(int borderRadius)Sets the border radius for outer-end corner of the arc, in pixel.voidsetOuterStart(int borderRadius)Sets the border radius for outer-start corner of the arc, 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 ArcBorderRadius.ArcBorderRadiusFactory FACTORY Public factory to create a border radius object from a native object.
 
- 
 - 
Constructor Detail- 
ArcBorderRadiuspublic ArcBorderRadius() Creates the object with an empty native object instance.
 - 
ArcBorderRadiuspublic ArcBorderRadius(int borderRadius) Creates the object using the argument to set the border radius size to all corners of the rectangle.- Parameters:
- borderRadius- border radius to apply to all corners of the rectangle.
 
 
- 
 - 
Method Detail- 
setpublic void set(int borderRadius) Sets the border radius size to all corners of the rectangle.- Parameters:
- borderRadius- border radius to apply to all corners of the rectangle.
 
 - 
setOuterStartpublic void setOuterStart(int borderRadius) Sets the border radius for outer-start corner of the arc, in pixel.- Parameters:
- borderRadius- the border radius for outer-start corner of the arc, in pixel
 
 - 
getOuterStartpublic int getOuterStart() Returns the border radius for outer-start corner of the arc, in pixel.- Returns:
- the border radius for outer-start corner of the arc, in pixel
 
 - 
setOuterEndpublic void setOuterEnd(int borderRadius) Sets the border radius for outer-end corner of the arc, in pixel.- Parameters:
- borderRadius- the border radius for outer-end corner of the arc, in pixel
 
 - 
getOuterEndpublic int getOuterEnd() Returns the border radius for outer-end corner of the arc, in pixel.- Returns:
- the border radius for outer-end corner of the arc, in pixel
 
 - 
setInnerStartpublic void setInnerStart(int borderRadius) Sets the border radius for inner-start corner of the arc, in pixel.- Parameters:
- borderRadius- the border radius for inner-start corner of the arc, in pixel
 
 - 
getInnerStartpublic int getInnerStart() Returns the border radius for inner-start corner of the arc, in pixel.- Returns:
- the border radius for inner-start corner of the arc, in pixel
 
 - 
setInnerEndpublic void setInnerEnd(int borderRadius) Sets the border radius for inner-end corner of the arc, in pixel.- Parameters:
- borderRadius- the border radius for inner-end corner of the arc, in pixel
 
 - 
getInnerEndpublic int getInnerEnd() Returns the border radius for inner-end corner of the arc, in pixel.- Returns:
- the border radius for inner-end corner of the arc, 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.
 
 
- 
 
-