Interface BorderRadiusCallback<C extends ChartContext>
-
- Type Parameters:
C
- type of context to pass to the callback.
- All Superinterfaces:
Scriptable<Object,C>
public interface BorderRadiusCallback<C extends ChartContext> extends Scriptable<Object,C>
Callback interface to set whateverborderRadius
property at runtime.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
Static Methods Modifier and Type Method Description static <C extends ChartContext>
BarBorderRadiustoObject(C context, BorderRadiusCallback<C> callback, int defaultValue)
Returns anBarBorderRadius
instance when the callback has been activated.-
Methods inherited from interface org.pepstock.charba.client.callbacks.Scriptable
invoke
-
-
-
-
Method Detail
-
toObject
static <C extends ChartContext> BarBorderRadius toObject(C context, BorderRadiusCallback<C> callback, int defaultValue)
Returns anBarBorderRadius
instance when the callback has been activated.- Type Parameters:
C
- type of chart context- Parameters:
context
- annotation context instance.callback
-BorderRadiusCallback
instance to be invokeddefaultValue
- default value for this border radius.- Returns:
- a object property value, as
BarBorderRadius
-
-