public final class WakeupOnAWTEvent extends WakeupCriterion
Constructor | Description |
---|---|
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.
|
WakeupOnAWTEvent(long eventMask) |
Constructs a new WakeupOnAWTEvent using Ored EVENT_MASK values.
|
Modifier and Type | Method | Description |
---|---|---|
java.awt.AWTEvent[] |
getAWTEvent() |
Retrieves the array of consecutive AWT event that triggered this wakeup.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allElements, triggeredElements
hasTriggered
public WakeupOnAWTEvent(int AWTId)
AWTId
- the AWT ids that this behavior wishes to interceptpublic WakeupOnAWTEvent(long eventMask)
eventMask
- the AWT EVENT_MASK values Ored togetherpublic java.awt.AWTEvent[] getAWTEvent()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.