net.jbeans.j3d.util.behavior.mouse
Class MouseTranslate
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Behavior
com.sun.j3d.utils.behaviors.mouse.MouseBehavior
com.sun.j3d.utils.behaviors.mouse.MouseTranslate
net.jbeans.j3d.util.behavior.mouse.MouseTranslate
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
- public class MouseTranslate
- extends com.sun.j3d.utils.behaviors.mouse.MouseTranslate
MouseTranslate is a behavior object which translates a 3D object
according to a mouse event.
- Version:
- $Revision: 1.3 $
- Author:
- Masahiro Takatsuka (masa@jbeans.net)
- See Also:
MouseTranslate
Fields inherited from class com.sun.j3d.utils.behaviors.mouse.MouseBehavior |
buttonPress, currXform, enable, flags, invert, INVERT_INPUT, MANUAL_WAKEUP, mouseCriterion, mouseEvents, mouseq, reset, transformGroup, transformX, transformY, wakeUp, x, x_last, y, y_last |
Fields inherited from class javax.media.j3d.Node |
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING |
Fields inherited from class javax.media.j3d.SceneGraphObject |
|
Methods inherited from class com.sun.j3d.utils.behaviors.mouse.MouseTranslate |
|
Methods inherited from class com.sun.j3d.utils.behaviors.mouse.MouseBehavior |
addListener, getTransformGroup, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, processMouseEvent, setEnable, wakeup |
Methods inherited from class javax.media.j3d.Behavior |
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn |
Methods inherited from class javax.media.j3d.Node |
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseTranslate
public MouseTranslate()
MouseTranslate
public MouseTranslate(int i)
MouseTranslate
public MouseTranslate(javax.media.j3d.TransformGroup transformgroup)
invertMouseInput
public void invertMouseInput(boolean invert)
doesInvertMouseInput
public boolean doesInvertMouseInput()
setTransformGroup
public void setTransformGroup(javax.media.j3d.TransformGroup transformgroup)
useLocalToUniverseTransform
public void useLocalToUniverseTransform(boolean use)
isLocalToUniverseTransformUsed
public boolean isLocalToUniverseTransformUsed()
getXFactor
public double getXFactor()
getYFactor
public double getYFactor()
initialize
public void initialize()
processStimulus
public void processStimulus(java.util.Enumeration enumeration)
setFactor
public void setFactor(double d)
setFactor
public void setFactor(double d,
double d1)
setupCallback
public void setupCallback(com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback mousebehaviorcallback)
transformChanged
public void transformChanged(javax.media.j3d.Transform3D transform3d)
Copyright © 1995-2004 net.jbeans. All Rights Reserved.