Top Fields Constructors Methods
org.lwjgl.opengl

pack-priv Class EventQueue

extends Object
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.MacOSXNativeKeyboard, org.lwjgl.opengl.MacOSXNativeMouse, org.lwjgl.opengl.MouseEventQueue, org.lwjgl.opengl.KeyboardEventQueue
Imports
java.nio.ByteBuffer

Field Summary

Modifier and TypeField and Description
private final int
private final ByteBuffer
private static final int

Constructor Summary

AccessConstructor and Description
protected
EventQueue(int event_size)

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
public synchronized void
copyEvents(ByteBuffer dest)

Copy available events into the specified buffer.

public synchronized boolean

Returns:

true if the event fitted into the queue, false otherwise
putEvent
(ByteBuffer event)

Put an event into the queue.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

event_sizeback to summary
private final int event_size
queueback to summary
private final ByteBuffer queue
QUEUE_SIZEback to summary
private static final int QUEUE_SIZE

Constructor Detail

EventQueueback to summary
protected EventQueue(int event_size)

Method Detail

clearEventsback to summary
protected synchronized void clearEvents()
copyEventsback to summary
public synchronized void copyEvents(ByteBuffer dest)

Copy available events into the specified buffer.

putEventback to summary
public synchronized boolean putEvent(ByteBuffer event)

Put an event into the queue.

Returns:boolean

true if the event fitted into the queue, false otherwise