public final class BarBorderWidth extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
BarBorderWidth.BarBorderWidthFactory
Inner class to create bar border width object by a native object.
|
Modifier and Type | Field and Description |
---|---|
static BarBorderWidth.BarBorderWidthFactory |
FACTORY
Public factory to create a border width object from a native object.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areValuesEquals()
Returns
true if all values of object are equals. |
int |
average()
Returns the average value of all values managed by object.
|
int |
getBottom()
Returns the border width bottom in pixel.
|
int |
getLeft()
Returns the border width left in pixel.
|
int |
getRight()
Returns the border width right in pixel.
|
int |
getTop()
Returns the border width top in pixel.
|
NativeObject |
nativeObject()
Returns the native object instance.
|
void |
set(int borderWidth)
Sets the border width size to all dimensions.
|
void |
setBottom(int borderWidth)
Sets the border width bottom in pixel.
|
void |
setLeft(int borderWidth)
Sets the border width left in pixel.
|
void |
setRight(int borderWidth)
Sets the border width right in pixel.
|
void |
setTop(int borderWidth)
Sets the border width top in pixel.
|
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, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final BarBorderWidth.BarBorderWidthFactory FACTORY
public BarBorderWidth()
public BarBorderWidth(int borderWidth)
borderWidth
- border width size to apply to all dimensions.public void set(int borderWidth)
borderWidth
- border width size to apply to all dimensions.public void setLeft(int borderWidth)
borderWidth
- the border width left in pixel.public int getLeft()
public void setRight(int borderWidth)
borderWidth
- the border width right in pixel.public int getRight()
public void setTop(int borderWidth)
borderWidth
- the border width top in pixel.public int getTop()
public void setBottom(int borderWidth)
borderWidth
- the border width bottom in pixel.public int getBottom()
public final boolean areValuesEquals()
true
if all values of object are equals.true
if all values of object are equalspublic final int average()
public final NativeObject nativeObject()