Notifies listener of a mouse motion event. A motion event is dispatched when no button is
currently pressed, in an isolated "one shot" interaction, and always goes to the layer hit
by the event coordinates.
Notifies listener of mouse entry or exit. Hover events are dispatched in an isolated "one
shot" interaction, regardless of whether there is currently a button-triggered interaction
in progress, and always got to the layer whose hover status changed.
Notifies listener of a mouse button event. A button down event will start an interaction if
no interaction is already in progress, or will be dispatched to the hit layer of the
current interaction if an interaction is in progress. If additional buttons are pressed
during an interaction, the interaction does not end until all of the buttons are
Notifies listener of a mouse drag event. A drag event is dispatched when a button event has
started an interaction, and always goes to the layer hit by the button event that started
the interaction, not to the layer intersected by the motion event coordinates.
Notifies listener of a mouse wheel event. If no interaction is in progress, the wheel event
is dispatched to the layer intersected by the event coordinates, but if an interaction is
in progress, the event goes to the layer hit by the event that started the interaction.
public void onCancel()
Notifies the listener that the current interaction was canceled. This is dispatched when
some other layer that was also privy to this interaction has captured the interaction.