Uses of Interface
org.pepstock.charba.client.callbacks.ScriptableResultChecker
-
Packages that use ScriptableResultChecker Package Description org.pepstock.charba.client.callbacks All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS. -
-
Uses of ScriptableResultChecker in org.pepstock.charba.client.callbacks
Classes in org.pepstock.charba.client.callbacks that implement ScriptableResultChecker Modifier and Type Class Description class
ScriptableDoubleChecker
Checker out of the box forScriptable
s which return aDouble
.class
ScriptableIntegerChecker
Checker out of the box forScriptable
s which return aInteger
.Methods in org.pepstock.charba.client.callbacks with parameters of type ScriptableResultChecker Modifier and Type Method Description static <T extends Number,C extends ChartContext>
TScriptableUtils. getOptionValueAsNumber(C context, Scriptable<T,C> callback, T defaultValue, ScriptableResultChecker<T> checker)
Returns the value, asNumber
, of the property as result of callback (the same type), passing a default value and aScriptableResultChecker
to check the consistency of the result.
-