org.openide.loaders 5.9.22

org.openide.loaders
Interface DataObject.Container

All Superinterfaces:
Node.Cookie
All Known Implementing Classes:
DataFolder, DataShadow
Enclosing class:
DataObject

public static interface DataObject.Container
extends Node.Cookie

Interface for objects that can contain other data objects. For example DataFolder and DataShadow implement this interface to allow others to access the contained objects in uniform maner


Field Summary
static String PROP_CHILDREN
          Name of property that holds children of this container.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
          Adds a listener.
 DataObject[] getChildren()
           
 void removePropertyChangeListener(PropertyChangeListener l)
          Removes property change listener.
 

Field Detail

PROP_CHILDREN

static final String PROP_CHILDREN
Name of property that holds children of this container.

See Also:
Constant Field Values
Method Detail

getChildren

DataObject[] getChildren()
Returns:
the array of contained objects

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener l)
Adds a listener.

Parameters:
l - the listener

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener l)
Removes property change listener.

Parameters:
l - the listener

org.openide.loaders 5.9.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.