org.problets.lib.conceptmap.view.userbuilt
Class UserBuiltForestController
java.lang.Object
org.problets.lib.conceptmap.view.ForestController
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 controlinForestView
- the forest view under control
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)