Class TMouseHandler
java.lang.Object
org.opensourcephysics.cabrillo.tracker.TMouseHandler
- All Implemented Interfaces:
InteractiveMouseHandler
A general purpose mouse handler for a trackerPanel.
- Author:
- Douglas Brown
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AutoTracker.KeyFrameData
getActiveKeyFrame
(AutoTracker autoTracker) void
handleMouseAction
(InteractivePanel panel, MouseEvent e) Handles a mouse action for a tracker panel.
-
Constructor Details
-
TMouseHandler
public TMouseHandler()
-
-
Method Details
-
handleMouseAction
Handles a mouse action for a tracker panel.- Specified by:
handleMouseAction
in interfaceInteractiveMouseHandler
- Parameters:
panel
- the tracker panele
- the mouse event
-
getActiveKeyFrame
-