T
- the model objectpublic static interface SwitchInput.Callback<T>
Modifier and Type | Method and Description |
---|---|
boolean |
getModelObjectValue(T modelObject)
Allows to return the boolean saved in the given model object
|
void |
setModelObjectValue(T modelObject,
boolean checked)
Allows to set the given boolean to the given model object
|
void setModelObjectValue(T modelObject, boolean checked)
modelObject
- the model object to be updatedchecked
- the current checked statusboolean getModelObjectValue(T modelObject)
modelObject
- the model object to be queried