ffe.behaviors
Class EventDispatch
java.lang.Object
javax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Leaf
javax.media.j3d.Behavior
ffe.behaviors.EventDispatch
- public class EventDispatch
- extends javax.media.j3d.Behavior
The EventDispatch class listens for mouse events over the Java3D canvas, dispatching work
to more specialized classes.
| 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 |
EventDispatch(MainPanel f,
Graphics3D g,
GlobalAxis n,
com.sun.j3d.utils.universe.SimpleUniverse u,
javax.media.j3d.Bounds b,
javax.media.j3d.BranchGroup root,
javax.media.j3d.TransformGroup tg)
|
| 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 |
ROTATEPOST
public static int ROTATEPOST
TRANSLATEPOST
public static int TRANSLATEPOST
BEHAVIORDONEPOST
public static int BEHAVIORDONEPOST
EventDispatch
public EventDispatch(MainPanel f,
Graphics3D g,
GlobalAxis n,
com.sun.j3d.utils.universe.SimpleUniverse u,
javax.media.j3d.Bounds b,
javax.media.j3d.BranchGroup root,
javax.media.j3d.TransformGroup tg)
processMouseEvent
public void processMouseEvent(java.awt.event.MouseEvent evt)
processStimulus
public void processStimulus(java.util.Enumeration criteria)
initialize
public void initialize()
centerView
public void centerView(boolean resetRotation,
boolean resetTranslation,
boolean resetZoom)
setGlobalCenter
public void setGlobalCenter(double[] d)