All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Interface.MenuBarInterface

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JMenuBar
                                   |
                                   +----Interface.MenuBarInterface

public class MenuBarInterface
extends JMenuBar
A class to define Menubar interface for the application


Constructor Index

 o MenuBarInterface(InterfaceDefinition)
This constructor will create a menubar for the application

Method Index

 o getIntMenu()
This method will return international menu
 o getMenuName(String)
This method return menu specialize to the name
 o penglish_ActionPerformed(ActionEvent)
This method will set the state of Primary English Language
 o pitalian_ActionPerformed(ActionEvent)
This method will set the state of Primary Italian Language
 o pspanish_ActionPerformed(ActionEvent)
This method will set the state of Primary Spanish Language
 o senglish_ActionPerformed(ActionEvent)
This method will set the state of Secondary English Language
 o sitalian_ActionPerformed(ActionEvent)
This method will set the state of Secondary Italian Language
 o sspanish_ActionPerformed(ActionEvent)
This method will set the state of Secondary Spanish Language

Constructors

 o MenuBarInterface
 public MenuBarInterface(InterfaceDefinition id)
This constructor will create a menubar for the application

Methods

 o getMenuName
 public JMenu getMenuName(String name)
This method return menu specialize to the name

Parameters:
String - name
Returns:
JMenu
 o getIntMenu
 public InternationalMenu getIntMenu()
This method will return international menu

Returns:
InternationalMenu intMenu
 o penglish_ActionPerformed
 public void penglish_ActionPerformed(ActionEvent event)
This method will set the state of Primary English Language

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o pitalian_ActionPerformed
 public void pitalian_ActionPerformed(ActionEvent event)
This method will set the state of Primary Italian Language

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o pspanish_ActionPerformed
 public void pspanish_ActionPerformed(ActionEvent event)
This method will set the state of Primary Spanish Language

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o senglish_ActionPerformed
 public void senglish_ActionPerformed(ActionEvent event)
This method will set the state of Secondary English Language

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o sitalian_ActionPerformed
 public void sitalian_ActionPerformed(ActionEvent event)
This method will set the state of Secondary Italian Language

Parameters:
ActionEvent - Event to be handled
Returns:
none
 o sspanish_ActionPerformed
 public void sspanish_ActionPerformed(ActionEvent event)
This method will set the state of Secondary Spanish Language

Parameters:
ActionEvent - Event to be handled
Returns:
none

All Packages  Class Hierarchy  This Package  Previous  Next  Index