Package org.jjazz.uiutilities.api
Class RedispatchingMouseAdapter
java.lang.Object
org.jjazz.uiutilities.api.RedispatchingMouseAdapter
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class RedispatchingMouseAdapter
extends Object
implements MouseListener, MouseWheelListener, MouseMotionListener
A MouseAdapter that transmit everything to a parent.
- Author:
- Jerome
-
Constructor Summary
ConstructorDescriptionWill dispatch to his direct parent.RedispatchingMouseAdapter
(Container toParent) Dispatch to a specific parent -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
-
Constructor Details
-
RedispatchingMouseAdapter
public RedispatchingMouseAdapter()Will dispatch to his direct parent. -
RedispatchingMouseAdapter
Dispatch to a specific parent- Parameters:
toParent
- Must be in the parent hierarchy.
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseWheelMoved
- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-