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
ConstructorsConstructorDescriptionWill dispatch to his direct parent.RedispatchingMouseAdapter(Container toParent) Dispatch to a specific parent -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoid
-
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:
mouseClickedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseWheelMoved
- Specified by:
mouseWheelMovedin interfaceMouseWheelListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-