org.jrabbit.base.graphics.transforms.listeners
Interface ScalarListener

All Known Implementing Classes:
CameraViewChecker

public interface ScalarListener

A ScalarListener can "watch" Scalar objects to see if their values change.

Author:
Chris Molini

Method Summary
 void flipped(Scalar scalar)
          If a Scalar this object is listening to is flipped either horizontally or vertically, this is called.
 void scaled(Scalar scalar)
          If a Scalar this object is listening to has its scale changed, this is called.
 

Method Detail

scaled

void scaled(Scalar scalar)
If a Scalar this object is listening to has its scale changed, this is called.

Parameters:
scalar - A reference to the Scalar that was scaled.

flipped

void flipped(Scalar scalar)
If a Scalar this object is listening to is flipped either horizontally or vertically, this is called.

Parameters:
scalar - A reference to the Scalar that was flipped.