![]() |
|||
5 Component Lifecycle
Our next aim is to get a graphical output. However, before coming to this point, the new module instance needs to go through a lifecycle process by which also the Framework is setup automatically. This process consists of the following methods:
For now, we only need to call some (contextualize, configure, initialize, show) of the above lifecycle methods in HelloWorldLauncher.java.
The lifecycle method call
The
By using the above lifecycle methods in this order, every component can be controlled from outside.
That's how it should be.
The component itself knows nothing about its container (in our case We can now see a graphical view of the component. It is implemented by default in the framework.
|
|||
Copyright (c) 1999-2002. The Res Medicinae Webmasters. All rights reserved. GNU FDL license. Last Update: 07.05.2002 |