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. |
PROP_CHILDREN
public static final String PROP_CHILDREN
- Name of property that holds children of this container.
getChildren
public DataObject[] getChildren()
- Returns:
- the array of contained objects
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Adds a listener.
- Parameters:
l
- the listener
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Removes property change listener.
- Parameters:
l
- the listener
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.