Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class ShapeComponent.MyMouseAdapter

    java.lang.Object
      java.awt.event.MouseAdapter
          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`

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD