Spirograph
Class SetPosGravListener

java.lang.Object
  |
  +--Spirograph.SetPosGravListener

public class SetPosGravListener
extends java.lang.Object
implements java.awt.event.MouseListener


Field Summary
static int GRAV
           
static int NONE
           
static int POS
           
 
Constructor Summary
SetPosGravListener(Coord xCoord, Coord yCoord, DotPanel myPanel)
           
 
Method Summary
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void setMode(int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE

POS

public static final int POS

GRAV

public static final int GRAV
Constructor Detail

SetPosGravListener

public SetPosGravListener(Coord xCoord,
                          Coord yCoord,
                          DotPanel myPanel)
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

setMode

public void setMode(int mode)