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
Methods inherited from interface java.awt.event.ActionListener

Method Detail


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.

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

Copyright © 2008. All Rights Reserved.