org.opensourcephysics.media.core
Class VideoMouseHandler

java.lang.Object
  extended by org.opensourcephysics.media.core.VideoMouseHandler
All Implemented Interfaces:
InteractiveMouseHandler

public class VideoMouseHandler
extends java.lang.Object
implements InteractiveMouseHandler

This is a general purpose mouse handler for a video panel drawing TShapes.

Version:
1.0
Author:
Douglas Brown

Constructor Summary
VideoMouseHandler()
           
 
Method Summary
 void handleMouseAction(InteractivePanel panel, java.awt.event.MouseEvent e)
          Handles a mouse action for a video panel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoMouseHandler

public VideoMouseHandler()
Method Detail

handleMouseAction

public void handleMouseAction(InteractivePanel panel,
                              java.awt.event.MouseEvent e)
Handles a mouse action for a video panel.

Specified by:
handleMouseAction in interface InteractiveMouseHandler
Parameters:
panel - the video panel
e - the mouse event