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