Class ShapeComponent.MyMouseAdapter

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by ShapeComponent.MyMouseAdapter
All Implemented Interfaces:
MouseListener, EventListener
Enclosing class:
ShapeComponent

 class ShapeComponent.MyMouseAdapter
extends MouseAdapter

An inner class for handling the mouse listener interface


Constructor Summary
ShapeComponent.MyMouseAdapter()
           
 
Method Summary
 void mousePressed(MouseEvent e)
          Method to handle when the user presses down the button
 void mouseReleased(MouseEvent e)
          Method to handle when the user releases the mouse
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeComponent.MyMouseAdapter

ShapeComponent.MyMouseAdapter()
Method Detail

mousePressed

public void mousePressed(MouseEvent e)
Method to handle when the user presses down the button

Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter

mouseReleased

public void mouseReleased(MouseEvent e)
Method to handle when the user releases the mouse

Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter