com.dukascopy.api.chart.mouse
Class ChartPanelMouseAdapter

java.lang.Object
  extended by com.dukascopy.api.chart.mouse.ChartPanelMouseAdapter
All Implemented Interfaces:
IChartPanelMouseListener

public abstract class ChartPanelMouseAdapter
extends java.lang.Object
implements IChartPanelMouseListener

An abstract adapter class for receiving mouse events. The methods in this class are empty. This class exists as convenience for creating listener objects.


Constructor Summary
ChartPanelMouseAdapter()
           
 
Method Summary
 void mouseClicked(IChartPanelMouseEvent e)
          Invoked when the mouse button has been clicked (pressed and released) on a chart panel.
 void mouseDragged(IChartPanelMouseEvent e)
          Invoked when a mouse button is pressed on a chart panel and then dragged.
 void mouseEntered(IChartPanelMouseEvent e)
          Invoked when the mouse enters a chart panel.
 void mouseExited(IChartPanelMouseEvent e)
          Invoked when the mouse exits a chart panel.
 void mouseMoved(IChartPanelMouseEvent e)
          Invoked when the mouse cursor has been moved onto a chart panel but no buttons have been pushed.
 void mousePressed(IChartPanelMouseEvent e)
          Invoked when a mouse button has been pressed on a chart panel.
 void mouseReleased(IChartPanelMouseEvent e)
          Invoked when a mouse button has been released on a chart panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartPanelMouseAdapter

public ChartPanelMouseAdapter()
Method Detail

mouseClicked

public void mouseClicked(IChartPanelMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a chart panel.

Specified by:
mouseClicked in interface IChartPanelMouseListener

mousePressed

public void mousePressed(IChartPanelMouseEvent e)
Invoked when a mouse button has been pressed on a chart panel.

Specified by:
mousePressed in interface IChartPanelMouseListener

mouseReleased

public void mouseReleased(IChartPanelMouseEvent e)
Invoked when a mouse button has been released on a chart panel.

Specified by:
mouseReleased in interface IChartPanelMouseListener

mouseEntered

public void mouseEntered(IChartPanelMouseEvent e)
Invoked when the mouse enters a chart panel.

Specified by:
mouseEntered in interface IChartPanelMouseListener

mouseExited

public void mouseExited(IChartPanelMouseEvent e)
Invoked when the mouse exits a chart panel.

Specified by:
mouseExited in interface IChartPanelMouseListener

mouseDragged

public void mouseDragged(IChartPanelMouseEvent e)
Invoked when a mouse button is pressed on a chart panel and then dragged. MOUSE_DRAGGED events will continue to be delivered to the chart panel where the drag originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Specified by:
mouseDragged in interface IChartPanelMouseListener

mouseMoved

public void mouseMoved(IChartPanelMouseEvent e)
Invoked when the mouse cursor has been moved onto a chart panel but no buttons have been pushed.

Specified by:
mouseMoved in interface IChartPanelMouseListener