net.jbeans.j3d.util.behavior.mouse
Class MouseManipulatorBehavior

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Behavior
                  extended bynet.jbeans.j3d.util.behavior.mouse.MouseManipulatorBehavior

public class MouseManipulatorBehavior
extends javax.media.j3d.Behavior

MtMouseManipulatorBehavior is a mouse event manager. When this object receives a mouse event, it creates a MtStimulus object, which contains all possible information needed to manipulate 3D objects, and send it to registered objects, which process the stimulus.

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
Behavior

Field Summary
static int INVERT_INPUT
           
static int MANUAL_WAKEUP
           
 
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
 
Constructor Summary
MouseManipulatorBehavior(int i)
           
MouseManipulatorBehavior(javax.media.j3d.TransformGroup topTG)
           
 
Method Summary
 void addDragManipulator(int modifiers, Manipulator manipulator)
           
 void addPressManipulator(int modifiers, Manipulator manipulator)
           
 Manipulator getDragManipulator(int modifiers)
           
 Manipulator getPressManipulator(int modifiers)
           
 void initialize()
           
 void processMouseEvent(java.awt.event.MouseEvent mouseevent)
           
 void processStimulus(java.util.Enumeration enumeration)
           
 void removeDragManipulator(int modifiers)
           
 void removePressManipulator(int modifiers)
           
 void wakeup()
           
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, 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
 

Field Detail

MANUAL_WAKEUP

public static final int MANUAL_WAKEUP
See Also:
Constant Field Values

INVERT_INPUT

public static final int INVERT_INPUT
See Also:
Constant Field Values
Constructor Detail

MouseManipulatorBehavior

public MouseManipulatorBehavior(int i)

MouseManipulatorBehavior

public MouseManipulatorBehavior(javax.media.j3d.TransformGroup topTG)
Method Detail

initialize

public void initialize()

processMouseEvent

public void processMouseEvent(java.awt.event.MouseEvent mouseevent)

addDragManipulator

public void addDragManipulator(int modifiers,
                               Manipulator manipulator)

removeDragManipulator

public void removeDragManipulator(int modifiers)

getDragManipulator

public Manipulator getDragManipulator(int modifiers)

addPressManipulator

public void addPressManipulator(int modifiers,
                                Manipulator manipulator)

removePressManipulator

public void removePressManipulator(int modifiers)

getPressManipulator

public Manipulator getPressManipulator(int modifiers)

processStimulus

public void processStimulus(java.util.Enumeration enumeration)

wakeup

public void wakeup()


Copyright © 1995-2004 net.jbeans. All Rights Reserved.