T - type of scriptable contextpublic abstract class AbstractScriptablePadding<T extends ChartContext> extends AbstractPadding
PaddingCallback if the
 IsScriptablePaddingProvider instance has been set with a PaddingCallback.| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider,
                         IsDefaultPadding defaultValues)
Creates an empty padding to use for chart configuration. 
 | 
protected  | 
AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider,
                         IsDefaultPadding defaultValues,
                         NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
resetCallback()
Invokes when any property of the padding is being set, in order to reset the  
PaddingCallback if exists | 
void | 
setBottom(int value)
Sets the padding bottom in pixel. 
 | 
void | 
setLeft(int value)
Sets the padding left in pixel. 
 | 
void | 
setRight(int value)
Sets the padding right in pixel. 
 | 
void | 
setTop(int value)
Sets the padding top in pixel. 
 | 
getBottom, getLeft, getObject, getRight, getTopcheckDefaultValuesArgument, empty, getArrayValue, 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, 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, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createprotected AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider, IsDefaultPadding defaultValues)
scriptablePaddingProvider - the provider of padding callbackdefaultValues - default providerprotected AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider, IsDefaultPadding defaultValues, NativeObject nativeObject)
scriptablePaddingProvider - the provider of padding callbackdefaultValues - default providernativeObject - native object to map java script propertiespublic void setLeft(int value)
AbstractPaddingsetLeft in interface IsPaddingsetLeft in class AbstractPaddingvalue - the padding left in pixel.public void setRight(int value)
AbstractPaddingsetRight in interface IsPaddingsetRight in class AbstractPaddingvalue - the padding right in pixel.public void setTop(int value)
AbstractPaddingsetTop in interface IsPaddingsetTop in class AbstractPaddingvalue - the padding top in pixel.public void setBottom(int value)
AbstractPaddingsetBottom in interface IsPaddingsetBottom in class AbstractPaddingvalue - the padding bottom in pixel.protected void resetCallback()
PaddingCallback if exists