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>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XEvent
public static class XEvent.Buffer extends org.lwjgl.system.StructBuffer<XEvent,XEvent.Buffer> implements org.lwjgl.system.NativeResource
An array ofXEventstructs.
-
-
Method Summary
-
-
-
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 the
typefield.
-
xbutton
public XButtonEvent xbutton()
- Returns:
- a
XButtonEventview of thexbuttonfield.
-
xmotion
public XMotionEvent xmotion()
- Returns:
- a
XMotionEventview of thexmotionfield.
-
xcrossing
public XCrossingEvent xcrossing()
- Returns:
- a
XCrossingEventview of thexcrossingfield.
-
xfocus
public XFocusChangeEvent xfocus()
- Returns:
- a
XFocusChangeEventview of thexfocusfield.
-
xexpose
public XExposeEvent xexpose()
- Returns:
- a
XExposeEventview of thexexposefield.
-
xgraphicsexpose
public XGraphicsExposeEvent xgraphicsexpose()
- Returns:
- a
XGraphicsExposeEventview of thexgraphicsexposefield.
-
xnoexpose
public XNoExposeEvent xnoexpose()
- Returns:
- a
XNoExposeEventview of thexnoexposefield.
-
xvisibility
public XVisibilityEvent xvisibility()
- Returns:
- a
XVisibilityEventview of thexvisibilityfield.
-
xcreatewindow
public XCreateWindowEvent xcreatewindow()
- Returns:
- a
XCreateWindowEventview of thexcreatewindowfield.
-
xdestroywindow
public XDestroyWindowEvent xdestroywindow()
- Returns:
- a
XDestroyWindowEventview of thexdestroywindowfield.
-
xunmap
public XUnmapEvent xunmap()
- Returns:
- a
XUnmapEventview of thexunmapfield.
-
xmaprequest
public XMapRequestEvent xmaprequest()
- Returns:
- a
XMapRequestEventview of thexmaprequestfield.
-
xreparent
public XReparentEvent xreparent()
- Returns:
- a
XReparentEventview of thexreparentfield.
-
xconfigure
public XConfigureEvent xconfigure()
- Returns:
- a
XConfigureEventview of thexconfigurefield.
-
xgravity
public XGravityEvent xgravity()
- Returns:
- a
XGravityEventview of thexgravityfield.
-
xresizerequest
public XResizeRequestEvent xresizerequest()
- Returns:
- a
XResizeRequestEventview of thexresizerequestfield.
-
xconfigurerequest
public XConfigureRequestEvent xconfigurerequest()
- Returns:
- a
XConfigureRequestEventview of thexconfigurerequestfield.
-
xcirculate
public XCirculateEvent xcirculate()
- Returns:
- a
XCirculateEventview of thexcirculatefield.
-
xcirculaterequest
public XCirculateRequestEvent xcirculaterequest()
- Returns:
- a
XCirculateRequestEventview of thexcirculaterequestfield.
-
xproperty
public XPropertyEvent xproperty()
- Returns:
- a
XPropertyEventview of thexpropertyfield.
-
xselectionclear
public XSelectionClearEvent xselectionclear()
- Returns:
- a
XSelectionClearEventview of thexselectionclearfield.
-
xselectionrequest
public XSelectionRequestEvent xselectionrequest()
- Returns:
- a
XSelectionRequestEventview of thexselectionrequestfield.
-
xselection
public XSelectionEvent xselection()
- Returns:
- a
XSelectionEventview of thexselectionfield.
-
xcolormap
public XColormapEvent xcolormap()
- Returns:
- a
XColormapEventview of thexcolormapfield.
-
xclient
public XClientMessageEvent xclient()
- Returns:
- a
XClientMessageEventview of thexclientfield.
-
xmapping
public XMappingEvent xmapping()
- Returns:
- a
XMappingEventview of thexmappingfield.
-
xerror
public XErrorEvent xerror()
- Returns:
- a
XErrorEventview of thexerrorfield.
-
xkeymap
public XKeymapEvent xkeymap()
- Returns:
- a
XKeymapEventview of thexkeymapfield.
-
xgeneric
public XGenericEvent xgeneric()
- Returns:
- a
XGenericEventview of thexgenericfield.
-
xcookie
public XGenericEventCookie xcookie()
- Returns:
- a
XGenericEventCookieview of thexcookiefield.
-
-