public static class XSelectionEvent.Buffer extends org.lwjgl.system.StructBuffer<XSelectionEvent,XSelectionEvent.Buffer> implements org.lwjgl.system.NativeResource
XSelectionEvent structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
XSelectionEvent.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
display()
Returns the value of the
display field. |
XSelectionEvent.Buffer |
display(long value)
Sets the specified value to the
display field. |
long |
property()
Returns the value of the
property field. |
XSelectionEvent.Buffer |
property(long value)
Sets the specified value to the
property field. |
long |
requestor()
Returns the value of the
requestor field. |
XSelectionEvent.Buffer |
requestor(long value)
Sets the specified value to the
requestor field. |
long |
selection()
Returns the value of the
selection field. |
XSelectionEvent.Buffer |
selection(long value)
Sets the specified value to the
selection field. |
boolean |
send_event()
Returns the value of the
send_event field. |
XSelectionEvent.Buffer |
send_event(boolean value)
Sets the specified value to the
send_event field. |
long |
serial()
Returns the value of the
serial field. |
XSelectionEvent.Buffer |
serial(long value)
Sets the specified value to the
serial field. |
long |
target()
Returns the value of the
target field. |
XSelectionEvent.Buffer |
target(long value)
Sets the specified value to the
target field. |
long |
time()
Returns the value of the
time field. |
XSelectionEvent.Buffer |
time(long value)
Sets the specified value to the
time field. |
int |
type()
Returns the value of the
type field. |
XSelectionEvent.Buffer |
type(int value)
Sets the specified value to the
type field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
XSelectionEvent.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 XSelectionEvent.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 long serial()
serial field.public boolean send_event()
send_event field.public long display()
display field.public long requestor()
requestor field.public long selection()
selection field.public long target()
target field.public long property()
property field.public long time()
time field.public XSelectionEvent.Buffer type(int value)
type field.public XSelectionEvent.Buffer serial(long value)
serial field.public XSelectionEvent.Buffer send_event(boolean value)
send_event field.public XSelectionEvent.Buffer display(long value)
display field.public XSelectionEvent.Buffer requestor(long value)
requestor field.public XSelectionEvent.Buffer selection(long value)
selection field.public XSelectionEvent.Buffer target(long value)
target field.public XSelectionEvent.Buffer property(long value)
property field.public XSelectionEvent.Buffer time(long value)
time field.Copyright LWJGL. All Rights Reserved. License terms.