当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
WeakListener.VetoableChange (NetBeans APIs) - NetBeans API Javadoc 4.1.0
org.openide.util
Class WeakListener.VetoableChange
java.lang.Object
org.openide.util.WeakListener
org.openide.util.WeakListener.VetoableChange
- All Implemented Interfaces:
- EventListener, VetoableChangeListener
- Enclosing class:
- WeakListener
Deprecated. use appropriate method instead
- public static class WeakListener.VetoableChange
- extends WeakListener
- implements VetoableChangeListener
Weak vetoable change listener
Methods inherited from class org.openide.util.WeakListener |
change, create, document, fileChange, fileStatus, focus, get, node, propertyChange, repository, setSource, toString, vetoableChange |
WeakListener.VetoableChange
public WeakListener.VetoableChange(VetoableChangeListener l)
- Deprecated.
- Constructor.
- Parameters:
l
- listener to delegate to
vetoableChange
public void vetoableChange(PropertyChangeEvent ev)
throws PropertyVetoException
- Deprecated.
- Tests if the object we reference to still exists and
if so, delegate to it. Otherwise remove from the source
if it has removePropertyChangeListener method.
- Specified by:
vetoableChange
in interface VetoableChangeListener
- Throws:
PropertyVetoException
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