quicktime.app.event
Class AWTMouseEventDispatcher

java.lang.Object
  |
  +--quicktime.app.event.EventDispatcher
        |
        +--quicktime.app.event.AWTMouseEventDispatcher
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

Deprecated. since QTJava 6.1

public class AWTMouseEventDispatcher
extends EventDispatcher
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener

This class is used to dispatch events to a QTMouseController when the source of events is some kind of java.awt.Component.

See Also:
EventDispatcher

Field Summary
protected  java.awt.Component comp
          Deprecated. The java.awt.Component which the space has been added to.* @deprecated since QTJava 6.1
protected  QTMouseController cont
          Deprecated. The controller that will dispatch the events to any of its registered listeners* @deprecated since QTJava 6.1
protected  Space space
          Deprecated. The space that is the source of the QTMouseEvent that is broadcast to the QTMouseController* @deprecated since QTJava 6.1
 
Constructor Summary
AWTMouseEventDispatcher(QTMouseController cont, Space space, java.lang.Object interest)
          Deprecated. since QTJava 6.1
 
Method Summary
protected  void addedTo()
          Deprecated. When the ListenerController is addedTo its source of interest this method is called.* @deprecated since QTJava 6.1
 void mouseClicked(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mouseDragged(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mouseEntered(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mouseExited(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mouseMoved(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mousePressed(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
 void mouseReleased(java.awt.event.MouseEvent e)
          Deprecated. since QTJava 6.1
protected  void removedFrom()
          Deprecated. When the ListenerController is removedFrom its source of interest this method is called.* @deprecated since QTJava 6.1
 
Methods inherited from class quicktime.app.event.EventDispatcher
registerMaker, removeMaker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

space

protected Space space
Deprecated. 
The space that is the source of the QTMouseEvent that is broadcast to the QTMouseController* @deprecated since QTJava 6.1


cont

protected QTMouseController cont
Deprecated. 
The controller that will dispatch the events to any of its registered listeners* @deprecated since QTJava 6.1


comp

protected java.awt.Component comp
Deprecated. 
The java.awt.Component which the space has been added to.* @deprecated since QTJava 6.1

Constructor Detail

AWTMouseEventDispatcher

public AWTMouseEventDispatcher(QTMouseController cont,
                               Space space,
                               java.lang.Object interest)
Deprecated. since QTJava 6.1

Creates an AWTMouseEventDispatcher for the specified QTMouseController.

Parameters:
cont - the controller which will distribute the events. This controller is attached to some kind of quicktime.app.display.QTDisplaySpace object.
interest - The interest object must be some kind of java.awt.Component of a class cast exception will be generated.
space - The space will be the Object (generally a QTDisplaySpace) which the controller has been attached to and will become the source of events - ie. the space within which the controllers events occur - for the controller
Method Detail

addedTo

protected void addedTo()
Deprecated. 
When the ListenerController is addedTo its source of interest this method is called.* @deprecated since QTJava 6.1

Specified by:
addedTo in class EventDispatcher

removedFrom

protected void removedFrom()
Deprecated. 
When the ListenerController is removedFrom its source of interest this method is called.* @deprecated since QTJava 6.1

Specified by:
removedFrom in class EventDispatcher

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when the mouse has been clicked on a component.

Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when a mouse button has been pressed on a component.

Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when a mouse button has been released on a component.

Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when the mouse enters a component.

Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when the mouse exits a component.

Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when a mouse button is pressed on a component and then dragged. Mouse drag events will continue to be delivered to the component where the first originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Deprecated. since QTJava 6.1

Invoked when the mouse button has been moved on a component (with no buttons no down).

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener