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.


Constructor Index

 o WakeupOnAWTEvent(int)
Constructs a new WakeupOnAWTEvent.
 o WakeupOnAWTEvent(long)
Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.

Method Index

 o getAWTEvent()
Retrieves the array of consecutive AWT event that triggered this wakeup.

Constructors

 o WakeupOnAWTEvent
 public WakeupOnAWTEvent(int AwtId)
Constructs a new WakeupOnAWTEvent.

Parameters:
AwtId - the AWT ids that this behavior wishes to intercept.
 o WakeupOnAWTEvent
 public WakeupOnAWTEvent(long EventMask)
Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.

Parameters:
EventMask - the AWT EVENT_MASK values Ored together.

Methods

 o 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