API Reference 0.3.24dart_web_toolkit_eventBeforeSelectionHandlerAdapter

BeforeSelectionHandlerAdapter class

Handler interface for {@link BlurEvent} events.

class BeforeSelectionHandlerAdapter extends EventHandlerAdapter implements BeforeSelectionHandler {

 BeforeSelectionHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

 /**
  * Called when {@link BeforeSelectionEvent} is fired.
  *
  * @param event the {@link BeforeSelectionEvent} that was fired
  */
 void onBeforeSelection(BeforeSelectionEvent event) {
   callback(event);
 }
}

Extends

EventHandlerAdapter > BeforeSelectionHandlerAdapter

Implements

BeforeSelectionHandler

Constructors

new BeforeSelectionHandlerAdapter(EventHandlerAdapterCallback callback) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
BeforeSelectionHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onBeforeSelection(BeforeSelectionEvent event) #

Called when {@link BeforeSelectionEvent} is fired.

@param event the {@link BeforeSelectionEvent} that was fired

void onBeforeSelection(BeforeSelectionEvent event) {
 callback(event);
}