controller
Class Controller

java.lang.Object
  extended by controller.Controller
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

Fulfills the Controller aspect of the MVC design.


Constructor Summary
Controller(View view)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Handles actions in the GUI (search submits, etc)
 void displayResults(java.util.ArrayList<RankingResult> results)
          Elminates any results with a score of 0, displaying the results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller(View view)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Handles actions in the GUI (search submits, etc)

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e -

displayResults

public void displayResults(java.util.ArrayList<RankingResult> results)
Elminates any results with a score of 0, displaying the results

Parameters:
results -