public final class WakeupOnAWTEvent extends WakeupCriterion
Constructor and 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 and Description |
---|---|
AWTEvent[] |
getAWTEvent()
Retrieves the array of consecutive AWT event that triggered this wakeup.
|
hasTriggered
allElements, triggeredElements
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 AWTEvent[] getAWTEvent()
Copyright © 2016–2022 SciJava. All rights reserved.