Top Description Fields Constructors Methods
org.lwjgl.opengl

pack-priv final Class LinuxEvent

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer

Wrapper class for X11 events.
Author
elias_naur
Version
$Revision: 2286 $ $Id: LinuxPeerInfo.java 2286 2006-03-23 19:32:21Z matzon $

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
private static native ByteBuffer
public boolean
filterEvent(long window)

public int
public long
public int
public long
public int
public int
public int
public int
public int
public int
getClientData(int index)

public int
public long
public int
public int
public long
public int
public int
public long
public int
public static native int
getPending(long display)

public int
public long
public void
nextEvent(long display)

private static native boolean
nFilterEvent(ByteBuffer event_buffer, long window)

private static native int
private static native long
nGetButtonRoot(ByteBuffer event_buffer)

private static native int
private static native long
nGetButtonTime(ByteBuffer event_buffer)

private static native int
nGetButtonType(ByteBuffer event_buffer)

private static native int
nGetButtonX(ByteBuffer event_buffer)

private static native int
private static native int
nGetButtonY(ByteBuffer event_buffer)

private static native int
private static native int
nGetClientData(ByteBuffer event_buffer, int index)

private static native int
private static native long
private static native int
private static native int
nGetFocusMode(ByteBuffer event_buffer)

private static native long
nGetKeyAddress(ByteBuffer event_buffer)

private static native int
nGetKeyKeyCode(ByteBuffer event_buffer)

private static native int
nGetKeyState(ByteBuffer event_buffer)

private static native int
nGetKeyTime(ByteBuffer event_buffer)

private static native int
nGetKeyType(ByteBuffer event_buffer)

private static native int
nGetType(ByteBuffer event_buffer)

private static native long
nGetWindow(ByteBuffer event_buffer)

private static native void
nNextEvent(long display, ByteBuffer event_buffer)

private static native void
nSendEvent(ByteBuffer event_buffer, long display, long window, boolean propagate, long event_mask)

private static native void
nSetWindow(ByteBuffer event_buffer, long window)

public void
sendEvent(long display, long window, boolean propagate, long event_mask)

public void
setWindow(long window)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ButtonPressback to summary
public static final int ButtonPress
ButtonReleaseback to summary
public static final int ButtonRelease
ClientMessageback to summary
public static final int ClientMessage
ConfigureNotifyback to summary
public static final int ConfigureNotify
EnterNotifyback to summary
public static final int EnterNotify
event_bufferback to summary
private final ByteBuffer event_buffer
Exposeback to summary
public static final int Expose
FocusInback to summary
public static final int FocusIn
FocusOutback to summary
public static final int FocusOut
KeyPressback to summary
public static final int KeyPress
KeyReleaseback to summary
public static final int KeyRelease
LeaveNotifyback to summary
public static final int LeaveNotify
MapNotifyback to summary
public static final int MapNotify
MotionNotifyback to summary
public static final int MotionNotify
UnmapNotifyback to summary
public static final int UnmapNotify

Constructor Detail

LinuxEventback to summary
pack-priv LinuxEvent()

Method Detail

copyFromback to summary
public void copyFrom(LinuxEvent event)
createEventBufferback to summary
private static native ByteBuffer createEventBuffer()
filterEventback to summary
public boolean filterEvent(long window)
getButtonButtonback to summary
public int getButtonButton()
getButtonRootback to summary
public long getButtonRoot()
getButtonStateback to summary
public int getButtonState()
getButtonTimeback to summary
public long getButtonTime()
getButtonTypeback to summary
public int getButtonType()
getButtonXback to summary
public int getButtonX()
getButtonXRootback to summary
public int getButtonXRoot()
getButtonYback to summary
public int getButtonY()
getButtonYRootback to summary
public int getButtonYRoot()
getClientDataback to summary
public int getClientData(int index)
getClientFormatback to summary
public int getClientFormat()
getClientMessageTypeback to summary
public long getClientMessageType()
getFocusDetailback to summary
public int getFocusDetail()
getFocusModeback to summary
public int getFocusMode()
getKeyAddressback to summary
public long getKeyAddress()
getKeyKeyCodeback to summary
public int getKeyKeyCode()
getKeyStateback to summary
public int getKeyState()
getKeyTimeback to summary
public long getKeyTime()
getKeyTypeback to summary
public int getKeyType()
getPendingback to summary
public static native int getPending(long display)
getTypeback to summary
public int getType()
getWindowback to summary
public long getWindow()
nextEventback to summary
public void nextEvent(long display)
nFilterEventback to summary
private static native boolean nFilterEvent(ByteBuffer event_buffer, long window)
nGetButtonButtonback to summary
private static native int nGetButtonButton(ByteBuffer event_buffer)
nGetButtonRootback to summary
private static native long nGetButtonRoot(ByteBuffer event_buffer)
nGetButtonStateback to summary
private static native int nGetButtonState(ByteBuffer event_buffer)
nGetButtonTimeback to summary
private static native long nGetButtonTime(ByteBuffer event_buffer)
nGetButtonTypeback to summary
private static native int nGetButtonType(ByteBuffer event_buffer)
nGetButtonXback to summary
private static native int nGetButtonX(ByteBuffer event_buffer)
nGetButtonXRootback to summary
private static native int nGetButtonXRoot(ByteBuffer event_buffer)
nGetButtonYback to summary
private static native int nGetButtonY(ByteBuffer event_buffer)
nGetButtonYRootback to summary
private static native int nGetButtonYRoot(ByteBuffer event_buffer)
nGetClientDataback to summary
private static native int nGetClientData(ByteBuffer event_buffer, int index)
nGetClientFormatback to summary
private static native int nGetClientFormat(ByteBuffer event_buffer)
nGetClientMessageTypeback to summary
private static native long nGetClientMessageType(ByteBuffer event_buffer)
nGetFocusDetailback to summary
private static native int nGetFocusDetail(ByteBuffer event_buffer)
nGetFocusModeback to summary
private static native int nGetFocusMode(ByteBuffer event_buffer)
nGetKeyAddressback to summary
private static native long nGetKeyAddress(ByteBuffer event_buffer)
nGetKeyKeyCodeback to summary
private static native int nGetKeyKeyCode(ByteBuffer event_buffer)
nGetKeyStateback to summary
private static native int nGetKeyState(ByteBuffer event_buffer)
nGetKeyTimeback to summary
private static native int nGetKeyTime(ByteBuffer event_buffer)
nGetKeyTypeback to summary
private static native int nGetKeyType(ByteBuffer event_buffer)
nGetTypeback to summary
private static native int nGetType(ByteBuffer event_buffer)
nGetWindowback to summary
private static native long nGetWindow(ByteBuffer event_buffer)
nNextEventback to summary
private static native void nNextEvent(long display, ByteBuffer event_buffer)
nSendEventback to summary
private static native void nSendEvent(ByteBuffer event_buffer, long display, long window, boolean propagate, long event_mask)
nSetWindowback to summary
private static native void nSetWindow(ByteBuffer event_buffer, long window)
sendEventback to summary
public void sendEvent(long display, long window, boolean propagate, long event_mask)
setWindowback to summary
public void setWindow(long window)