|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.media.j3d.SceneGraphObject javax.media.j3d.Node javax.media.j3d.Leaf javax.media.j3d.Behavior com.sun.j3d.utils.picking.behaviors.PickMouseBehavior com.sun.j3d.utils.picking.behaviors.PickTranslateBehavior edu.uci.ics.jung.visualization3d.PickVertexBehavior<V,E>
public class PickVertexBehavior<V,E>
Field Summary |
---|
Fields inherited from class com.sun.j3d.utils.picking.behaviors.PickMouseBehavior |
---|
buttonPress, conditions, currGrp, debug, mevent, pickCanvas, wakeupCondition |
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 interface com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback |
---|
ROTATE, TRANSLATE, ZOOM |
Constructor Summary | |
---|---|
PickVertexBehavior(javax.media.j3d.BranchGroup root,
javax.media.j3d.Canvas3D canvas,
javax.media.j3d.Bounds bounds,
PickedState<V> pickedState)
|
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
|
void |
fireStateChanged()
|
ChangeListener[] |
getChangeListeners()
Returns an array of all the ChangeListener s added
with addChangeListener(). |
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener. |
void |
updateScene(int xpos,
int ypos)
|
Methods inherited from class com.sun.j3d.utils.picking.behaviors.PickTranslateBehavior |
---|
setupCallback, transformChanged |
Methods inherited from class com.sun.j3d.utils.picking.behaviors.PickMouseBehavior |
---|
getMode, getTolerance, initialize, processStimulus, setMode, setTolerance |
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 |
Constructor Detail |
---|
public PickVertexBehavior(javax.media.j3d.BranchGroup root, javax.media.j3d.Canvas3D canvas, javax.media.j3d.Bounds bounds, PickedState<V> pickedState)
Method Detail |
---|
public void updateScene(int xpos, int ypos)
updateScene
in class com.sun.j3d.utils.picking.behaviors.PickTranslateBehavior
public void addChangeListener(ChangeListener l)
addChangeListener
in interface ChangeEventSupport
public void fireStateChanged()
fireStateChanged
in interface ChangeEventSupport
public ChangeListener[] getChangeListeners()
ChangeEventSupport
ChangeListener
s added
with addChangeListener().
getChangeListeners
in interface ChangeEventSupport
ChangeListener
s added or an empty
array if no listeners have been addedpublic void removeChangeListener(ChangeListener l)
ChangeEventSupport
removeChangeListener
in interface ChangeEventSupport
l
- the listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |