Package org.lwjgl.system.windows
Class MOUSEINPUT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<MOUSEINPUT,MOUSEINPUT.Buffer>
-
- org.lwjgl.system.windows.MOUSEINPUT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<MOUSEINPUT>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- MOUSEINPUT
public static class MOUSEINPUT.Buffer extends org.lwjgl.system.StructBuffer<MOUSEINPUT,MOUSEINPUT.Buffer> implements org.lwjgl.system.NativeResource
An array ofMOUSEINPUT
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
dwExtraInfo()
MOUSEINPUT.Buffer
dwExtraInfo(long value)
Sets the specified value to theMOUSEINPUT.dwExtraInfo()
field.int
dwFlags()
MOUSEINPUT.Buffer
dwFlags(int value)
Sets the specified value to theMOUSEINPUT.dwFlags()
field.int
dx()
MOUSEINPUT.Buffer
dx(int value)
Sets the specified value to theMOUSEINPUT.dx()
field.int
dy()
MOUSEINPUT.Buffer
dy(int value)
Sets the specified value to theMOUSEINPUT.dy()
field.int
mouseData()
MOUSEINPUT.Buffer
mouseData(int value)
Sets the specified value to theMOUSEINPUT.mouseData()
field.int
time()
MOUSEINPUT.Buffer
time(int value)
Sets the specified value to theMOUSEINPUT.time()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newMOUSEINPUT.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 byMOUSEINPUT.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
-
dx
public int dx()
- Returns:
- the value of the
MOUSEINPUT.dx()
field.
-
dy
public int dy()
- Returns:
- the value of the
MOUSEINPUT.dy()
field.
-
mouseData
public int mouseData()
- Returns:
- the value of the
MOUSEINPUT.mouseData()
field.
-
dwFlags
public int dwFlags()
- Returns:
- the value of the
MOUSEINPUT.dwFlags()
field.
-
time
public int time()
- Returns:
- the value of the
MOUSEINPUT.time()
field.
-
dwExtraInfo
public long dwExtraInfo()
- Returns:
- the value of the
MOUSEINPUT.dwExtraInfo()
field.
-
dx
public MOUSEINPUT.Buffer dx(int value)
Sets the specified value to theMOUSEINPUT.dx()
field.
-
dy
public MOUSEINPUT.Buffer dy(int value)
Sets the specified value to theMOUSEINPUT.dy()
field.
-
mouseData
public MOUSEINPUT.Buffer mouseData(int value)
Sets the specified value to theMOUSEINPUT.mouseData()
field.
-
dwFlags
public MOUSEINPUT.Buffer dwFlags(int value)
Sets the specified value to theMOUSEINPUT.dwFlags()
field.
-
time
public MOUSEINPUT.Buffer time(int value)
Sets the specified value to theMOUSEINPUT.time()
field.
-
dwExtraInfo
public MOUSEINPUT.Buffer dwExtraInfo(long value)
Sets the specified value to theMOUSEINPUT.dwExtraInfo()
field.
-
-