Package org.lwjgl.system.linux
Class XEvent.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XEvent,XEvent.Buffer>
-
- org.lwjgl.system.linux.XEvent.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XEvent>,NativeResource,Pointer
- Enclosing class:
- XEvent
public static class XEvent.Buffer extends StructBuffer<XEvent,XEvent.Buffer> implements NativeResource
An array ofXEventstructs.
-
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inttype()Returns the value of thetypefield.XAnyEventxany()Returns aXAnyEventview of thexanyfield.XButtonEventxbutton()Returns aXButtonEventview of thexbuttonfield.XCirculateEventxcirculate()Returns aXCirculateEventview of thexcirculatefield.XCirculateRequestEventxcirculaterequest()Returns aXCirculateRequestEventview of thexcirculaterequestfield.XClientMessageEventxclient()Returns aXClientMessageEventview of thexclientfield.XColormapEventxcolormap()Returns aXColormapEventview of thexcolormapfield.XConfigureEventxconfigure()Returns aXConfigureEventview of thexconfigurefield.XConfigureRequestEventxconfigurerequest()Returns aXConfigureRequestEventview of thexconfigurerequestfield.XGenericEventCookiexcookie()Returns aXGenericEventCookieview of thexcookiefield.XCreateWindowEventxcreatewindow()Returns aXCreateWindowEventview of thexcreatewindowfield.XCrossingEventxcrossing()Returns aXCrossingEventview of thexcrossingfield.XDestroyWindowEventxdestroywindow()Returns aXDestroyWindowEventview of thexdestroywindowfield.XErrorEventxerror()Returns aXErrorEventview of thexerrorfield.XExposeEventxexpose()Returns aXExposeEventview of thexexposefield.XFocusChangeEventxfocus()Returns aXFocusChangeEventview of thexfocusfield.XGenericEventxgeneric()Returns aXGenericEventview of thexgenericfield.XGraphicsExposeEventxgraphicsexpose()Returns aXGraphicsExposeEventview of thexgraphicsexposefield.XGravityEventxgravity()Returns aXGravityEventview of thexgravityfield.XKeyEventxkey()Returns aXKeyEventview of thexkeyfield.XKeymapEventxkeymap()Returns aXKeymapEventview of thexkeymapfield.XMapEventxmap()Returns aXMapEventview of thexmapfield.XMappingEventxmapping()Returns aXMappingEventview of thexmappingfield.XMapRequestEventxmaprequest()Returns aXMapRequestEventview of thexmaprequestfield.XMotionEventxmotion()Returns aXMotionEventview of thexmotionfield.XNoExposeEventxnoexpose()Returns aXNoExposeEventview of thexnoexposefield.XPropertyEventxproperty()Returns aXPropertyEventview of thexpropertyfield.XReparentEventxreparent()Returns aXReparentEventview of thexreparentfield.XResizeRequestEventxresizerequest()Returns aXResizeRequestEventview of thexresizerequestfield.XSelectionEventxselection()Returns aXSelectionEventview of thexselectionfield.XSelectionClearEventxselectionclear()Returns aXSelectionClearEventview of thexselectionclearfield.XSelectionRequestEventxselectionrequest()Returns aXSelectionRequestEventview of thexselectionrequestfield.XUnmapEventxunmap()Returns aXUnmapEventview of thexunmapfield.XVisibilityEventxvisibility()Returns aXVisibilityEventview of thexvisibilityfield.-
Methods 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, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
-
Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byXEvent.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 Detail
-
type
public int type()
Returns the value of thetypefield.
-
xbutton
public XButtonEvent xbutton()
Returns aXButtonEventview of thexbuttonfield.
-
xmotion
public XMotionEvent xmotion()
Returns aXMotionEventview of thexmotionfield.
-
xcrossing
public XCrossingEvent xcrossing()
Returns aXCrossingEventview of thexcrossingfield.
-
xfocus
public XFocusChangeEvent xfocus()
Returns aXFocusChangeEventview of thexfocusfield.
-
xexpose
public XExposeEvent xexpose()
Returns aXExposeEventview of thexexposefield.
-
xgraphicsexpose
public XGraphicsExposeEvent xgraphicsexpose()
Returns aXGraphicsExposeEventview of thexgraphicsexposefield.
-
xnoexpose
public XNoExposeEvent xnoexpose()
Returns aXNoExposeEventview of thexnoexposefield.
-
xvisibility
public XVisibilityEvent xvisibility()
Returns aXVisibilityEventview of thexvisibilityfield.
-
xcreatewindow
public XCreateWindowEvent xcreatewindow()
Returns aXCreateWindowEventview of thexcreatewindowfield.
-
xdestroywindow
public XDestroyWindowEvent xdestroywindow()
Returns aXDestroyWindowEventview of thexdestroywindowfield.
-
xunmap
public XUnmapEvent xunmap()
Returns aXUnmapEventview of thexunmapfield.
-
xmaprequest
public XMapRequestEvent xmaprequest()
Returns aXMapRequestEventview of thexmaprequestfield.
-
xreparent
public XReparentEvent xreparent()
Returns aXReparentEventview of thexreparentfield.
-
xconfigure
public XConfigureEvent xconfigure()
Returns aXConfigureEventview of thexconfigurefield.
-
xgravity
public XGravityEvent xgravity()
Returns aXGravityEventview of thexgravityfield.
-
xresizerequest
public XResizeRequestEvent xresizerequest()
Returns aXResizeRequestEventview of thexresizerequestfield.
-
xconfigurerequest
public XConfigureRequestEvent xconfigurerequest()
Returns aXConfigureRequestEventview of thexconfigurerequestfield.
-
xcirculate
public XCirculateEvent xcirculate()
Returns aXCirculateEventview of thexcirculatefield.
-
xcirculaterequest
public XCirculateRequestEvent xcirculaterequest()
Returns aXCirculateRequestEventview of thexcirculaterequestfield.
-
xproperty
public XPropertyEvent xproperty()
Returns aXPropertyEventview of thexpropertyfield.
-
xselectionclear
public XSelectionClearEvent xselectionclear()
Returns aXSelectionClearEventview of thexselectionclearfield.
-
xselectionrequest
public XSelectionRequestEvent xselectionrequest()
Returns aXSelectionRequestEventview of thexselectionrequestfield.
-
xselection
public XSelectionEvent xselection()
Returns aXSelectionEventview of thexselectionfield.
-
xcolormap
public XColormapEvent xcolormap()
Returns aXColormapEventview of thexcolormapfield.
-
xclient
public XClientMessageEvent xclient()
Returns aXClientMessageEventview of thexclientfield.
-
xmapping
public XMappingEvent xmapping()
Returns aXMappingEventview of thexmappingfield.
-
xerror
public XErrorEvent xerror()
Returns aXErrorEventview of thexerrorfield.
-
xkeymap
public XKeymapEvent xkeymap()
Returns aXKeymapEventview of thexkeymapfield.
-
xgeneric
public XGenericEvent xgeneric()
Returns aXGenericEventview of thexgenericfield.
-
xcookie
public XGenericEventCookie xcookie()
Returns aXGenericEventCookieview of thexcookiefield.
-
-