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