L - defines the message listener typeA - defines the basic event typeM - defines the basic message typepublic interface Perspective<L,A,M> extends Component<L,M>, RootComponent<SubComponent<L,A,M>,Message<A,M>>
| Modifier and Type | Method and Description |
|---|---|
BlockingQueue<SubComponent<L,A,M>> |
getComponentDelegateQueue()
Returns delegate queue to delegate component to correct target
|
BlockingQueue<DelegateDTO<A,M>> |
getMessageDelegateQueue()
Returns delegate queue to delegate actions to correct target
|
BlockingQueue<Message<A,M>> |
getMessageQueue()
returns the component coordinator message queue;
|
Injectable |
getPerspective()
Returns the injected perspective representation.
|
List<SubComponent<L,A,M>> |
getSubcomponents()
Returns all subcomponents in perspective.
|
void |
handlePerspective(Message<A,M> message)
Handle a message call on perspective instance.
|
void |
init(BlockingQueue<SubComponent<L,A,M>> componentDelegateQueue,
BlockingQueue<DelegateDTO<A,M>> messageDelegateQueue,
Coordinator<L,A,M> messageCoordinator,
Launcher<?> launcher)
The initialization method.
|
void |
postInit(ComponentHandler<SubComponent<L,A,M>,Message<A,M>> componentHandler)
post init method to set correct component handler and to initialize
component depending on objects created in startUp sequence.
|
getContext, getLocaleID, getResourceBundleLocation, isStarted, setLocaleID, setResourceBundleLocation, setStartedcompareToaddComponent, getComponentHandler, initComponents, registerComponent, removeAllCompnents, unregisterComponentvoid init(BlockingQueue<SubComponent<L,A,M>> componentDelegateQueue, BlockingQueue<DelegateDTO<A,M>> messageDelegateQueue, Coordinator<L,A,M> messageCoordinator, Launcher<?> launcher)
componentDelegateQueue, - component that should be delegated to an other perspectivemessageDelegateQueue, - messages to componentmessageCoordinator, - coordinates messages to componentlauncher, - the component launchervoid postInit(ComponentHandler<SubComponent<L,A,M>,Message<A,M>> componentHandler)
componentHandler, - the component handlerList<SubComponent<L,A,M>> getSubcomponents()
void handlePerspective(Message<A,M> message)
message, - the message to perspective.BlockingQueue<SubComponent<L,A,M>> getComponentDelegateQueue()
BlockingQueue<DelegateDTO<A,M>> getMessageDelegateQueue()
BlockingQueue<Message<A,M>> getMessageQueue()
Injectable getPerspective()
Copyright © 2014. All rights reserved.