TestTheDatabase
Class DeleteController

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

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

DeleteController implements the algorithm that deletes persons from a database


Constructor Summary
DeleteController(DB.Database m, TestFrame v)
          Constructor DeleteController initializes the controller.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          actionPerformed attempts to delete a person from the database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteController

public DeleteController(DB.Database m,
                        TestFrame v)
Constructor DeleteController initializes the controller.

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 delete a person from the database

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