Package org.lwjgl.system.linux
Class XEvent.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<XEvent>,NativeResource,Pointer
- Enclosing class:
XEvent
public static class XEvent.Buffer
extends StructBuffer<XEvent,XEvent.Buffer>
implements NativeResource
An array of
XEvent structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newXEvent.Bufferinstance backed by the specified container. -
Method Summary
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newXEvent.Bufferinstance 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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
type
public int type()- Returns:
- the value of the
typefield.
-
xany
- Returns:
- a
XAnyEventview of thexanyfield.
-
xkey
- Returns:
- a
XKeyEventview of thexkeyfield.
-
xbutton
- Returns:
- a
XButtonEventview of thexbuttonfield.
-
xmotion
- Returns:
- a
XMotionEventview of thexmotionfield.
-
xcrossing
- Returns:
- a
XCrossingEventview of thexcrossingfield.
-
xfocus
- Returns:
- a
XFocusChangeEventview of thexfocusfield.
-
xexpose
- Returns:
- a
XExposeEventview of thexexposefield.
-
xgraphicsexpose
- Returns:
- a
XGraphicsExposeEventview of thexgraphicsexposefield.
-
xnoexpose
- Returns:
- a
XNoExposeEventview of thexnoexposefield.
-
xvisibility
- Returns:
- a
XVisibilityEventview of thexvisibilityfield.
-
xcreatewindow
- Returns:
- a
XCreateWindowEventview of thexcreatewindowfield.
-
xdestroywindow
- Returns:
- a
XDestroyWindowEventview of thexdestroywindowfield.
-
xunmap
- Returns:
- a
XUnmapEventview of thexunmapfield.
-
xmap
- Returns:
- a
XMapEventview of thexmapfield.
-
xmaprequest
- Returns:
- a
XMapRequestEventview of thexmaprequestfield.
-
xreparent
- Returns:
- a
XReparentEventview of thexreparentfield.
-
xconfigure
- Returns:
- a
XConfigureEventview of thexconfigurefield.
-
xgravity
- Returns:
- a
XGravityEventview of thexgravityfield.
-
xresizerequest
- Returns:
- a
XResizeRequestEventview of thexresizerequestfield.
-
xconfigurerequest
- Returns:
- a
XConfigureRequestEventview of thexconfigurerequestfield.
-
xcirculate
- Returns:
- a
XCirculateEventview of thexcirculatefield.
-
xcirculaterequest
- Returns:
- a
XCirculateRequestEventview of thexcirculaterequestfield.
-
xproperty
- Returns:
- a
XPropertyEventview of thexpropertyfield.
-
xselectionclear
- Returns:
- a
XSelectionClearEventview of thexselectionclearfield.
-
xselectionrequest
- Returns:
- a
XSelectionRequestEventview of thexselectionrequestfield.
-
xselection
- Returns:
- a
XSelectionEventview of thexselectionfield.
-
xcolormap
- Returns:
- a
XColormapEventview of thexcolormapfield.
-
xclient
- Returns:
- a
XClientMessageEventview of thexclientfield.
-
xmapping
- Returns:
- a
XMappingEventview of thexmappingfield.
-
xerror
- Returns:
- a
XErrorEventview of thexerrorfield.
-
xkeymap
- Returns:
- a
XKeymapEventview of thexkeymapfield.
-
xgeneric
- Returns:
- a
XGenericEventview of thexgenericfield.
-
xcookie
- Returns:
- a
XGenericEventCookieview of thexcookiefield.
-