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 ofXEvent
structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXEvent.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 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
type
field.
-
xbutton
public XButtonEvent xbutton()
- Returns:
- a
XButtonEvent
view of thexbutton
field.
-
xmotion
public XMotionEvent xmotion()
- Returns:
- a
XMotionEvent
view of thexmotion
field.
-
xcrossing
public XCrossingEvent xcrossing()
- Returns:
- a
XCrossingEvent
view of thexcrossing
field.
-
xfocus
public XFocusChangeEvent xfocus()
- Returns:
- a
XFocusChangeEvent
view of thexfocus
field.
-
xexpose
public XExposeEvent xexpose()
- Returns:
- a
XExposeEvent
view of thexexpose
field.
-
xgraphicsexpose
public XGraphicsExposeEvent xgraphicsexpose()
- Returns:
- a
XGraphicsExposeEvent
view of thexgraphicsexpose
field.
-
xnoexpose
public XNoExposeEvent xnoexpose()
- Returns:
- a
XNoExposeEvent
view of thexnoexpose
field.
-
xvisibility
public XVisibilityEvent xvisibility()
- Returns:
- a
XVisibilityEvent
view of thexvisibility
field.
-
xcreatewindow
public XCreateWindowEvent xcreatewindow()
- Returns:
- a
XCreateWindowEvent
view of thexcreatewindow
field.
-
xdestroywindow
public XDestroyWindowEvent xdestroywindow()
- Returns:
- a
XDestroyWindowEvent
view of thexdestroywindow
field.
-
xunmap
public XUnmapEvent xunmap()
- Returns:
- a
XUnmapEvent
view of thexunmap
field.
-
xmaprequest
public XMapRequestEvent xmaprequest()
- Returns:
- a
XMapRequestEvent
view of thexmaprequest
field.
-
xreparent
public XReparentEvent xreparent()
- Returns:
- a
XReparentEvent
view of thexreparent
field.
-
xconfigure
public XConfigureEvent xconfigure()
- Returns:
- a
XConfigureEvent
view of thexconfigure
field.
-
xgravity
public XGravityEvent xgravity()
- Returns:
- a
XGravityEvent
view of thexgravity
field.
-
xresizerequest
public XResizeRequestEvent xresizerequest()
- Returns:
- a
XResizeRequestEvent
view of thexresizerequest
field.
-
xconfigurerequest
public XConfigureRequestEvent xconfigurerequest()
- Returns:
- a
XConfigureRequestEvent
view of thexconfigurerequest
field.
-
xcirculate
public XCirculateEvent xcirculate()
- Returns:
- a
XCirculateEvent
view of thexcirculate
field.
-
xcirculaterequest
public XCirculateRequestEvent xcirculaterequest()
- Returns:
- a
XCirculateRequestEvent
view of thexcirculaterequest
field.
-
xproperty
public XPropertyEvent xproperty()
- Returns:
- a
XPropertyEvent
view of thexproperty
field.
-
xselectionclear
public XSelectionClearEvent xselectionclear()
- Returns:
- a
XSelectionClearEvent
view of thexselectionclear
field.
-
xselectionrequest
public XSelectionRequestEvent xselectionrequest()
- Returns:
- a
XSelectionRequestEvent
view of thexselectionrequest
field.
-
xselection
public XSelectionEvent xselection()
- Returns:
- a
XSelectionEvent
view of thexselection
field.
-
xcolormap
public XColormapEvent xcolormap()
- Returns:
- a
XColormapEvent
view of thexcolormap
field.
-
xclient
public XClientMessageEvent xclient()
- Returns:
- a
XClientMessageEvent
view of thexclient
field.
-
xmapping
public XMappingEvent xmapping()
- Returns:
- a
XMappingEvent
view of thexmapping
field.
-
xerror
public XErrorEvent xerror()
- Returns:
- a
XErrorEvent
view of thexerror
field.
-
xkeymap
public XKeymapEvent xkeymap()
- Returns:
- a
XKeymapEvent
view of thexkeymap
field.
-
xgeneric
public XGenericEvent xgeneric()
- Returns:
- a
XGenericEvent
view of thexgeneric
field.
-
xcookie
public XGenericEventCookie xcookie()
- Returns:
- a
XGenericEventCookie
view of thexcookie
field.
-
-