-
Type:
Enhancement
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 1.2.0
-
Component/s: client-libs
-
generic
-
generic
Name: vi73552 Date: 03/11/99
I would like a way to get the event listeners of a component, so that they can be removed dynamically...
i.e.
my_Circle.addMouseMotionListener( new MouseMotionListener()
{ public void mouseDragged( MouseEvent event)
{ ... };
...
});
// then when necessary:
MouseMotionListener temp = my_Circle.getMouseMotionListener();
// the method ------------------------^
my_Circle.removeListener( temp );
...
// then later on....
my_Circle.addMouseMotionListener( temp );
(Review ID: 54445)
======================================================================
- duplicates
-
JDK-4218563 getMouseListener() & getKeyListener() available to AWT Container
-
- Closed
-
-
JDK-4290704 getListener Project Completion
-
- Closed
-