当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
WeakListener.Change (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide.util
Class WeakListener.Change
java.lang.Object
org.openide.util.WeakListener
org.openide.util.WeakListener.Change
- All Implemented Interfaces:
- ChangeListener, EventListener
- Enclosing class:
- WeakListener
Deprecated. use appropriate method instead
- public static final class WeakListener.Change
- extends WeakListener
- implements ChangeListener
Weak swing change listener.
This class if final only for performance reasons,
can be happily unfinaled if desired.
Methods inherited from class org.openide.util.WeakListener |
change, create, document, fileChange, fileStatus, focus, get, node, propertyChange, repository, setSource, toString, vetoableChange |
WeakListener.Change
public WeakListener.Change(ChangeListener l)
- Deprecated.
- Constructor.
- Parameters:
l
- listener to delegate to
stateChanged
public void stateChanged(ChangeEvent ev)
- Deprecated.
- Called when new file system is added to the pool.
- Specified by:
stateChanged
in interface ChangeListener
- Parameters:
ev
- event describing the action
removeMethodName
protected String removeMethodName()
- Deprecated.
- Method name to use for removing the listener.
- Specified by:
removeMethodName
in class WeakListener
- Returns:
- name of method of the source object that should be used
to remove the listener from listening on source of events