|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Composite
| Method Summary | ||
|---|---|---|
void |
addComponent(String componentName,
int index,
Object component)
Inserts the component to the composite. |
|
void |
bindReceiver(MessageReceiver receiver)
Bind the receiver to this composite. |
|
Composite |
getParentComposite()
|
|
|
getRole(String role)
|
|
void |
removeComponent(Object component)
Pulls the component out of the composite. |
|
void |
unbindReceiver()
Unbind the lastly bound receiver from this composite. |
|
| Methods inherited from interface org.iqual.chaplin.msg.MessageReceiver |
|---|
onMessageReceived |
| Methods inherited from interface org.iqual.chaplin.Injected |
|---|
$$$$$$, $$$$$$ |
| Methods inherited from interface org.iqual.chaplin.Meta |
|---|
$$$meta$$$, $$$meta$$$ |
| Method Detail |
|---|
Composite getParentComposite()
void bindReceiver(MessageReceiver receiver)
receiver - the receivervoid unbindReceiver()
<T> T getRole(String role)
role - the component's role
role or null
void addComponent(String componentName,
int index,
Object component)
componentName - the name (role) of the component in the compositecomponent - the component to be inserted to the compositeindex - the index at which the component is inserted. The value -1 means that the component is appended at the end.void removeComponent(Object component)
component - the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||