public interface IsFill extends Key
Fill.
true the fill is applied, othewise false.
| Modifier and Type | Method and Description |
|---|---|
FillingMode |
getMode()
Returns the type of filling.
|
String |
getValue()
Returns the value as string (valid ONLY for relative dataset index and predefined), otherwise
Undefined.STRING. |
int |
getValueAsInt()
Returns the value as integer (valid ONLY for absolute dataset index), otherwise
Undefined.INTEGER. |
static boolean |
isValid(IsFill fill)
Returns
true if fill passed as argument is not null and its value is not null and its mode is not null as well. |
static Object |
toObject(IsFill fill)
Transforms a
IsFill instance in the a CHART.JS FILL property accepted value. |
static Object |
transform(Object object)
Returns a object which can be a boolean, integer, string or
IsFill when the callback has been activated. |
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, valuestatic boolean isValid(IsFill fill)
true if fill passed as argument is not null and its value is not null and its mode is not null as well.fill - fill to be checkedtrue if fill passed as argument is not null and its value is not null and its mode is not null as well.static Object transform(Object object)
IsFill when the callback has been activated.object - object to be normalized.static Object toObject(IsFill fill)
IsFill instance in the a CHART.JS FILL property accepted value.fill - fill instance to transformFillingMode getMode()
int getValueAsInt()
Undefined.INTEGER.Undefined.INTEGER.String getValue()
Undefined.STRING.Undefined.STRING.