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

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

 

org.openide.loaders
Interface DataObject.Container

All Superinterfaces:
Node.Cookie
All Known Implementing Classes:
DataFolder, DataShadow
Enclosing interface:
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

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

See Also:
Constant Field Values
Method Detail

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 May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.