org.openide.util
Class WeakListener.Document
java.lang.Object
|
+--org.openide.util.WeakListener
|
+--org.openide.util.WeakListener.Document
- All Implemented Interfaces:
- DocumentListener, EventListener
- Enclosing class:
- WeakListener
Deprecated. use appropriate method instead
- public static final class WeakListener.Document
- extends WeakListener
- implements DocumentListener
Weak document modifications 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, operation, propertyChange, repository, setSource, toString, vetoableChange |
WeakListener.Document
public WeakListener.Document(DocumentListener l)
- Deprecated.
- Constructor.
- Parameters:
l
- listener to delegate to
changedUpdate
public void changedUpdate(DocumentEvent ev)
- Deprecated.
- Gives notification that an attribute or set of attributes changed.
- Specified by:
changedUpdate
in interface DocumentListener
- Parameters:
ev
- event describing the action
insertUpdate
public void insertUpdate(DocumentEvent ev)
- Deprecated.
- Gives notification that there was an insert into the document.
- Specified by:
insertUpdate
in interface DocumentListener
- Parameters:
ev
- event describing the action
removeUpdate
public void removeUpdate(DocumentEvent ev)
- Deprecated.
- Gives notification that a portion of the document has been removed.
- Specified by:
removeUpdate
in interface DocumentListener
- Parameters:
ev
- event describing the action
removeMethodName
protected String removeMethodName()
- Deprecated.
- Method name to use for removing the listener.
- Overrides:
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
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.