All Packages Class Hierarchy This Package Previous Next Index
Interface ncsa.habanero.Initializable
- public interface Initializable
The Initializable interface is intended for applications which need
parameters initialized by whoever starts the application before all
clients see it.
-
isInitialized()
- isInitialized is used to control whether a MirrorFrame is shown.
-
queryForParameters(Collobject)
- queryForParameters should be implemented to query the user who started
the application for the parameters needed to initialize it.
isInitialized
public abstract boolean isInitialized()
- isInitialized is used to control whether a MirrorFrame is shown. Your
application should return true when it is ready for all users to see it.
queryForParameters
public abstract void queryForParameters(Collobject c)
- queryForParameters should be implemented to query the user who started
the application for the parameters needed to initialize it. The result
should be an Action which sends those parameters to all of the users.
After the parameters are set, the Action should call
Collobject.frame().show() in order to show the application to all users.
Since the frame will not be shown until isInitialized() returns true,
it is possible to send multiple initializing Actions and ensure the
application will not be shown until all initialization is complete.
All Packages Class Hierarchy This Package Previous Next Index