ChangeHandlerAdapter class
Handler for {@link ChangeEvent} events.
class ChangeHandlerAdapter extends EventHandlerAdapter implements ChangeHandler { ChangeHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when a change event is fired. * * @param event the {@link ChangeEvent} that was fired */ void onChange(ChangeEvent event) { callback(event); } }
Extends
EventHandlerAdapter > ChangeHandlerAdapter
Implements
Constructors
new ChangeHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onChange(ChangeEvent event) #
Called when a change event is fired.
@param event the {@link ChangeEvent} that was fired
void onChange(ChangeEvent event) { callback(event); }