SelectionHandlerAdapter class
Handler interface for {@link ScrollEvent} events.
class SelectionHandlerAdapter extends EventHandlerAdapter implements SelectionHandler { SelectionHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when {@link SelectionEvent} is fired. * * @param event the {@link SelectionEvent} that was fired */ void onSelection(SelectionEvent event) { callback(event); } }
Extends
EventHandlerAdapter > SelectionHandlerAdapter
Implements
Constructors
new SelectionHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onSelection(SelectionEvent event) #
Called when {@link SelectionEvent} is fired.
@param event the {@link SelectionEvent} that was fired
void onSelection(SelectionEvent event) { callback(event); }