org.gswing.framework.services
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

initialise

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

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


Copyright © 2008. All Rights Reserved.