T
- the model objectpublic static interface ColorPickerInput.Callback<T>
Modifier and Type | Method and Description |
---|---|
int |
getModelObjectValue(T modelObject)
Allows to return the color saved in the given model object
|
void |
setModelObjectValue(T modelObject,
int color)
Allows to set the given color to the given model object
|
void setModelObjectValue(T modelObject, int color)
modelObject
- the model object to be updatedcolor
- the color currently selectedint getModelObjectValue(T modelObject)
modelObject
- the model object to be queried