uk.ac.essex.common.menu
Class MenuServiceImpl

java.lang.Object
  extended by uk.ac.essex.common.menu.MenuServiceImpl
All Implemented Interfaces:
MenuService, Service

public class MenuServiceImpl
extends java.lang.Object
implements MenuService


Created Date: 01-Nov-2003

You should have received a copy of Lesser GNU public license with this code. If not please visit this site


Method Summary
 void destroy()
          Destroy the service
 javax.swing.JMenuBar get(MenuDescriptor[] menuDescriptors)
           
 javax.swing.JMenu get(MenuDescriptor menuDescriptor, java.util.Locale currentLocale)
           
static MenuService getInstance()
           
 void initialise()
          Initialise the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MenuService getInstance()

get

public javax.swing.JMenu get(MenuDescriptor menuDescriptor,
                             java.util.Locale currentLocale)
                      throws MenuCreationException
Specified by:
get in interface MenuService
Parameters:
menuDescriptor -
currentLocale -
Returns:
Throws:
MenuCreationException

get

public javax.swing.JMenuBar get(MenuDescriptor[] menuDescriptors)
                         throws MenuCreationException
Specified by:
get in interface MenuService
Parameters:
menuDescriptors -
Returns:
Throws:
MenuCreationException

initialise

public void initialise()
                throws InitialisationException
Initialise the service

Specified by:
initialise in interface Service
Throws:
InitialisationException

destroy

public void destroy()
             throws DestructionException,
                    ShutdownCancelledException
Destroy the service

Specified by:
destroy in interface Service
Throws:
DestructionException
ShutdownCancelledException