Package org.lwjgl.system.linux
Class XKeyEvent.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XKeyEvent,XKeyEvent.Buffer>
-
- org.lwjgl.system.linux.XKeyEvent.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<XKeyEvent>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- XKeyEvent
public static class XKeyEvent.Buffer extends org.lwjgl.system.StructBuffer<XKeyEvent,XKeyEvent.Buffer> implements org.lwjgl.system.NativeResource
An array ofXKeyEvent
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
display()
XKeyEvent.Buffer
display(long value)
Sets the specified value to theXKeyEvent.display()
field.int
keycode()
XKeyEvent.Buffer
keycode(int value)
Sets the specified value to theXKeyEvent.keycode()
field.long
root()
XKeyEvent.Buffer
root(long value)
Sets the specified value to theXKeyEvent.root()
field.boolean
same_screen()
XKeyEvent.Buffer
same_screen(boolean value)
Sets the specified value to theXKeyEvent.same_screen()
field.boolean
send_event()
XKeyEvent.Buffer
send_event(boolean value)
Sets the specified value to theXKeyEvent.send_event()
field.long
serial()
XKeyEvent.Buffer
serial(long value)
Sets the specified value to theXKeyEvent.serial()
field.int
state()
XKeyEvent.Buffer
state(int value)
Sets the specified value to theXKeyEvent.state()
field.long
subwindow()
XKeyEvent.Buffer
subwindow(long value)
Sets the specified value to theXKeyEvent.subwindow()
field.long
time()
XKeyEvent.Buffer
time(long value)
Sets the specified value to theXKeyEvent.time()
field.int
type()
XKeyEvent.Buffer
type(int value)
Sets the specified value to theXKeyEvent.type()
field.long
window()
XKeyEvent.Buffer
window(long value)
Sets the specified value to theXKeyEvent.window()
field.int
x()
XKeyEvent.Buffer
x(int value)
Sets the specified value to theXKeyEvent.x()
field.int
x_root()
XKeyEvent.Buffer
x_root(int value)
Sets the specified value to theXKeyEvent.x_root()
field.int
y()
XKeyEvent.Buffer
y(int value)
Sets the specified value to theXKeyEvent.y()
field.int
y_root()
XKeyEvent.Buffer
y_root(int value)
Sets the specified value to theXKeyEvent.y_root()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXKeyEvent.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 byXKeyEvent.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
XKeyEvent.type()
field.
-
serial
public long serial()
- Returns:
- the value of the
XKeyEvent.serial()
field.
-
send_event
public boolean send_event()
- Returns:
- the value of the
XKeyEvent.send_event()
field.
-
display
public long display()
- Returns:
- the value of the
XKeyEvent.display()
field.
-
window
public long window()
- Returns:
- the value of the
XKeyEvent.window()
field.
-
root
public long root()
- Returns:
- the value of the
XKeyEvent.root()
field.
-
subwindow
public long subwindow()
- Returns:
- the value of the
XKeyEvent.subwindow()
field.
-
time
public long time()
- Returns:
- the value of the
XKeyEvent.time()
field.
-
x
public int x()
- Returns:
- the value of the
XKeyEvent.x()
field.
-
y
public int y()
- Returns:
- the value of the
XKeyEvent.y()
field.
-
x_root
public int x_root()
- Returns:
- the value of the
XKeyEvent.x_root()
field.
-
y_root
public int y_root()
- Returns:
- the value of the
XKeyEvent.y_root()
field.
-
state
public int state()
- Returns:
- the value of the
XKeyEvent.state()
field.
-
keycode
public int keycode()
- Returns:
- the value of the
XKeyEvent.keycode()
field.
-
same_screen
public boolean same_screen()
- Returns:
- the value of the
XKeyEvent.same_screen()
field.
-
type
public XKeyEvent.Buffer type(int value)
Sets the specified value to theXKeyEvent.type()
field.
-
serial
public XKeyEvent.Buffer serial(long value)
Sets the specified value to theXKeyEvent.serial()
field.
-
send_event
public XKeyEvent.Buffer send_event(boolean value)
Sets the specified value to theXKeyEvent.send_event()
field.
-
display
public XKeyEvent.Buffer display(long value)
Sets the specified value to theXKeyEvent.display()
field.
-
window
public XKeyEvent.Buffer window(long value)
Sets the specified value to theXKeyEvent.window()
field.
-
root
public XKeyEvent.Buffer root(long value)
Sets the specified value to theXKeyEvent.root()
field.
-
subwindow
public XKeyEvent.Buffer subwindow(long value)
Sets the specified value to theXKeyEvent.subwindow()
field.
-
time
public XKeyEvent.Buffer time(long value)
Sets the specified value to theXKeyEvent.time()
field.
-
x
public XKeyEvent.Buffer x(int value)
Sets the specified value to theXKeyEvent.x()
field.
-
y
public XKeyEvent.Buffer y(int value)
Sets the specified value to theXKeyEvent.y()
field.
-
x_root
public XKeyEvent.Buffer x_root(int value)
Sets the specified value to theXKeyEvent.x_root()
field.
-
y_root
public XKeyEvent.Buffer y_root(int value)
Sets the specified value to theXKeyEvent.y_root()
field.
-
state
public XKeyEvent.Buffer state(int value)
Sets the specified value to theXKeyEvent.state()
field.
-
keycode
public XKeyEvent.Buffer keycode(int value)
Sets the specified value to theXKeyEvent.keycode()
field.
-
same_screen
public XKeyEvent.Buffer same_screen(boolean value)
Sets the specified value to theXKeyEvent.same_screen()
field.
-
-