public final class WakeupOnViewPlatformExit extends WakeupCriterion
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
BOUNDSEXIT_IN_BS_LIST |
(package private) static int |
COND_IN_BS_LIST |
(package private) Bounds |
region |
(package private) static int |
TOTAL_INDEXED_UNORDER_SET_TYPES |
(package private) Bounds |
transformedRegion
Transformed region
|
(package private) ViewPlatformRetained |
triggeredVP
ViewPlatform that triggered this wakeup condition.
|
triggeredALL_ELEMENTS, allEnum, behav, conditionMet, id, listIdx, parent, trigEnum, TRIGGERED_ELEMENTS| Constructor and Description |
|---|
WakeupOnViewPlatformExit(Bounds region)
Constructs a new WakeupOnExit criterion.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addBehaviorCondition(BehaviorStructure bs)
This is a callback from BehaviorStructure.
|
Bounds |
getBounds()
Returns this object's bounds specification
|
ViewPlatform |
getTriggeringViewPlatform()
Retrieves the ViewPlatform node that caused the wakeup.
|
(package private) void |
removeBehaviorCondition(BehaviorStructure bs)
This is a callback from BehaviorStructure.
|
(package private) void |
resetBehaviorCondition(BehaviorStructure bs)
Perform task in addBehaviorCondition() that has to be
set every time the condition met.
|
(package private) void |
updateTransformRegion(BehaviorRetained b)
Update the cached Transfrom Region, call from BehaviorStructure
when TRANSFORM_CHANGED message get.
|
buildTree, cleanTree, hasTriggered, resetTree, setTriggeredallElements, reInsertElapseTimeCond, setConditionMet, triggeredElementsstatic final int COND_IN_BS_LIST
static final int BOUNDSEXIT_IN_BS_LIST
static final int TOTAL_INDEXED_UNORDER_SET_TYPES
Bounds region
Bounds transformedRegion
ViewPlatformRetained triggeredVP
public WakeupOnViewPlatformExit(Bounds region)
region - the region that will trigger a wakeup if a ViewPlatform
no longer intersects.public Bounds getBounds()
public ViewPlatform getTriggeringViewPlatform()
java.lang.IllegalStateException - if not called from within
a behavior's processStimulus method that was awoken by a
view platform exit.void updateTransformRegion(BehaviorRetained b)
void addBehaviorCondition(BehaviorStructure bs)
addBehaviorCondition in class WakeupCriterionvoid removeBehaviorCondition(BehaviorStructure bs)
removeBehaviorCondition in class WakeupCriterionvoid resetBehaviorCondition(BehaviorStructure bs)
resetBehaviorCondition in class WakeupCriterionCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.