API Reference 0.3.24dart_web_toolkit_eventLoadHandlerAdapter

LoadHandlerAdapter class

Handler interface for {@link LoadEvent} events.

class LoadHandlerAdapter extends EventHandlerAdapter implements LoadHandler {

 LoadHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

Extends

EventHandlerAdapter > LoadHandlerAdapter

Implements

LoadHandler

Constructors

new LoadHandlerAdapter(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
LoadHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onLoad(LoadEvent event) #

Called when LoadEvent is fired.

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

void onLoad(LoadEvent event) {
 callback(event);
}