Top Description Fields Constructors Methods
jogamp.newt.event

public Class NEWTEventTask

extends Object
Class Inheritance
Imports
com.jogamp.newt.event.NEWTEvent

Helper class to provide a NEWTEvent queue implementation with a NEWTEvent wrapper which notifies after sending the event for the invokeAndWait() semantics.

Field Summary

Modifier and TypeField and Description
private volatile boolean
private final NEWTEvent
private RuntimeException
private final Object

Constructor Summary

AccessConstructor and Description
public
NEWTEventTask(final NEWTEvent event, final Object notifyObject)

Method Summary

Modifier and TypeMethod and Description
public final NEWTEvent
get()

public final RuntimeException
public final boolean
public final boolean
public void
notifyCaller()

Notifies caller after setDispatched().

public final void
public final void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dispatchedback to summary
private volatile boolean dispatched
eventback to summary
private final NEWTEvent event
exceptionback to summary
private RuntimeException exception
notifyObjectback to summary
private final Object notifyObject

Constructor Detail

NEWTEventTaskback to summary
public NEWTEventTask(final NEWTEvent event, final Object notifyObject)

Method Detail

getback to summary
public final NEWTEvent get()
getExceptionback to summary
public final RuntimeException getException()
isCallerWaitingback to summary
public final boolean isCallerWaiting()
isDispatchedback to summary
public final boolean isDispatched()
notifyCallerback to summary
public void notifyCaller()

Notifies caller after setDispatched().

setDispatchedback to summary
public final void setDispatched()
setExceptionback to summary
public final void setException(final RuntimeException e)