org.openide.util
Class Lookup.Result
java.lang.Object
|
+--org.openide.util.Lookup.Result
- Enclosing class:
- Lookup
- public abstract static class Lookup.Result
- extends Object
Result of a lookup request. Allows access to single object
that was found (not too useful) and also to all objects found
(more useful).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lookup.Result
public Lookup.Result()
addChangeListener
public abstract void addChangeListener(ChangeListener l)
- Registers a listener that is invoked when there is a possible
change in this result.
- Parameters:
l
- listener to invoke when there is an change
removeChangeListener
public abstract void removeChangeListener(ChangeListener l)
- Unregisters a listener previously added by addChangeListener.
- Parameters:
l
- the listener
allInstances
public abstract Collection allInstances()
- Access to all instances in the result.
- Returns:
- collection of all instances
Built on February 22 2001. | Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.