Declaration
public interface JIDLMouseMotionListener
All Known Implementing Classes:
JIDLCanvas
Description
The listener interface for receiving mouse motion events from IDL (move and drag) on a JIDLCanvas. (Mouse presses, releases, enter and exits are tracked using JIDLMouseListener.)
The class that is interested in processing an IDL mouse motion event implements this interface (and all the methods it contains). The listener object created from that class is then registered with the JIDLCanvas using the addIDLMouseMotionListener method. The listener is unregistered with the removeIDLMouseMotionListener.
The JIDLCanvas automatically handles mouse motion events whether a program registers an additional JIDLMouseMotionListener or not. The JIDLCanvas is itself a JIDLMouseMotionListener and provides default behavior which is to call the IDL object’s OnMouseMotion method.
Note: Clients should not register to listen to JIDLCanvas mouse motion events using a MouseMotionListener, preferring the JIDLMouseMotionListener instead.
See Also:
JIDLCanvas, JIDLMouseListener, java.awt.event.MouseEvent, java.awt.event.MouseMotionListener
Member Summary
Methods
void
IDLmouseDragged(JIDLObjectI obj, java.awt.event.MouseEvent event)
A mouse was dragged inside the JIDLCanvas.
void
IDLmouseMoved(JIDLObjectI obj, java.awt.event.MouseEvent event)
A mouse was moved inside the JIDLCanvas.
Methods
IDLmouseDragged(JIDLObjectI, MouseEvent)
public void IDLmouseDragged(com.idl.javaidl.JIDLObjectI obj, java.awt.event.MouseEvent event)
A mouse was dragged inside the JIDLCanvas.
The default behavior of JIDLCanvas’s default implementation is to call the IDL program’s OnMouseMotion method.
Parameters:
obj - The JIDLCanvas in which the event occurred.
event - The mouse event
IDLmouseMoved(JIDLObjectI, MouseEvent)
public void IDLmouseMoved(com.idl.javaidl.JIDLObjectI obj, java.awt.event.MouseEvent event)
A mouse was moved inside the JIDLCanvas.
The default behavior of JIDLCanvas’s default implementation is to call the IDL program’s OnMouseMotion method.
Parameters:
obj - The JIDLCanvas in which the event occurred.
event - The mouse event