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

WeakListener.Node (Compatibility APIs) - NetBeans API Javadoc (Current Development Version)

org.openide.compat 6.5

org.openide.util
Class WeakListener.Node

java.lang.Object
  extended by org.openide.util.WeakListener
      extended by org.openide.util.WeakListener.PropertyChange
          extended by org.openide.util.WeakListener.Node
All Implemented Interfaces:
PropertyChangeListener, EventListener, NodeListener
Enclosing class:
WeakListener

Deprecated. use appropriate method instead

public static final class WeakListener.Node
extends WeakListener.PropertyChange
implements NodeListener

Weak version of listener for changes in one node. This class if final only for performance reasons, can be happily unfinaled if desired.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.openide.util.WeakListener
WeakListener.Change, WeakListener.Document, WeakListener.FileChange, WeakListener.FileStatus, WeakListener.Focus, WeakListener.Node, WeakListener.PropertyChange, WeakListener.Repository, WeakListener.VetoableChange
 
Constructor Summary
WeakListener.Node(NodeListener l)
          Deprecated. Constructor.
 
Method Summary
 void childrenAdded(NodeMemberEvent ev)
          Deprecated. Delegates to the original listener.
 void childrenRemoved(NodeMemberEvent ev)
          Deprecated. Delegates to the original listener.
 void childrenReordered(NodeReorderEvent ev)
          Deprecated. Delegates to the original listener.
 void nodeDestroyed(NodeEvent ev)
          Deprecated. Delegates to the original listener.
protected  String removeMethodName()
          Deprecated. Method name to use for removing the listener.
 
Methods inherited from class org.openide.util.WeakListener.PropertyChange
propertyChange
 
Methods inherited from class org.openide.util.WeakListener
change, create, document, fileChange, fileStatus, focus, get, node, propertyChange, repository, setSource, toString, vetoableChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Constructor Detail

WeakListener.Node

public WeakListener.Node(NodeListener l)
Deprecated. 
Constructor.

Parameters:
l - listener to delegate to
Method Detail

childrenAdded

public void childrenAdded(NodeMemberEvent ev)
Deprecated. 
Delegates to the original listener.

Specified by:
childrenAdded in interface NodeListener

childrenRemoved

public void childrenRemoved(NodeMemberEvent ev)
Deprecated. 
Delegates to the original listener.

Specified by:
childrenRemoved in interface NodeListener

childrenReordered

public void childrenReordered(NodeReorderEvent ev)
Deprecated. 
Delegates to the original listener.

Specified by:
childrenReordered in interface NodeListener

nodeDestroyed

public void nodeDestroyed(NodeEvent ev)
Deprecated. 
Delegates to the original listener.

Specified by:
nodeDestroyed in interface NodeListener

removeMethodName

protected String removeMethodName()
Deprecated. 
Method name to use for removing the listener.

Overrides:
removeMethodName in class WeakListener.PropertyChange
Returns:
name of method of the source object that should be used to remove the listener from listening on source of events

org.openide.compat 6.5

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