ValueChangeHandlerAdapter<T> class
Implemented by objects that handle {@link AttachEvent}.
class ValueChangeHandlerAdapter<T> extends EventHandlerAdapter implements ValueChangeHandler<T> { ValueChangeHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when {@link ValueChangeEvent} is fired. * * @param event the {@link ValueChangeEvent} that was fired */ void onValueChange(ValueChangeEvent<T> event) { callback(event); } }
Extends
EventHandlerAdapter > ValueChangeHandlerAdapter<T>
Implements
Constructors
new ValueChangeHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onValueChange(ValueChangeEvent<T> event) #
Called when {@link ValueChangeEvent} is fired.
@param event the {@link ValueChangeEvent} that was fired
void onValueChange(ValueChangeEvent<T> event) { callback(event); }