站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.1

DataObject.Container (NetBeans Loaders API) - NetBeans API Javadoc 5.5.1

org.openide.loaders 5.9.31

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.31

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