|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DelegateMediator
Used by DelegatingCommand instances to find their delegates.
CommandContainer.setDelegateMediator(DelegateMediator). Delegating commands bound to
that container (or any of its children) are notified and update accordingly.
The most common implementation is FocusTrackingDelegateMediator although you can extend
either AbstractDelegateMediator or DefaultDelegateMediator if you require
more specialised behaviour.
| Method Summary | |
|---|---|
void |
addDelegateMediatorListener(DelegateMediatorListener listener)
Adds the specified listener |
ActionCommandExecutor |
getExecutor(java.lang.String id)
Searches the container hierarchy and gets the first executor it finds. |
void |
removeDelegateMediatorListener(DelegateMediatorListener listener)
Removes the specified listener. |
| Method Detail |
|---|
ActionCommandExecutor getExecutor(java.lang.String id)
id - the id to search for.
null if
none exists.void addDelegateMediatorListener(DelegateMediatorListener listener)
listener - the listener to add.void removeDelegateMediatorListener(DelegateMediatorListener listener)
listener - the listener to remove.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||