|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.spi.java.classpath.support.CompositePathResourceBase
This class provides a base class for PathResource implementations
Field Summary |
Fields inherited from interface org.netbeans.spi.java.classpath.PathResourceImplementation |
PROP_ROOTS |
Constructor Summary | |
CompositePathResourceBase()
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds property change listener. |
protected abstract ClassPathImplementation |
createContent()
Creates the array of the roots of PathResource. |
protected void |
firePropertyChange(String propName,
Object oldValue,
Object newValue)
Fires PropertyChangeEvent |
ClassPathImplementation |
getContent()
Returns the ClassPathImplementation representing the content of this PathResourceImplementation |
URL[] |
getRoots()
Returns the roots of the PathResource |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes PropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompositePathResourceBase()
Method Detail |
public final URL[] getRoots()
getRoots
in interface PathResourceImplementation
public final ClassPathImplementation getContent()
getContent
in interface PathResourceImplementation
public final void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface PathResourceImplementation
listener
- public final void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface PathResourceImplementation
listener
- protected final void firePropertyChange(String propName, Object oldValue, Object newValue)
propName
- name of propertyoldValue
- old property value or nullnewValue
- new property value or nullprotected abstract ClassPathImplementation createContent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |