org.openide.util
Class WeakListener.Focus
java.lang.Object
|
+--org.openide.util.WeakListener
|
+--org.openide.util.WeakListener.Focus
- All Implemented Interfaces:
- EventListener, FocusListener
- Enclosing class:
- WeakListener
Deprecated. use appropriate method instead
- public static final class WeakListener.Focus
- extends WeakListener
- implements FocusListener
Weak version of focus 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.Focus
public WeakListener.Focus(FocusListener l)
- Deprecated.
- Constructor.
- Parameters:
l
- listener to delegate to
focusGained
public void focusGained(FocusEvent ev)
- Deprecated.
- Delegates to the original listener.
- Specified by:
focusGained
in interface FocusListener
focusLost
public void focusLost(FocusEvent ev)
- Deprecated.
- Delegates to the original listener.
- Specified by:
focusLost
in interface FocusListener
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.