org.rubato.rubettes.bigbang.view.model
Class ZoomChange

java.lang.Object
  extended by org.rubato.rubettes.bigbang.view.model.ZoomChange

public class ZoomChange
extends java.lang.Object


Field Summary
static int BOTH
           
static int X_ONLY
           
static int Y_ONLY
           
 
Constructor Summary
ZoomChange(double scrollUnits, int x, int y, int activeCoordinates)
          Creates a standard ZoomChange.
 
Method Summary
 int getX()
           
 double getXChangeFactor()
           
 int getY()
           
 double getYChangeFactor()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X_ONLY

public static final int X_ONLY
See Also:
Constant Field Values

Y_ONLY

public static final int Y_ONLY
See Also:
Constant Field Values

BOTH

public static final int BOTH
See Also:
Constant Field Values
Constructor Detail

ZoomChange

public ZoomChange(double scrollUnits,
                  int x,
                  int y,
                  int activeCoordinates)
Creates a standard ZoomChange.

Parameters:
scrollUnits -
x -
y -
activeCoordinates - a modifier: either ZoomChange.X_ONLY, ZoomChange.Y_ONLY, or ZoomChange.BOTH
Method Detail

getXChangeFactor

public double getXChangeFactor()

getYChangeFactor

public double getYChangeFactor()

getX

public int getX()

getY

public int getY()