Package org.pepstock.charba.client.items
Class PaddingItem
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.options.AbstractPadding
- 
- org.pepstock.charba.client.items.PaddingItem
 
 
 
- 
- All Implemented Interfaces:
- IsDefaultPadding,- IsPadding
 
 public final class PaddingItem extends AbstractPadding Padding options item to use mainly for callbacks.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Constructor Description PaddingItem()Creates an empty padding to use for chart configuration with global defaults.PaddingItem(int padding)Creates an padding to use for chart configuration with global defaults and setting the same size for all dimensions.PaddingItem(IsDefaultPadding defaultValues)Creates an empty padding to use for chart configuration when the font is created by a callback.PaddingItem(IsDefaultPadding defaultValues, int padding)Creates an empty padding to use for chart configuration when the font is created by a callback and setting the same size for all dimensions.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeObjectnativeObject()Returns the native object instance.- 
Methods inherited from class org.pepstock.charba.client.options.AbstractPaddinggetBottom, getLeft, getObject, getRight, getTop, setBottom, setLeft, setRight, setTop
 - 
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
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPaddingcreate, create
 
- 
 
- 
- 
- 
Constructor Detail- 
PaddingItempublic PaddingItem() Creates an empty padding to use for chart configuration with global defaults.
 - 
PaddingItempublic PaddingItem(int padding) Creates an padding to use for chart configuration with global defaults and setting the same size for all dimensions.- Parameters:
- padding- the initial size for all dimensions
 
 - 
PaddingItempublic PaddingItem(IsDefaultPadding defaultValues) Creates an empty padding to use for chart configuration when the font is created by a callback.- Parameters:
- defaultValues- default provider
 
 - 
PaddingItempublic PaddingItem(IsDefaultPadding defaultValues, int padding) Creates an empty padding to use for chart configuration when the font is created by a callback and setting the same size for all dimensions.- Parameters:
- defaultValues- default provider
- padding- the initial size for all dimensions
 
 
- 
 - 
Method Detail- 
nativeObjectpublic NativeObject nativeObject() Returns the native object instance.- Returns:
- the native object instance.
 
 
- 
 
-