|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IComponentController<COMPONENT extends IComponent>
The component controller is meant for simple IComponent
NOT ISharedComponent
s (for them, use ISharedComponentController
instead).
It is suitable for controlling lifecycle of one component inside one component bus. It provides methods for querying components the controlled component is depending on.
For more information, how IComponentController
should behave, see (quite exhausting) javadoc for its concrete implementation ComponentController
.
Method Summary | |
---|---|
boolean |
isDependent(IComponent component)
Whether the controlled component is dependent on 'component'. |
boolean |
isDependent(IToken componentId)
Whether the controlled component is dependent on the component identified by 'componentId'. |
Methods inherited from interface cz.cuni.amis.pogamut.base.component.controller.IComponentControllerBase |
---|
awaitState, awaitState, fatalError, fatalError, getComponent, getComponentControl, getFatalError, getState, inState, isBroadcastingEvents, isPaused, isRunning, manualKill, manualPause, manualResume, manualStart, manualStartPaused, manualStop, notInState, setBroadcastingEvents |
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent |
---|
getComponentId |
Method Detail |
---|
boolean isDependent(IToken componentId)
componentId
-
boolean isDependent(IComponent component)
component
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |