org.PingOO.DLAI.tool.Abacus
Class Abacus.AbacusPanel.AbacusPanelMouseInputListener

java.lang.Object
  |
  +--javax.swing.event.MouseInputAdapter
        |
        +--org.PingOO.DLAI.tool.Abacus.Abacus.AbacusPanel.AbacusPanelMouseInputListener

private class Abacus.AbacusPanel.AbacusPanelMouseInputListener
extends javax.swing.event.MouseInputAdapter

Deal with the mouse when the user is doing drag and drop with beads.
Replaces old Java 1.0 code.

Since:
PingOO 2.0
Version:
2.0
Author:
Gregory Seidman (gseidman@zing.ncsl.nist.gov), Fabrice Bouyé (bouye@cur-archamps.fr)
See Also:
MouseInputAdapter

Constructor Summary
Abacus.AbacusPanel.AbacusPanelMouseInputListener()
          Creates a new instance.
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent event)
          Action to execute when the mouse is dragged.
 void mouseEntered(java.awt.event.MouseEvent event)
          Action to execute when the mouse enters the targeted component.
 void mousePressed(java.awt.event.MouseEvent event)
          Action to execute when the mouse is pressed.
 void mouseReleased(java.awt.event.MouseEvent event)
          Action to execute when the mouse is released.
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseExited, mouseMoved
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Abacus.AbacusPanel.AbacusPanelMouseInputListener

public Abacus.AbacusPanel.AbacusPanelMouseInputListener()
Creates a new instance.
Method Detail

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent event)
Action to execute when the mouse is dragged.
Parameters:
event - the mouse event.
Overrides:
mouseDragged in class javax.swing.event.MouseInputAdapter

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent event)
Action to execute when the mouse enters the targeted component.
Parameters:
event - the mouse event.
Overrides:
mouseEntered in class javax.swing.event.MouseInputAdapter

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent event)
Action to execute when the mouse is released.
Parameters:
event - the mouse event.
Overrides:
mouseReleased in class javax.swing.event.MouseInputAdapter

mousePressed

public void mousePressed(java.awt.event.MouseEvent event)
Action to execute when the mouse is pressed.
Parameters:
event - the mouse event.
Overrides:
mousePressed in class javax.swing.event.MouseInputAdapter