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

GlobalPathRegistryEvent (NetBeans Java Support APIs) - NetBeans API Javadoc 5.0.0

 

org.netbeans.api.java.classpath
Class GlobalPathRegistryEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.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

 

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