JIDE 3.5.15

com.jidesoft.chart.event
Interface MouseHandler

All Superinterfaces:
EventListener, MouseListener, MouseMotionListener, MouseWheelListener
All Known Implementing Classes:
MouseDragPanner, MouseWheelZoomer

public interface MouseHandler
extends MouseListener, MouseMotionListener, MouseWheelListener

An interface implemented by mouse event handler objects.


Method Summary
 boolean isHandled()
          You can read the property to see whether an event was handled
 void setHandled(boolean handled)
          Set a flag to indicate whether the class actually handled the event.
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
 
Methods inherited from interface java.awt.event.MouseWheelListener
mouseWheelMoved
 

Method Detail

setHandled

void setHandled(boolean handled)
Set a flag to indicate whether the class actually handled the event. If not the event can passed on to the next handler in the chain; otherwise it will be consumed and not passed on further.

Parameters:
handled - whether the event was handled

isHandled

boolean isHandled()
You can read the property to see whether an event was handled

Returns:
whether the event was handled

JIDE 3.5.15