All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Control.MenuBarListener

java.lang.Object
   |
   +----Control.MenuBarListener

public class MenuBarListener
extends Object
implements ActionListener, KeyListener
A class to handle the all Excercise function events


Constructor Index

 o MenuBarListener(InterfaceDefinition, String)
This constructor wiil create an MenuBar Listener object to handle the functionality of Delete, Insert

Method Index

 o actionPerformed(ActionEvent)
This method will perform specified action when user clicks on each item on MenuBar
 o keyPressed(KeyEvent)
This method will handle key pressed events
 o keyReleased(KeyEvent)
This method will handle key released events
 o keyTyped(KeyEvent)
This method will handle key typed events by replacing dash with the specified key

Constructors

 o MenuBarListener
 public MenuBarListener(InterfaceDefinition id,
                        String name)
This constructor wiil create an MenuBar Listener object to handle the functionality of Delete, Insert

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
This method will perform specified action when user clicks on each item on MenuBar

Returns:
none
 o keyPressed
 public void keyPressed(KeyEvent e)
This method will handle key pressed events

Parameters:
KeyEvent - The particular key on Key board
Returns:
none
 o keyReleased
 public void keyReleased(KeyEvent e)
This method will handle key released events

Parameters:
KeyEvent - The particular key on Key board
Returns:
none
 o keyTyped
 public void keyTyped(KeyEvent e)
This method will handle key typed events by replacing dash with the specified key

Parameters:
KeyEvent - The particular key on Key board
Returns:
none

All Packages  Class Hierarchy  This Package  Previous  Next  Index