当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
FilterNode.PropertyChangeAdapter (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide.nodes
Class FilterNode.PropertyChangeAdapter
java.lang.Object
org.openide.nodes.FilterNode.PropertyChangeAdapter
- All Implemented Interfaces:
- EventListener, PropertyChangeListener
- Enclosing class:
- FilterNode
- protected static class FilterNode.PropertyChangeAdapter
- extends Object
- implements PropertyChangeListener
Adapter that listens on changes in an original node
and refires them in a proxy.
This adapter is created during
initialization in FilterNode.createPropertyChangeListener()
. The method
can be overriden and this class used as the super class for the
new implementation.
A reference to the proxy is stored by weak reference, so it does not
prevent the node from being finalized.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterNode.PropertyChangeAdapter
public FilterNode.PropertyChangeAdapter(FilterNode fn)
- Create a new adapter.
- Parameters:
fn
- the proxy
propertyChange
public final void propertyChange(PropertyChangeEvent ev)
- Specified by:
propertyChange
in interface PropertyChangeListener
propertyChange
protected void propertyChange(FilterNode fn,
PropertyChangeEvent ev)
- Actually propagate the event.
Intended for overriding.
- Parameters:
fn
- the proxyev
- the event