Interface IsScriptablePaddingProvider<T extends ChartContext>
-
- Type Parameters:
T
- type of scriptable context
- All Known Implementing Classes:
BoxLabel
,DataLabelsOptions
,LabelAnnotation
,LabelItem
,Layout
,LineLabel
,Subtitle
,Title
public interface IsScriptablePaddingProvider<T extends ChartContext>
Map an object which contains a padding instance which can be set by callback,PaddingCallback
.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaddingCallback<T>
getPaddingCallback()
Returns thePaddingCallback
if it has been set ornull
.void
setPadding(NativeCallback paddingCallback)
Sets the padding callback.void
setPadding(PaddingCallback<T> paddingCallback)
Sets the padding callback.
-
-
-
Method Detail
-
getPaddingCallback
PaddingCallback<T> getPaddingCallback()
Returns thePaddingCallback
if it has been set ornull
.- Returns:
- the
PaddingCallback
if it has been set ornull
.
-
setPadding
void setPadding(PaddingCallback<T> paddingCallback)
Sets the padding callback.- Parameters:
paddingCallback
- the padding callback.
-
setPadding
void setPadding(NativeCallback paddingCallback)
Sets the padding callback.- Parameters:
paddingCallback
- the padding callback.
-
-