当前页面:
在线文档首页 >
NetBeans API Javadoc 5.5.1
PathResourceBase (NetBeans Java Support APIs) - NetBeans API Javadoc 5.5.1
org.netbeans.spi.java.classpath.support
Class PathResourceBase
java.lang.Object
org.netbeans.spi.java.classpath.support.PathResourceBase
- All Implemented Interfaces:
- PathResourceImplementation
public abstract class PathResourceBase
- extends Object
- implements PathResourceImplementation
This class provides a base class for PathResource implementations
- Since:
- org.netbeans.api.java/1 1.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathResourceBase
public PathResourceBase()
addPropertyChangeListener
public final void addPropertyChangeListener(PropertyChangeListener listener)
- Adds property change listener.
The listener is notified when the roots of the PathResource are changed.
- Specified by:
addPropertyChangeListener
in interface PathResourceImplementation
- Parameters:
listener
-
removePropertyChangeListener
public final void removePropertyChangeListener(PropertyChangeListener listener)
- Removes PropertyChangeListener
- Specified by:
removePropertyChangeListener
in interface PathResourceImplementation
- Parameters:
listener
-
firePropertyChange
protected final void firePropertyChange(String propName,
Object oldValue,
Object newValue)
- Fires PropertyChangeEvent
- Parameters:
propName
- name of propertyoldValue
- old property value or nullnewValue
- new property value or null