public class InteractiveBehavior extends Behavior
| Modifier and Type | Field and Description |
|---|---|
static double |
TWO_RAD |
protected DefaultUniverse |
univ |
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_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING| Constructor and Description |
|---|
InteractiveBehavior(DefaultUniverse univ)
Initializes a new InteractiveBehavior.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(KeyEvent e)
Process key events.
|
protected void |
doProcess(MouseEvent e)
Process mouse events.
|
List<InteractiveBehavior> |
getExternalBehaviors() |
void |
initialize() |
void |
processStimulus(Enumeration criteria) |
void |
setExternalBehaviours(List<InteractiveBehavior> bs) |
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOncloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toStringprotected final DefaultUniverse univ
public static final double TWO_RAD
public InteractiveBehavior(DefaultUniverse univ)
univ - public void setExternalBehaviours(List<InteractiveBehavior> bs)
public List<InteractiveBehavior> getExternalBehaviors()
public void initialize()
initialize in class BehaviorBehavior.initializepublic void processStimulus(Enumeration criteria)
processStimulus in class BehaviorBehavior.processStimulusprotected void doProcess(KeyEvent e)
e - protected void doProcess(MouseEvent e)
e - Copyright © 2015–2021 Fiji. All rights reserved.