Package org.lwjgl.system.windows
Class MONITORINFOEX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<MONITORINFOEX,MONITORINFOEX.Buffer>
-
- org.lwjgl.system.windows.MONITORINFOEX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<MONITORINFOEX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- MONITORINFOEX
public static class MONITORINFOEX.Buffer extends org.lwjgl.system.StructBuffer<MONITORINFOEX,MONITORINFOEX.Buffer> implements org.lwjgl.system.NativeResource
An array ofMONITORINFOEXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcbSize()MONITORINFOEX.BuffercbSize(int value)Sets the specified value to theMONITORINFOEX.cbSize()field.intdwFlags()RECTrcMonitor()RECTrcWork()java.nio.ByteBufferszDevice()java.lang.StringszDeviceString()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newMONITORINFOEX.Bufferinstance 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 byMONITORINFOEX.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
-
cbSize
public int cbSize()
- Returns:
- the value of the
MONITORINFOEX.cbSize()field.
-
rcMonitor
public RECT rcMonitor()
- Returns:
- a
RECTview of theMONITORINFOEX.rcMonitor()field.
-
rcWork
public RECT rcWork()
- Returns:
- a
RECTview of theMONITORINFOEX.rcWork()field.
-
dwFlags
public int dwFlags()
- Returns:
- the value of the
MONITORINFOEX.dwFlags()field.
-
szDevice
public java.nio.ByteBuffer szDevice()
- Returns:
- a
ByteBufferview of theMONITORINFOEX.szDevice()field.
-
szDeviceString
public java.lang.String szDeviceString()
- Returns:
- the null-terminated string stored in the
MONITORINFOEX.szDevice()field.
-
cbSize
public MONITORINFOEX.Buffer cbSize(int value)
Sets the specified value to theMONITORINFOEX.cbSize()field.
-
-