j3d.examples.common
Interface TornadoChangeListener

All Known Subinterfaces:
RotationChangeListener, ScaleChangeListener, TranslationChangeListener
All Known Implementing Classes:
MouseNavigateTest

public interface TornadoChangeListener

Interface to listen for changes affected by in the TornadoMouseBehaviors.

Version:
1.0
Author:
Daniel Selman

Method Summary
 void onAdjustTransform(java.lang.Object target, int xpos, int ypos)
          Notification that a new Transform is being calculated
 void onApplyTransform(java.lang.Object target)
          Notification that the Transform is being updated
 void onEndDrag(java.lang.Object target)
          Callback to notify of an end drag event.
 void onStartDrag(java.lang.Object target)
          Callback to notify of a start drag event.
 

Method Detail

onStartDrag

void onStartDrag(java.lang.Object target)
Callback to notify of a start drag event.

Parameters:
target - the Object being manipulated

onEndDrag

void onEndDrag(java.lang.Object target)
Callback to notify of an end drag event.

Parameters:
target - the Object being manipulated

onApplyTransform

void onApplyTransform(java.lang.Object target)
Notification that the Transform is being updated

Parameters:
target - the Object being manipulated

onAdjustTransform

void onAdjustTransform(java.lang.Object target,
                       int xpos,
                       int ypos)
Notification that a new Transform is being calculated

Parameters:
target - the Object being manipulated
xpos - the mouse x position
ypos - the mouse y position