All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.WakeupOnAWTEvent
java.lang.Object
|
+----java.media.j3d.WakeupCondition
|
+----java.media.j3d.WakeupCriterion
|
+----java.media.j3d.WakeupOnAWTEvent
- public final class WakeupOnAWTEvent
- extends WakeupCriterion
Class that specifies a Behavior wakeup when a specific AWT event occurs.
-
WakeupOnAWTEvent(int)
- Constructs a new WakeupOnAWTEvent.
-
WakeupOnAWTEvent(long)
- Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.
-
getAWTEvent()
- Retrieves the array of consecutive AWT event that triggered this wakeup.
WakeupOnAWTEvent
public WakeupOnAWTEvent(int AwtId)
- Constructs a new WakeupOnAWTEvent.
- Parameters:
- AwtId - the AWT ids that this behavior wishes to intercept.
WakeupOnAWTEvent
public WakeupOnAWTEvent(long EventMask)
- Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.
- Parameters:
- EventMask - the AWT EVENT_MASK values Ored together.
getAWTEvent
public AWTEvent[] getAWTEvent()
- 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.
- Returns:
- either null (if not resposible for wakeup) or the array of
AWTEvents responsible for the wakeup.
All Packages Class Hierarchy This Package Previous Next Index