| Modifier and Type | Field and Description |
|---|---|
protected IComponentControlHelper |
AbstractWorldView.control |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ISharedComponentControlHelper
Provides a way to control the shared component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentControlHelper
Provides empty implementations of life-cycle methods defined by
IComponentControlHelper - override only these that you need. |
class |
SharedComponentControlHelper
Provides empty implementations of life-cycle methods defined by
ISharedComponentControlHelper - override only these that you need. |
protected class |
SharedComponentController.ControlHelper |
| Modifier and Type | Field and Description |
|---|---|
protected IComponentControlHelper |
AbstractComponentControllerBase.control
Method providing means for direct control of the
AbstractComponentControllerBase.component. |
| Modifier and Type | Method and Description |
|---|---|
IComponentControlHelper |
IComponentControllerBase.getComponentControl()
Returns component control with lifecycle methods of the component controlled by this instance.
|
IComponentControlHelper |
AbstractComponentControllerBase.getComponentControl() |
| Constructor and Description |
|---|
AbstractComponentControllerBase(COMPONENT component,
IComponentControlHelper componentControlHelper,
Logger log)
Initialize the controller.
|
AbstractComponentControllerBase(cz.cuni.amis.utils.token.IToken componentControllerId,
COMPONENT component,
IComponentControlHelper componentControlHelper,
Logger log)
Initialize controller with specific componentControllerId.
|
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
IComponentBus bus,
Logger log,
ComponentDependencies dependencies)
If you use only
IComponentBus (not ILifecycleBus, you must create this ComponentController before any of 'dependencies' is started
as there is no way how to retrieve state of component from 'dependencies' so we will assume that all are in state ComponentState.INSTANTIATED. |
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
IComponentBus bus,
Logger log,
ComponentDependencyType dependencyType,
Object... dependencies)
If you use only
IComponentBus (not ILifecycleBus, you must create this ComponentController before any of 'dependencies' is started
as there is no way how to retrieve state of component from 'dependencies' so we will assume that all are in state ComponentState.INSTANTIATED. |
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
ILifecycleBus bus,
Logger log,
ComponentDependencies dependencies)
If you're using
ILifecycleBus (not only IComponentBus, you may create this ComponentController even after some 'dependencies' has started
as ILifecycleBus allows us to retrieve current state of dependencies, so we're able to start the component during the construction
if dependencies are already met. |
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
ILifecycleBus bus,
Logger log,
ComponentDependencyType dependencyType,
Object... dependencies)
If you're using
ILifecycleBus (not only IComponentBus, you may create this ComponentController even after some 'dependencies' has started
as ILifecycleBus allows us to retrieve current state of dependencies, so we're able to start the component during the construction
if dependencies are already met. |
| Modifier and Type | Method and Description |
|---|---|
<T extends IComponent> |
LifecycleBus.addLifecycleManagement(T component,
IComponentControlHelper lifecyleMethods,
ComponentDependencies componentDependencies) |
<T extends IComponent> |
ILifecycleBus.addLifecycleManagement(T component,
IComponentControlHelper lifecyleMethods,
ComponentDependencies componentDependencies)
Registers 'lifecycleMethods' to be called in correct times according to 'componentDependencies' for the 'component'.
|
| Modifier and Type | Field and Description |
|---|---|
protected IComponentControlHelper |
AbstractLocalWorldView.control |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.