apps.threedmanipulation.gestures
Interface TelescopeFrameMoveZoom.RotateTranslateScaleListener
- Enclosing class:
- TelescopeFrameMoveZoom
public static interface TelescopeFrameMoveZoom.RotateTranslateScaleListener
The listener interface for receiving rotateTranslateScale events. The
class that is interested in processing a rotateTranslateScale event
implements this interface, and the object created with that class is
registered with a component using the component's
addRotateTranslateScaleListener method. When
the rotateTranslateScale event occurs, that object's appropriate
method is invoked.
- See Also:
RotateTranslateScaleEvent
|
Method Summary |
void |
itemMoved(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float oldLocationX,
float oldLocationY)
Item moved. |
void |
itemRotated(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float newAngle,
float oldAngle)
Item rotated. |
void |
itemScaled(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float scaleChange)
Item scaled. |
itemMoved
void itemMoved(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float newLocationX,
float newLocationY,
float oldLocationX,
float oldLocationY)
- Item moved.
- Parameters:
multiTouchElement - the multi touch elementtargetSpatial - the target spatialnewLocationX - the new location xnewLocationY - the new location yoldLocationX - the old location xoldLocationY - the old location y
itemRotated
void itemRotated(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float newAngle,
float oldAngle)
- Item rotated.
- Parameters:
multiTouchElement - the multi touch elementtargetSpatial - the target spatialnewAngle - the new angleoldAngle - the old angle
itemScaled
void itemScaled(TelescopeFrameMoveZoom multiTouchElement,
com.jme.scene.Spatial targetSpatial,
float scaleChange)
- Item scaled.
- Parameters:
multiTouchElement - the multi touch elementtargetSpatial - the target spatialscaleChange - the scale change