org.gswing.gui.services
Interface IMenuComponent

All Superinterfaces:
ActionListener, EventListener, IComponent
All Known Implementing Classes:
About, AddElectionGui, CloseConnection, DbAccessGui, DbUpgrader, Exit, Exporter, Help, Importer, InsertCandidate, InsertParty, InsertPartyLeader, MenuComponent, MenuGuiComponent, MessageViewer, TestListener, TreeDisplay, UpdateParty

public interface IMenuComponent
extends IComponent, ActionListener


Method Summary
 boolean initialise(JMenuItem menuItem)
          Initialise the component.
 
Methods inherited from interface org.gswing.framework.services.IComponent
initialise
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Method Detail

initialise

boolean initialise(JMenuItem menuItem)
Initialise the component. Through this method, components will get access to the framework and the menu item it was created from.

Parameters:
menuItem - The menu item that this component is invoked from.
Returns:
True if component has been successfully initialised.


Copyright © 2008. All Rights Reserved.