org.netbeans.api.db.explorer.node
Class ChildNodeFactory
java.lang.Object
org.openide.nodes.ChildFactory<Lookup>
org.netbeans.api.db.explorer.node.ChildNodeFactory
public class ChildNodeFactory
- extends ChildFactory<Lookup>
The ChildNodeFactory is used for getting node instances based on
a Lookup instance as the key. Subclasses of BaseNode that can have
children are constructed with an instance of ChildNodeFactory.
Method Summary |
protected boolean |
createKeys(List toPopulate)
|
Node[] |
createNodesForKey(Lookup key)
|
void |
refresh()
Refreshes this factory which causes it to get its
child keys and subsequently its child nodes |
void |
refreshSync()
Refreshes this factory which causes it to get its
child keys and subsequently its child nodes immeditately. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChildNodeFactory
public ChildNodeFactory(Lookup lookup)
- Constructor.
- Parameters:
dataLookup
- the associated data lookup
refresh
public void refresh()
- Refreshes this factory which causes it to get its
child keys and subsequently its child nodes
refreshSync
public void refreshSync()
- Refreshes this factory which causes it to get its
child keys and subsequently its child nodes immeditately.
createNodesForKey
public Node[] createNodesForKey(Lookup key)
- Overrides:
createNodesForKey
in class ChildFactory<Lookup>
createKeys
protected boolean createKeys(List toPopulate)
- Specified by:
createKeys
in class ChildFactory<Lookup>