API Reference 0.3.24dart_web_toolkit_eventMouseOverHandlerAdapter

MouseOverHandlerAdapter class

Handler interface for {@link MouseOverEvent} events.

class MouseOverHandlerAdapter extends EventHandlerAdapter implements MouseOverHandler {

 MouseOverHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

Extends

EventHandlerAdapter > MouseOverHandlerAdapter

Implements

MouseOverHandler

Constructors

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

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onMouseOver(MouseOverEvent event) #

Called when MouseOverEvent is fired.

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

void onMouseOver(MouseOverEvent event) {
 callback(event);
}