javax.media.j3d
Class WakeupOnDeactivation
java.lang.Object
javax.media.j3d.WakeupCondition
javax.media.j3d.WakeupCriterion
javax.media.j3d.WakeupOnDeactivation
public final class WakeupOnDeactivation
- extends WakeupCriterion
Class specifying a wakeup on first detection of a Viewplatform's
activation volume no longer intersecting with this object's scheduling
region. This gives the behavior an explicit means of executing code
when it is deactivated.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COND_IN_BS_LIST
static final int COND_IN_BS_LIST
- See Also:
- Constant Field Values
TOTAL_INDEXED_UNORDER_SET_TYPES
static final int TOTAL_INDEXED_UNORDER_SET_TYPES
- See Also:
- Constant Field Values
WakeupOnDeactivation
public WakeupOnDeactivation()
- Constructs a new WakeupOnDeactivation criterion.
setTriggered
void setTriggered()
- Set the Criterion's trigger flag to true.
No need to check for scheduling region in this case
- Overrides:
setTriggered
in class WakeupCriterion
addBehaviorCondition
void addBehaviorCondition(BehaviorStructure bs)
- This is a callback from BehaviorStructure. It is
used to add wakeupCondition to behavior structure.
- Specified by:
addBehaviorCondition
in class WakeupCriterion
removeBehaviorCondition
void removeBehaviorCondition(BehaviorStructure bs)
- This is a callback from BehaviorStructure. It is
used to remove wakeupCondition from behavior structure.
- Specified by:
removeBehaviorCondition
in class WakeupCriterion
resetBehaviorCondition
void resetBehaviorCondition(BehaviorStructure bs)
- Perform task in addBehaviorCondition() that has to be
set every time the condition met.
- Specified by:
resetBehaviorCondition
in class WakeupCriterion
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.