Interface WidgetModelListener
- All Known Subinterfaces:
InputWidget<T,,U> ListboxWidget<T,,U> Widget<T,U>
- All Known Implementing Classes:
AbstractWidget,DefaultInputWidget,DefaultListboxWidget,DefaultWidget
public interface WidgetModelListener
A WidgetModelListener is a listener which can be registered with
WidgetModels in order to be
notified when a model's state has been changed.
All Widgets implement this interface.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonModelEvent(WidgetModelEvent modelEvent) Called by a widget model when its state has changed (assuming this listener has been registered with the model).
-
Method Details
-
onModelEvent
Called by a widget model when its state has changed (assuming this listener has been registered with the model).- Parameters:
modelEvent- model event
-