packageForL9L10
Class EventTracker

java.lang.Object
  extended by packageForL9L10.EventTracker
All Implemented Interfaces:
java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.beans.PropertyChangeListener, java.util.EventListener

public class EventTracker
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.ComponentListener, java.beans.PropertyChangeListener


Constructor Summary
EventTracker(DotPanel view, SimpleThreeDotModel_v2 model)
          Instantiates a controller object that receives all sorts of events from the view.
 
Method Summary
 void componentAdded(java.awt.event.ContainerEvent e)
           
 void componentHidden(java.awt.event.ComponentEvent e)
          Causes details of this event to be printed to the console
 void componentMoved(java.awt.event.ComponentEvent e)
          Causes details of this event to be printed to the console
 void componentRemoved(java.awt.event.ContainerEvent e)
           
 void componentResized(java.awt.event.ComponentEvent e)
          Causes details of this event to be printed to the console
 void componentShown(java.awt.event.ComponentEvent e)
          Causes details of this event to be printed to the console
 void mouseClicked(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mouseDragged(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mouseEntered(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mouseExited(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mouseMoved(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mousePressed(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void mouseReleased(java.awt.event.MouseEvent e)
          Causes details of this event to be printed to the console
 void propertyChange(java.beans.PropertyChangeEvent evt)
          Causes details of this event to be printed to the console
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventTracker

public EventTracker(DotPanel view,
                    SimpleThreeDotModel_v2 model)
Instantiates a controller object that receives all sorts of events from the view.

Parameters:
view -
model -
Method Detail

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Causes details of this event to be printed to the console

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

componentResized

public void componentResized(java.awt.event.ComponentEvent e)
Causes details of this event to be printed to the console

Specified by:
componentResized in interface java.awt.event.ComponentListener

componentMoved

public void componentMoved(java.awt.event.ComponentEvent e)
Causes details of this event to be printed to the console

Specified by:
componentMoved in interface java.awt.event.ComponentListener

componentShown

public void componentShown(java.awt.event.ComponentEvent e)
Causes details of this event to be printed to the console

Specified by:
componentShown in interface java.awt.event.ComponentListener

componentHidden

public void componentHidden(java.awt.event.ComponentEvent e)
Causes details of this event to be printed to the console

Specified by:
componentHidden in interface java.awt.event.ComponentListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Causes details of this event to be printed to the console

Specified by:
propertyChange in interface java.beans.PropertyChangeListener

componentAdded

public void componentAdded(java.awt.event.ContainerEvent e)

componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent e)