org.problets.lib.conceptmap.view.userbuilt
Class UserBuiltForestController

java.lang.Object
  extended by org.problets.lib.conceptmap.view.ForestController
      extended by org.problets.lib.conceptmap.view.userbuilt.UserBuiltForestController
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

public class UserBuiltForestController
extends ForestController
implements java.awt.event.ActionListener

Derived from ForestController. Adds to the functionality of a ForestController, namely listens to action events.

Author:
Adrian Maries

Constructor Summary
UserBuiltForestController(UserBuiltForestModel inForestModel, UserBuiltForestView inForestView)
          Creates a UserBuiltForestController object using the forest model and the forest view as arguments.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Processes the actionPerformed event.
static void main(java.lang.String[] args)
           
 void mousePressed(java.awt.event.MouseEvent evt)
          Processes the mousePressed event.
 
Methods inherited from class org.problets.lib.conceptmap.view.ForestController
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBuiltForestController

public UserBuiltForestController(UserBuiltForestModel inForestModel,
                                 UserBuiltForestView inForestView)
Creates a UserBuiltForestController object using the forest model and the forest view as arguments.

Parameters:
inForestModel - the forest model under control
inForestView - the forest view under control
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent evt)
Processes the mousePressed event.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class ForestController
Parameters:
evt - the mouse event

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Processes the actionPerformed event.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
evt - the action event

main

public static void main(java.lang.String[] args)