CSE115.Scarecrow
Class ScarecrowShape
java.lang.Object
CSE115.Scarecrow.ScarecrowShape
- All Implemented Interfaces:
- EventListener, MouseListener
- public class ScarecrowShape
- extends Object
- implements MouseListener
ScarecrowShape.java
Created: Wed Sep 13 11:16:25 2000
- Author:
- Philip R Ventura
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScarecrowShape
public ScarecrowShape()
react
public void react()
- This method is called when a mouse click is detected on the cloud.
For this class, the method does not do anything, you have to subclass
from the Cloud and redefine this method to make it do something
userful in response to the mouse click.
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked in interface MouseListener
mouseEntered
public void mouseEntered(MouseEvent e)
- Specified by:
mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent e)
- Specified by:
mouseExited in interface MouseListener
mousePressed
public void mousePressed(MouseEvent e)
- Specified by:
mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent e)
- Specified by:
mouseReleased in interface MouseListener