L
- defines the action listener typeA
- defines the basic action typeM
- defines the basic message typepublic interface IComponent<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.
|
boolean |
isActive()
Get the default active status of component.
|
boolean |
isStarted()
Get if component was activated, can occur if message was send before
"init" message arrived.
|
void |
setActive(boolean active)
Set default active state of component.
|
void |
setId(java.lang.String id)
Deprecated.
|
void |
setName(java.lang.String name)
Deprecated.
|
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()
@Deprecated void setId(java.lang.String id)
id
- ; the component id.boolean isActive()
void setActive(boolean active)
active
- ; the component active state.boolean isStarted()
java.lang.String getName()
@Deprecated void setName(java.lang.String name)
name
- ; the component name