| com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback
All known Subclasses: com.sun.j3d.utils.picking.behaviors.PickRotateBehavior, com.sun.j3d.utils.pickfast.behaviors.PickRotateBehavior, com.sun.j3d.utils.behaviors.picking.PickRotateBehavior, com.sun.j3d.utils.pickfast.behaviors.PickTranslateBehavior, com.sun.j3d.utils.behaviors.picking.PickZoomBehavior, com.sun.j3d.utils.behaviors.picking.PickTranslateBehavior, com.sun.j3d.utils.picking.behaviors.PickTranslateBehavior, com.sun.j3d.utils.pickfast.behaviors.PickZoomBehavior, com.sun.j3d.utils.picking.behaviors.PickZoomBehavior,
MouseBehaviorCallback | public interface MouseBehaviorCallback (Code) | | The MouseBehaviorCallback interface allows a class to be notified
when the transform is changed by one of the MouseBehaviors. The
class that is interested in transform changes implements this
interface, and the object created with that class is registered
with the desired subclass of MouseBehavior using the
setupCallback method. When the transform changes, the
registered object's transformChanged method is
invoked.
|
Field Summary | |
final public static int | ROTATE | final public static int | TRANSLATE | final public static int | ZOOM |
ROTATE | final public static int ROTATE(Code) | | |
TRANSLATE | final public static int TRANSLATE(Code) | | |
ZOOM | final public static int ZOOM(Code) | | |
transformChanged | public void transformChanged(int type, Transform3D transform)(Code) | | Classes implementing this interface that are registered with
one of the MouseBehaviors will be called every time the
behavior updates the Transform
Parameters: type - will be one of ROTATE, TRANSLATE or ZOOM |
|
|