ch.hearc.I04_05s08.GUI
Class OpenFileListener

java.lang.Object
  extended bych.hearc.I04_05s08.GUI.MenuListener
      extended bych.hearc.I04_05s08.GUI.OpenFileListener
All Implemented Interfaces:
ActionListener, EventListener

public class OpenFileListener
extends MenuListener

The open file listener

Author:
Blanc, Yoan
Licence:
MIT
Copyright:
2005 Yoan Blanc, HE-ARC Ing�nierie

Field Summary
private  GraphManager manager
          The manager
 
Fields inherited from class ch.hearc.I04_05s08.GUI.MenuListener
 
Constructor Summary
OpenFileListener(MainApplication mainframe, GraphManager manager)
          Build the open file listener
 
Method Summary
 void actionPerformed(ActionEvent e)
          Open a file
 
Methods inherited from class ch.hearc.I04_05s08.GUI.MenuListener
getManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

private GraphManager manager
The manager

Constructor Detail

OpenFileListener

public OpenFileListener(MainApplication mainframe,
                        GraphManager manager)
Build the open file listener

Parameters:
mainframe - the main frame
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Open a file

Specified by:
actionPerformed in interface ActionListener
Specified by:
actionPerformed in class MenuListener
Parameters:
e - the event


A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC