ch.hearc.I04_05s08.GUI
Class NewFileListener

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

public class NewFileListener
extends MenuListener

The new 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
NewFileListener(MainApplication mainframe, GraphManager manager)
          Build the new file listener
 
Method Summary
 void actionPerformed(ActionEvent e)
          Create a new 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

NewFileListener

public NewFileListener(MainApplication mainframe,
                       GraphManager manager)
Build the new file listener

Parameters:
mainframe - the main frame
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Create a new 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