public static class XEvent.Buffer extends org.lwjgl.system.StructBuffer<XEvent,XEvent.Buffer> implements org.lwjgl.system.NativeResource
XEvent structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
XEvent.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
type()
Returns the value of the
type field. |
XAnyEvent |
xany()
Returns a
XAnyEvent view of the xany field. |
XButtonEvent |
xbutton()
Returns a
XButtonEvent view of the xbutton field. |
XCirculateEvent |
xcirculate()
Returns a
XCirculateEvent view of the xcirculate field. |
XCirculateRequestEvent |
xcirculaterequest()
Returns a
XCirculateRequestEvent view of the xcirculaterequest field. |
XClientMessageEvent |
xclient()
Returns a
XClientMessageEvent view of the xclient field. |
XColormapEvent |
xcolormap()
Returns a
XColormapEvent view of the xcolormap field. |
XConfigureEvent |
xconfigure()
Returns a
XConfigureEvent view of the xconfigure field. |
XConfigureRequestEvent |
xconfigurerequest()
Returns a
XConfigureRequestEvent view of the xconfigurerequest field. |
XGenericEventCookie |
xcookie()
Returns a
XGenericEventCookie view of the xcookie field. |
XCreateWindowEvent |
xcreatewindow()
Returns a
XCreateWindowEvent view of the xcreatewindow field. |
XCrossingEvent |
xcrossing()
Returns a
XCrossingEvent view of the xcrossing field. |
XDestroyWindowEvent |
xdestroywindow()
Returns a
XDestroyWindowEvent view of the xdestroywindow field. |
XErrorEvent |
xerror()
Returns a
XErrorEvent view of the xerror field. |
XExposeEvent |
xexpose()
Returns a
XExposeEvent view of the xexpose field. |
XFocusChangeEvent |
xfocus()
Returns a
XFocusChangeEvent view of the xfocus field. |
XGenericEvent |
xgeneric()
Returns a
XGenericEvent view of the xgeneric field. |
XGraphicsExposeEvent |
xgraphicsexpose()
Returns a
XGraphicsExposeEvent view of the xgraphicsexpose field. |
XGravityEvent |
xgravity()
Returns a
XGravityEvent view of the xgravity field. |
XKeyEvent |
xkey()
Returns a
XKeyEvent view of the xkey field. |
XKeymapEvent |
xkeymap()
Returns a
XKeymapEvent view of the xkeymap field. |
XMapEvent |
xmap()
Returns a
XMapEvent view of the xmap field. |
XMappingEvent |
xmapping()
Returns a
XMappingEvent view of the xmapping field. |
XMapRequestEvent |
xmaprequest()
Returns a
XMapRequestEvent view of the xmaprequest field. |
XMotionEvent |
xmotion()
Returns a
XMotionEvent view of the xmotion field. |
XNoExposeEvent |
xnoexpose()
Returns a
XNoExposeEvent view of the xnoexpose field. |
XPropertyEvent |
xproperty()
Returns a
XPropertyEvent view of the xproperty field. |
XReparentEvent |
xreparent()
Returns a
XReparentEvent view of the xreparent field. |
XResizeRequestEvent |
xresizerequest()
Returns a
XResizeRequestEvent view of the xresizerequest field. |
XSelectionEvent |
xselection()
Returns a
XSelectionEvent view of the xselection field. |
XSelectionClearEvent |
xselectionclear()
Returns a
XSelectionClearEvent view of the xselectionclear field. |
XSelectionRequestEvent |
xselectionrequest()
Returns a
XSelectionRequestEvent view of the xselectionrequest field. |
XUnmapEvent |
xunmap()
Returns a
XUnmapEvent view of the xunmap field. |
XVisibilityEvent |
xvisibility()
Returns a
XVisibilityEvent view of the xvisibility field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
XEvent.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by XEvent.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int type()
type field.public XButtonEvent xbutton()
XButtonEvent view of the xbutton field.public XMotionEvent xmotion()
XMotionEvent view of the xmotion field.public XCrossingEvent xcrossing()
XCrossingEvent view of the xcrossing field.public XFocusChangeEvent xfocus()
XFocusChangeEvent view of the xfocus field.public XExposeEvent xexpose()
XExposeEvent view of the xexpose field.public XGraphicsExposeEvent xgraphicsexpose()
XGraphicsExposeEvent view of the xgraphicsexpose field.public XNoExposeEvent xnoexpose()
XNoExposeEvent view of the xnoexpose field.public XVisibilityEvent xvisibility()
XVisibilityEvent view of the xvisibility field.public XCreateWindowEvent xcreatewindow()
XCreateWindowEvent view of the xcreatewindow field.public XDestroyWindowEvent xdestroywindow()
XDestroyWindowEvent view of the xdestroywindow field.public XUnmapEvent xunmap()
XUnmapEvent view of the xunmap field.public XMapRequestEvent xmaprequest()
XMapRequestEvent view of the xmaprequest field.public XReparentEvent xreparent()
XReparentEvent view of the xreparent field.public XConfigureEvent xconfigure()
XConfigureEvent view of the xconfigure field.public XGravityEvent xgravity()
XGravityEvent view of the xgravity field.public XResizeRequestEvent xresizerequest()
XResizeRequestEvent view of the xresizerequest field.public XConfigureRequestEvent xconfigurerequest()
XConfigureRequestEvent view of the xconfigurerequest field.public XCirculateEvent xcirculate()
XCirculateEvent view of the xcirculate field.public XCirculateRequestEvent xcirculaterequest()
XCirculateRequestEvent view of the xcirculaterequest field.public XPropertyEvent xproperty()
XPropertyEvent view of the xproperty field.public XSelectionClearEvent xselectionclear()
XSelectionClearEvent view of the xselectionclear field.public XSelectionRequestEvent xselectionrequest()
XSelectionRequestEvent view of the xselectionrequest field.public XSelectionEvent xselection()
XSelectionEvent view of the xselection field.public XColormapEvent xcolormap()
XColormapEvent view of the xcolormap field.public XClientMessageEvent xclient()
XClientMessageEvent view of the xclient field.public XMappingEvent xmapping()
XMappingEvent view of the xmapping field.public XErrorEvent xerror()
XErrorEvent view of the xerror field.public XKeymapEvent xkeymap()
XKeymapEvent view of the xkeymap field.public XGenericEvent xgeneric()
XGenericEvent view of the xgeneric field.public XGenericEventCookie xcookie()
XGenericEventCookie view of the xcookie field.Copyright LWJGL. All Rights Reserved. License terms.