|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addListener(ComponentListener c)
Adds a listener that will be notified when any new component is discovered. |
void |
addListener(ComponentListener c,
java.util.Hashtable filter)
Adds a listener that will be notified when any new component matching the filter given is discovered. |
Component[] |
getComponents(java.util.Hashtable properties)
Returns an array of Components found that match the given property set |
void |
removeListener(ComponentListener c)
Removes all instances of the given listener (including any different filters) from the list of listeners to be notified. |
void |
removeListener(ComponentListener c,
java.util.Hashtable filter)
Removes the particular listener+filter pair from the list of listeners to be notified. |
Method Detail |
public void addListener(ComponentListener c)
c
- the listener that will be notifiedpublic void addListener(ComponentListener c, java.util.Hashtable filter)
c
- the listener to be notifiedfilter
- The filter, as a hashtable of attributespublic void removeListener(ComponentListener c)
c
- The listener to be removed.public void removeListener(ComponentListener c, java.util.Hashtable filter)
c
- The listener to be removedfilter
- The filter matches of which this listener will not be notified any more.public Component[] getComponents(java.util.Hashtable properties)
properties
- The properties that the returned components need to match
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |