ch.hearc.I04_05s08.GUI
Class MenuListener

java.lang.Object
  extended bych.hearc.I04_05s08.GUI.MenuListener
All Implemented Interfaces:
ActionListener, EventListener
Direct Known Subclasses:
CloseListener, NewFileListener, OpenFileListener, RdfNewFileListener, RdfOpenFileListener, SaveAsListener, SaveListener

public abstract class MenuListener
extends Object
implements ActionListener

An abstract menu listener

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

Field Summary
private  MainApplication mainframe
          The frame
 
Constructor Summary
MenuListener(MainApplication mainframe)
          Build the menu listener
 
Method Summary
abstract  void actionPerformed(ActionEvent e)
          The action
 GraphManager getManager()
          Get the manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainframe

private MainApplication mainframe
The frame

Constructor Detail

MenuListener

public MenuListener(MainApplication mainframe)
Build the menu listener

Parameters:
mainframe - the main frame
Method Detail

getManager

public GraphManager getManager()
Get the manager

Returns:
the manager

actionPerformed

public abstract void actionPerformed(ActionEvent e)
The action

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


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