ks.common.controller
Class SolitaireMouseMotionAdapter

java.lang.Object
  extended byjava.awt.event.MouseMotionAdapter
      extended byks.common.controller.SolitaireMouseMotionAdapter
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseMotionListener

public class SolitaireMouseMotionAdapter
extends java.awt.event.MouseMotionAdapter

Default MouseMotion Adapter for all solitaire plug-ins.

This controller will react to MouseDragged events and automatically update the viewing of any widgets that are being dragged within the container by using the standardDragController from the Solitare class.

As of Version 1.5.1, methods have been moved from the Solitaire class into the controller where they belonged.

Creation date: (10/27/01 4:37:58 PM)


Constructor Summary
SolitaireMouseMotionAdapter(Solitaire theGame)
          SolitaireMouseMotionAdapter constructor comment.
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent me)
          Coordinate reaction to a Drag Event.
 
Methods inherited from class java.awt.event.MouseMotionAdapter
mouseMoved
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolitaireMouseMotionAdapter

public SolitaireMouseMotionAdapter(Solitaire theGame)
SolitaireMouseMotionAdapter constructor comment.

Method Detail

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent me)
Coordinate reaction to a Drag Event.

Added code for V1.6.10 to refreshWidgets() on the first real drag event. This will ensure that any changes to the source widget (causing the change) will be refreshed and drawn to the screen appropriately.

Creation date: (10/27/01 4:38:53 PM)

Parameters:
me - java.awt.event.MouseEvent