uk.ac.cisban.rod.gui.core
Class RodMenuBar

java.lang.Object
  extended by uk.ac.cisban.rod.gui.core.RodMenuBar
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

Creates the menu bar for the ROD application and forwards any actions taken on it to the appropriate listeners.

Since:
20-Nov-2008 4:31:10 PM
Author:
Morgan Taschuk

Constructor Summary
RodMenuBar(RodFrame frame)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Calls appropriate action when a menu option is selected.
 javax.swing.JMenuBar createJMenuBar()
           
 CVListener getCvListener()
          creates listener to monitor actions initiated through menubar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RodMenuBar

public RodMenuBar(RodFrame frame)
Method Detail

createJMenuBar

public javax.swing.JMenuBar createJMenuBar()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Calls appropriate action when a menu option is selected.

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

getCvListener

public CVListener getCvListener()
creates listener to monitor actions initiated through menubar.

Returns:
cvListener


Copyright © 2010. All Rights Reserved.