L
- defines the action listener typeA
- defines the basic action typeM
- defines the basic message typepublic interface IPerspective<L,A,M> extends IComponent<L,A,M>, IRootComponent<ISubComponent<L,A,M>,IAction<A,M>>, IHandleable<A,M>
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> |
getComponentDelegateQueue()
Returns delegate queue to delegate components to correct target
|
java.util.concurrent.BlockingQueue<IAction<A,M>> |
getComponentsMessageQueue()
returns the components coordinator message queue;
|
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> |
getMessageDelegateQueue()
Returns delegate queue to delegate actions to correct target
|
java.util.List<ISubComponent<L,A,M>> |
getSubcomponents()
Returns all subcomponents in perspective.
|
void |
handlePerspective(IAction<A,M> action)
Handle a message call on perspective instance.
|
void |
init(java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> componentDelegateQueue,
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> messageDelegateQueue,
java.util.concurrent.BlockingQueue<IAction<A,M>> globalMessageQueue)
The initialization method.
|
void |
postInit(IComponentHandler<ISubComponent<L,A,M>,IAction<A,M>> componentHandler)
post init method to set correct component handler and to initialize
components depending on objects created in startUp sequence.
|
void |
setSubcomponents(java.util.List<ISubComponent<L,A,M>> subComponents)
Set all subcomponents handled by the perspective.
|
getActionListener, getActionListener, getId, getName, isActive, isStarted, setActive, setId, setName
getComponentHandler, initComponents, registerComponent, unregisterComponent
handle
void init(java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> componentDelegateQueue, java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> messageDelegateQueue, java.util.concurrent.BlockingQueue<IAction<A,M>> globalMessageQueue)
componentDelegateQueue
- messageDelegateQueue
- void postInit(IComponentHandler<ISubComponent<L,A,M>,IAction<A,M>> componentHandler)
componentHandler
- java.util.List<ISubComponent<L,A,M>> getSubcomponents()
void setSubcomponents(java.util.List<ISubComponent<L,A,M>> subComponents)
subComponents
- void handlePerspective(IAction<A,M> action)
action
- java.util.concurrent.BlockingQueue<ISubComponent<L,A,M>> getComponentDelegateQueue()
java.util.concurrent.BlockingQueue<IDelegateDTO<A,M>> getMessageDelegateQueue()