L - defines the message listener typeA - defines the basic event typeM - defines the basic message typepublic interface Perspective<C,L,A,M> extends ComponentBase<L,M>, RootComponent<SubComponent<L,A,M>,Message<A,M>>
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.BlockingQueue<SubComponent<L,A,M>> |
getComponentDelegateQueue()
Returns delegate queue to delegate component to correct target
|
java.net.URL |
getDocumentURL()
The document URL describing the UI.
|
PerspectiveLayoutInterface<C,C> |
getIPerspectiveLayout()
Returns layout dto.
|
java.util.concurrent.BlockingQueue<DelegateDTO<A,M>> |
getMessageDelegateQueue()
Returns delegate queue to delegate actions to correct target
|
java.util.concurrent.TransferQueue<Message<A,M>> |
getMessageQueue()
returns the component coordinator message queue;
|
Injectable |
getPerspective()
Returns the injected perspective representation.
|
java.util.List<SubComponent<L,A,M>> |
getSubcomponents()
Returns all subcomponents in perspective.
|
UIType |
getType()
Distinguish component types.
|
java.lang.String |
getViewLocation()
Contains the document url describing the UI.
|
void |
handlePerspective(Message<A,M> message)
Handle a message call on perspective instance.
|
void |
init(java.util.concurrent.BlockingQueue<SubComponent<L,A,M>> componentDelegateQueue,
java.util.concurrent.BlockingQueue<DelegateDTO<A,M>> messageDelegateQueue,
Coordinator<L,A,M> messageCoordinator,
Launcher<?> launcher)
The initialization method.
|
boolean |
isLast()
Marks the last perspective to handle, this is the visible perspective after initialisation
|
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.
|
void |
setIPerspectiveLayout(PerspectiveLayoutInterface<C,C> layout)
Set the default perspective layout entity for the perspective.
|
void |
setUIType(UIType type)
Set the UI type to distinguish component types
|
void |
setViewLocation(java.lang.String documentURL)
Set the viewLocation location on component start.
|
void |
updatePositions(int pos,
int of)
defines the position of an active perspective in workspace
|
getContext, getLocaleID, getResourceBundleLocation, isStarted, setLocaleID, setResourceBundleLocation, setStartedaddComponent, getComponentHandler, initComponents, registerComponent, removeAllCompnents, unregisterComponentvoid init(java.util.concurrent.BlockingQueue<SubComponent<L,A,M>> componentDelegateQueue, java.util.concurrent.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 handlerjava.util.List<SubComponent<L,A,M>> getSubcomponents()
void handlePerspective(Message<A,M> message)
message, - the message to perspective.java.util.concurrent.BlockingQueue<SubComponent<L,A,M>> getComponentDelegateQueue()
java.util.concurrent.BlockingQueue<DelegateDTO<A,M>> getMessageDelegateQueue()
java.util.concurrent.TransferQueue<Message<A,M>> getMessageQueue()
Injectable getPerspective()
PerspectiveLayoutInterface<C,C> getIPerspectiveLayout()
void setIPerspectiveLayout(PerspectiveLayoutInterface<C,C> layout)
layout, - The layout dtojava.lang.String getViewLocation()
void setViewLocation(java.lang.String documentURL)
documentURL - , the url of the FXML documentjava.net.URL getDocumentURL()
UIType getType()
void setUIType(UIType type)
type, - PROGRAMMATIC / DECLARATIVE typevoid updatePositions(int pos,
int of)
pos - the current position of the perspectiveof - the total amount of active perspectivesboolean isLast()