|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
I - T - public interface Selector<T>
This interface should be implemented by all services that allows the selection of an object. It has methods for retrieving the selected obejct and for registering listeners to be notified of selection events.
| Method Summary | |
|---|---|
void |
addSelectionListener(SelectionListener listener)
Register a listener for the object selection. |
T |
getSelectedObject()
Retrieves the object currently selected. |
void |
removeSelectionListener(SelectionListener listener)
Remove a listener from the collection of the listeners that will be notified when an object is slected in this browser. |
| Method Detail |
|---|
T getSelectedObject()
void addSelectionListener(SelectionListener listener)
listener - the listener to be registeredvoid removeSelectionListener(SelectionListener listener)
listener - the listener to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||