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

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

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