gui
Class TSPguiActionControl

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

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

Main class to send GUI actions to the TSP model.

Author:
Heinz Kredel.

Field Summary
(package private)  TSPguiModel model
           
 
Constructor Summary
TSPguiActionControl(TSPguiModel model)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

TSPguiModel model
Constructor Detail

TSPguiActionControl

public TSPguiActionControl(TSPguiModel model)
Parameters:
model - the TSPguiModel.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener