| |
|
| java.lang.Object javax.media.j3d.WakeupCondition javax.media.j3d.WakeupCriterion javax.media.j3d.WakeupOnAWTEvent
WakeupOnAWTEvent | final public class WakeupOnAWTEvent extends WakeupCriterion (Code) | | Class that specifies a Behavior wakeup when a specific AWT event occurs.
|
Constructor Summary | |
public | WakeupOnAWTEvent(int AWTId) Constructs a new WakeupOnAWTEvent object that informs the Java 3D
scheduler to wake up the specified Behavior object whenever the
specified AWT event occurs. | public | WakeupOnAWTEvent(long eventMask) Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values. |
COND_IN_BS_LIST | final static int COND_IN_BS_LIST(Code) | | |
EventMask | long EventMask(Code) | | |
TOTAL_INDEXED_UNORDER_SET_TYPES | final static int TOTAL_INDEXED_UNORDER_SET_TYPES(Code) | | |
enableAWTEventTS | long enableAWTEventTS(Code) | | |
WakeupOnAWTEvent | public WakeupOnAWTEvent(int AWTId)(Code) | | Constructs a new WakeupOnAWTEvent object that informs the Java 3D
scheduler to wake up the specified Behavior object whenever the
specified AWT event occurs.
Parameters: AWTId - the AWT ids that this behavior wishes to intercept |
WakeupOnAWTEvent | public WakeupOnAWTEvent(long eventMask)(Code) | | Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.
Parameters: eventMask - the AWT EVENT_MASK values Ored together |
addAWTEvent | void addAWTEvent(AWTEvent event)(Code) | | Sets the AWT event that will cause a behavior wakeup.
Parameters: event - The event causing this wakeup |
addBehaviorCondition | void addBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to add wakeupCondition to behavior structure.
|
getAWTEvent | public AWTEvent[] getAWTEvent()(Code) | | Retrieves the array of consecutive AWT event that triggered this wakeup.
A value of null implies that this event was not the trigger for the
behavior wakeup.
either null (if not resposible for wakeup) or the array ofAWTEvents responsible for the wakeup. |
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)
|
|
|
|