org.openide.loaders
Class  DataObject.Registry
java.lang.Object
  |
  +--org.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.
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
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 December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.