org.netbeans.api.java/1 1.10.22

org.netbeans.api.java.classpath
Class GlobalPathRegistryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.api.java.classpath.GlobalPathRegistryEvent
All Implemented Interfaces:
Serializable

public final class GlobalPathRegistryEvent
extends EventObject

Event object giving details of a change in the path registry.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 Set getChangedPaths()
          Get a set of classpaths that were added or removed.
 String getId()
          Get the type of classpaths that were added or removed.
 GlobalPathRegistry getRegistry()
          Get the affected registry.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRegistry

public GlobalPathRegistry getRegistry()
Get the affected registry.

Returns:
the registry

getId

public String getId()
Get the type of classpaths that were added or removed.

Returns:
the type, e.g. ClassPath.SOURCE

getChangedPaths

public Set getChangedPaths()
Get a set of classpaths that were added or removed.

Returns:
an immutable and nonempty set of ClassPaths of the given type

org.netbeans.api.java/1 1.10.22

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