org.opensourcephysics.display
Class InteractivePanel.IADMouseController

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.event.MouseInputAdapter
          extended by org.opensourcephysics.display.InteractivePanel.IADMouseController
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.MouseInputListener
Enclosing class:
InteractivePanel

protected class InteractivePanel.IADMouseController
extends javax.swing.event.MouseInputAdapter

The inner class that will handle all mouse related events.


Constructor Summary
protected InteractivePanel.IADMouseController()
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
          Handles the mouse clicked event.
 void mouseDragged(java.awt.event.MouseEvent e)
          Handles the mouse dragged event.
 void mouseEntered(java.awt.event.MouseEvent e)
          Handles the mouse entered event.
 void mouseExited(java.awt.event.MouseEvent e)
          Handles the mouse exited event.
 void mouseMoved(java.awt.event.MouseEvent e)
          Handles the mouse moved event.
 void mousePressed(java.awt.event.MouseEvent e)
          Handle the mouse pressed event.
 void mouseReleased(java.awt.event.MouseEvent e)
          Handles the mouse released event.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractivePanel.IADMouseController

protected InteractivePanel.IADMouseController()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Handle the mouse pressed event.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter
Parameters:
e -

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Handles the mouse released event.

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Overrides:
mouseReleased in class java.awt.event.MouseAdapter
Parameters:
e -

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Handles the mouse entered event.

Specified by:
mouseEntered in interface java.awt.event.MouseListener
Overrides:
mouseEntered in class java.awt.event.MouseAdapter
Parameters:
e -

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Handles the mouse exited event.

Specified by:
mouseExited in interface java.awt.event.MouseListener
Overrides:
mouseExited in class java.awt.event.MouseAdapter
Parameters:
e -

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Handles the mouse clicked event.

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class java.awt.event.MouseAdapter
Parameters:
e -

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Handles the mouse dragged event.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener
Overrides:
mouseDragged in class java.awt.event.MouseAdapter
Parameters:
e -

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Handles the mouse moved event.

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener
Overrides:
mouseMoved in class java.awt.event.MouseAdapter
Parameters:
e -