| |
|
| java.lang.Object javax.media.j3d.WakeupCondition javax.media.j3d.WakeupCriterion javax.media.j3d.WakeupOnBehaviorPost
WakeupOnBehaviorPost | final public class WakeupOnBehaviorPost extends WakeupCriterion (Code) | | Class that specifies a Behavior wakeup when a specific behavior object
posts a specific event
|
COND_IN_BS_LIST | final static int COND_IN_BS_LIST(Code) | | |
TOTAL_INDEXED_UNORDER_SET_TYPES | final static int TOTAL_INDEXED_UNORDER_SET_TYPES(Code) | | |
armingBehaviortriggeringBehavior | Behavior armingBehaviortriggeringBehavior(Code) | | |
posttriggeringPost | int posttriggeringPost(Code) | | |
WakeupOnBehaviorPost | public WakeupOnBehaviorPost(Behavior behavior, int postId)(Code) | | Constructs a new WakeupOnBehaviorPost criterion. A behavior of null
specifies a wakeup from any behavior on the specified postId. A postId
of 0 specifies a wakeup on any postId from the specified behavior.
A behavior of null AND a postId of 0 specify a wakeup on any postId
from any behavior.
Parameters: behavior - the behavior that must be the source of the post, if behavior == null, then any behavior posting the postId will causethe wakeup. Parameters: postId - the postId that will trigger a wakeup if posted by thespecified behavior, if postId == 0, then any post by the specifiedbehavior will cause the wakeup. |
addBehaviorCondition | void addBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to add wakeupCondition to behavior structure.
|
getBehavior | public Behavior getBehavior()(Code) | | Returns the behavior specified in this object's constructor.
the arming behavior |
getPostId | public int getPostId()(Code) | | Retrieve the WakeupCriterion's specified postId
the post id specified in this object's construction. |
getTriggeringBehavior | public Behavior getTriggeringBehavior()(Code) | | Returns the behavior that triggered this wakeup. If the arming
behavior used to construct this object was not null, then the
triggering behavior will be the same as the arming behavior.
|
getTriggeringPostId | public int getTriggeringPostId()(Code) | | Returns the postId that caused the behavior to wakeup. If the postId
used to construct this wakeup criterion was not zero, then the
triggering postId will always be equal to the postId used in the
constructor.
|
removeBehaviorCondition | void removeBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to remove wakeupCondition from behavior structure.
|
resetBehaviorCondition | void resetBehaviorCondition(BehaviorStructure bs)(Code) | | Perform task in addBehaviorCondition() that has to be
set every time the condition met.
|
Fields inherited from javax.media.j3d.WakeupCriterion | boolean triggered(Code)(Java Doc)
|
|
|
|