All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.WakeupOnBehaviorPost
java.lang.Object
|
+----java.media.j3d.WakeupCondition
|
+----java.media.j3d.WakeupCriterion
|
+----java.media.j3d.WakeupOnBehaviorPost
- public final class WakeupOnBehaviorPost
- extends WakeupCriterion
Class that specifies a Behavior wakeup when a specific behavior object
posts a specific event
-
WakeupOnBehaviorPost(Behavior, int)
- Constructs a new WakeupOnBehaviorPost criterion.
-
getPostId()
- Retrieve the WakeupCriterion's specified postId
WakeupOnBehaviorPost
public WakeupOnBehaviorPost(Behavior behavior,
int postId)
- 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.
- Parameters:
- behavior - the behavior that must be the source of the post,
if behavior == null, then any behavior posting the postId will cause
the wakeup.
- postId - the postId that will trigger a wakeup if posted by the
specified behavior, if postId == 0, then any post by the specified
behavior will cause the wakeup.
getPostId
public int getPostId()
- Retrieve the WakeupCriterion's specified postId
- Returns:
- the post id specified in this object's construction.
All Packages Class Hierarchy This Package Previous Next Index