|
org.openide.util 6.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.util.lookup.AbstractLookup.Content
public static class AbstractLookup.Content
A class that can be used by the creator of the AbstractLookup to control its content. It can be passed to AbstractLookup constructor and used to add and remove pairs.
Constructor Summary | |
---|---|
AbstractLookup.Content()
|
Method Summary | |
---|---|
void |
addPair(AbstractLookup.Pair pair)
The method to add instance to the lookup with. |
void |
removePair(AbstractLookup.Pair pair)
Remove instance. |
void |
setPairs(Collection c)
Changes all pairs in the lookup to new values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLookup.Content()
Method Detail |
---|
public final void addPair(AbstractLookup.Pair pair)
pair
- class/instance pairpublic final void removePair(AbstractLookup.Pair pair)
pair
- class/instance pairpublic final void setPairs(Collection c)
c
- the collection of (Pair) objects
|
org.openide.util 6.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |