apps.threedmanipulationexperiment.gestures
Interface ObjectRotateTranslate.ObjectRotateTranslateScaleListener

Enclosing class:
ObjectRotateTranslate

public static interface ObjectRotateTranslate.ObjectRotateTranslateScaleListener

The listener interface for receiving objectRotateTranslateScale events. The class that is interested in processing a objectRotateTranslateScale event implements this interface, and the object created with that class is registered with a component using the component's addObjectRotateTranslateScaleListener method. When the objectRotateTranslateScale event occurs, that object's appropriate method is invoked.

See Also:
ObjectRotateTranslateScaleEvent

Method Summary
 void itemMoved(com.jme.scene.Spatial targetSpatial, float newLocationX, float newLocationY, float oldLocationX, float oldLocationY)
          Item moved.
 

Method Detail

itemMoved

void itemMoved(com.jme.scene.Spatial targetSpatial,
               float newLocationX,
               float newLocationY,
               float oldLocationX,
               float oldLocationY)
Item moved.

Parameters:
targetSpatial - the target spatial
newLocationX - the new location x
newLocationY - the new location y
oldLocationX - the old location x
oldLocationY - the old location y