jimm.datavision.gui
Class PreMoveInfo

java.lang.Object
  extended by jimm.datavision.gui.PreMoveInfo

public class PreMoveInfo
extends java.lang.Object

We save pre-move information because we need to know the original mouse position, we may need to the field's original position, and because we need to know our original position when finally moving.

Author:
Jim Menard, jimm@io.com

Field Summary
 Rectangle origBounds
           
 java.awt.Point screenPos
           
 SectionWidget sectionWidget
           
 java.awt.Point startMouseScreenPos
           
 
Constructor Summary
PreMoveInfo(FieldWidget fw, java.awt.Point mouseScreenPos)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origBounds

public Rectangle origBounds

startMouseScreenPos

public java.awt.Point startMouseScreenPos

screenPos

public java.awt.Point screenPos

sectionWidget

public SectionWidget sectionWidget
Constructor Detail

PreMoveInfo

PreMoveInfo(FieldWidget fw,
            java.awt.Point mouseScreenPos)
Constructor.

Parameters:
fw - a field widget
mouseScreenPos - the location of the mouse in screen coordinates