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


Constructor Index

 o WakeupOnBehaviorPost(Behavior, int)
Constructs a new WakeupOnBehaviorPost criterion.

Method Index

 o getPostId()
Retrieve the WakeupCriterion's specified postId

Constructors

 o 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.

Methods

 o 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