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

DataObject.Registry (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0

 

org.openide.loaders
Class DataObject.Registry

java.lang.Object
  extended byorg.openide.loaders.DataObject.Registry
Enclosing class:
DataObject

public static final class DataObject.Registry
extends Object

Registry of modified data objects. The registry permits attaching of a change listener to be informed when the count of modified objects changes.


Method Summary
 void addChangeListener(ChangeListener chl)
          Add new listener to changes in the set of modified objects.
 DataObject[] getModified()
          Get modified objects.
 Set getModifiedSet()
          Get a set of modified data objects.
 void removeChangeListener(ChangeListener chl)
          Remove a listener to changes in the set of modified objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addChangeListener

public void addChangeListener(ChangeListener chl)
Add new listener to changes in the set of modified objects.

Parameters:
chl - listener to add

removeChangeListener

public void removeChangeListener(ChangeListener chl)
Remove a listener to changes in the set of modified objects.

Parameters:
chl - listener to remove

getModifiedSet

public Set getModifiedSet()
Get a set of modified data objects.

Returns:
an unmodifiable set of DataObjects

getModified

public DataObject[] getModified()
Get modified objects.

Returns:
array of objects

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.