userinterface
Class UIListener

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

 class UIListener
extends java.lang.Object
implements java.awt.event.ActionListener

This internal class listens for "ActionEvent"s and runs apropriate code.

Author:
Håvard Rykkelid

Field Summary
(package private)  UserInterface adaptee
           
 
Constructor Summary
UIListener(UserInterface adaptee)
          The constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method checks the message in the "ActionEvent"s received and acts accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adaptee

UserInterface adaptee
Constructor Detail

UIListener

UIListener(UserInterface adaptee)
The constructor

Parameters:
adaptee - - a reference to the userinterface
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method checks the message in the "ActionEvent"s received and acts accordingly.

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