public interface IEEFCheckboxController extends IEEFWidgetController
Modifier and Type | Method and Description |
---|---|
void |
onNewValue(IConsumer<java.lang.Boolean> consumer)
Register a consumer which will be called with the new value of the checkbox when it will change.
|
void |
removeNewValueConsumer()
Remove the consumer of the new value of the checkbox.
|
org.eclipse.core.runtime.IStatus |
updateValue(boolean checkbox)
Update the value of the checkbox.
|
computeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumer
onValidation, refresh, removeValidationConsumer
org.eclipse.core.runtime.IStatus updateValue(boolean checkbox)
checkbox
- The new value of the checkboxvoid onNewValue(IConsumer<java.lang.Boolean> consumer)
consumer
- The consumer of the new value of the checkboxvoid removeNewValueConsumer()