L
- defines the action listener typeA
- defines the basic action typeM
- defines the basic message typepublic interface Context<L,A,M>
Modifier and Type | Method and Description |
---|---|
IActionListener<L,A,M> |
getActionListener(M message)
Returns an action listener (for local use).
|
IActionListener<L,A,M> |
getActionListener(java.lang.String targetId,
M message)
Returns an action listener (for global use). targetId defines the id or
your receiver component
|
java.lang.String |
getId()
Returns the id of the component.
|
java.lang.String |
getName()
Returns the name of a component.
|
java.lang.String |
getParentId()
Returns the ID of parent component/perspective.
|
java.util.ResourceBundle |
getResourceBundle()
Returns the components resource bundle.
|
boolean |
isActive()
Get the default active status of component.
|
void |
setActive(boolean active)
Set default active state of component.
|
void |
setExecutionTarget(java.lang.String id)
Defines the perspective in which the component should executed in.
|
void |
setReturnTarget(java.lang.String componentTargetId)
Set component targetId which is the target of a background components return
value; the return value will be handled like an average message and will
be delivered to targeted component.
|
void |
setTargetLayout(java.lang.String targetLayout)
Defines the target layoutId, where the UI component should appear in,the layout is registered in perspective and is a placeholder for the component.
|
IActionListener<L,A,M> getActionListener(M message)
message
- ; the initial message to be send by invoking the listenerIActionListener<L,A,M> getActionListener(java.lang.String targetId, M message)
message
- ; the message to send to target.targetId
- ; the targets component id.java.lang.String getId()
java.lang.String getParentId()
java.lang.String getName()
java.util.ResourceBundle getResourceBundle()
boolean isActive()
void setActive(boolean active)
active
- ; the component active state.void setReturnTarget(java.lang.String componentTargetId)
componentTargetId
- ; represents a component id to return the value tovoid setExecutionTarget(java.lang.String id)
id,
- the id of the parent perspective where the component should be executed in.void setTargetLayout(java.lang.String targetLayout)
targetLayout,
- a target layout label.