jimm.datavision.gui
Class PreStretchInfo

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

public class PreStretchInfo
extends java.lang.Object

We save pre-stretch information so we have a place to hold information like original mouse click position and minimum legal mouse position.

Author:
Jim Menard, jimm@io.com

Field Summary
 Rectangle origBounds
           
 java.awt.Rectangle screenBounds
           
 java.awt.Rectangle sectionBounds
           
 java.awt.Point startMouseScreenPos
           
 
Constructor Summary
PreStretchInfo(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

sectionBounds

public java.awt.Rectangle sectionBounds

screenBounds

public java.awt.Rectangle screenBounds
Constructor Detail

PreStretchInfo

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

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