TestTheDatabase
Class FindController

java.lang.Object
  extended byTestTheDatabase.FindController
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class FindController
extends java.lang.Object
implements java.awt.event.ActionListener

FindController implements the algorithm that finds persons in a database


Constructor Summary
FindController(DB.Database m, TestFrame v)
          Constructor FindButton constructs the button
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          actionPerformed attempts to find a person in the database and display the result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindController

public FindController(DB.Database m,
                      TestFrame v)
Constructor FindButton constructs the button

Parameters:
m - - the address of the model object
v - - the address of the view object
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed attempts to find a person in the database and display the result

Specified by:
actionPerformed in interface java.awt.event.ActionListener