Interface IComponent

All Known Subinterfaces:
IGuiComponent, IMenuComponent
All Known Implementing Classes:
About, AddElectionGui, CandidateSelector, CloseConnection, DbAccessGui, DbMenu, DbUpgrader, Desktop, Exit, Exporter, GuiComponent, Help, Importer, InsertCandidate, Inserter, InsertParty, InsertPartyLeader, ListDisplay, MenuComponent, MenuGuiComponent, MessageViewer, ModalInternalFrame, RegionListDisplay, TestListener, TreeDisplay, TreeDisplay, UpdateParty, Viewer

public interface IComponent

Defines a basic gswing component. Any component that wishes to gain access to the framework must implement this interface.

Method Summary
 boolean initialise(IFramework framework)
          Initialise the component.

Method Detail


boolean initialise(IFramework framework)
Initialise the component. Through this method, components will get access to the framework reference.

framework - The GUI framework
True if component has been successfully initialised.

Copyright © 2008. All Rights Reserved.