Package org.lwjgl.system.windows
Class DEVMODE.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<DEVMODE,DEVMODE.Buffer>
-
- org.lwjgl.system.windows.DEVMODE.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- DEVMODE
public static class DEVMODE.Buffer extends StructBuffer<DEVMODE,DEVMODE.Buffer> implements NativeResource
An array ofDEVMODE
structs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newDEVMODE.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
dmBitsPerPel()
Returns the value of thedmBitsPerPel
field.short
dmCollate()
Returns the value of thedmCollate
field.short
dmColor()
Returns the value of thedmColor
field.short
dmCopies()
Returns the value of thedmCopies
field.short
dmDefaultSource()
Returns the value of thedmDefaultSource
field.java.nio.ByteBuffer
dmDeviceName()
Returns aByteBuffer
view of thedmDeviceName
field.java.lang.String
dmDeviceNameString()
Decodes the null-terminated string stored in thedmDeviceName
field.int
dmDisplayFixedOutput()
Returns the value of thedmDisplayFixedOutput
field.int
dmDisplayFlags()
Returns the value of thedmDisplayFlags
field.int
dmDisplayFrequency()
Returns the value of thedmDisplayFrequency
field.int
dmDisplayOrientation()
Returns the value of thedmDisplayOrientation
field.int
dmDitherType()
Returns the value of thedmDitherType
field.short
dmDriverExtra()
Returns the value of thedmDriverExtra
field.DEVMODE.Buffer
dmDriverExtra(short value)
Sets the specified value to thedmDriverExtra
field.short
dmDriverVersion()
Returns the value of thedmDriverVersion
field.short
dmDuplex()
Returns the value of thedmDuplex
field.int
dmFields()
Returns the value of thedmFields
field.java.nio.ByteBuffer
dmFormName()
Returns aByteBuffer
view of thedmFormName
field.java.lang.String
dmFormNameString()
Decodes the null-terminated string stored in thedmFormName
field.int
dmICMIntent()
Returns the value of thedmICMIntent
field.int
dmICMMethod()
Returns the value of thedmICMMethod
field.short
dmLogPixels()
Returns the value of thedmLogPixels
field.int
dmMediaType()
Returns the value of thedmMediaType
field.int
dmNup()
Returns the value of thedmNup
field.short
dmOrientation()
Returns the value of thedmOrientation
field.int
dmPanningHeight()
Returns the value of thedmPanningHeight
field.int
dmPanningWidth()
Returns the value of thedmPanningWidth
field.short
dmPaperLength()
Returns the value of thedmPaperLength
field.short
dmPaperSize()
Returns the value of thedmPaperSize
field.short
dmPaperWidth()
Returns the value of thedmPaperWidth
field.int
dmPelsHeight()
Returns the value of thedmPelsHeight
field.int
dmPelsWidth()
Returns the value of thedmPelsWidth
field.POINTL
dmPosition()
Returns aPOINTL
view of thedmPosition
field.short
dmPrintQuality()
Returns the value of thedmPrintQuality
field.int
dmReserved1()
Returns the value of thedmReserved1
field.int
dmReserved2()
Returns the value of thedmReserved2
field.short
dmScale()
Returns the value of thedmScale
field.short
dmSize()
Returns the value of thedmSize
field.DEVMODE.Buffer
dmSize(short value)
Sets the specified value to thedmSize
field.short
dmSpecVersion()
Returns the value of thedmSpecVersion
field.DEVMODE.Buffer
dmSpecVersion(short value)
Sets the specified value to thedmSpecVersion
field.short
dmTTOption()
Returns the value of thedmTTOption
field.short
dmYResolution()
Returns the value of thedmYResolution
field.-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newDEVMODE.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 byDEVMODE.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
dmDeviceName
public java.nio.ByteBuffer dmDeviceName()
Returns aByteBuffer
view of thedmDeviceName
field.
-
dmDeviceNameString
public java.lang.String dmDeviceNameString()
Decodes the null-terminated string stored in thedmDeviceName
field.
-
dmSpecVersion
public short dmSpecVersion()
Returns the value of thedmSpecVersion
field.
-
dmDriverVersion
public short dmDriverVersion()
Returns the value of thedmDriverVersion
field.
-
dmSize
public short dmSize()
Returns the value of thedmSize
field.
-
dmDriverExtra
public short dmDriverExtra()
Returns the value of thedmDriverExtra
field.
-
dmFields
public int dmFields()
Returns the value of thedmFields
field.
-
dmOrientation
public short dmOrientation()
Returns the value of thedmOrientation
field.
-
dmPaperSize
public short dmPaperSize()
Returns the value of thedmPaperSize
field.
-
dmPaperLength
public short dmPaperLength()
Returns the value of thedmPaperLength
field.
-
dmPaperWidth
public short dmPaperWidth()
Returns the value of thedmPaperWidth
field.
-
dmScale
public short dmScale()
Returns the value of thedmScale
field.
-
dmCopies
public short dmCopies()
Returns the value of thedmCopies
field.
-
dmDefaultSource
public short dmDefaultSource()
Returns the value of thedmDefaultSource
field.
-
dmPrintQuality
public short dmPrintQuality()
Returns the value of thedmPrintQuality
field.
-
dmDisplayOrientation
public int dmDisplayOrientation()
Returns the value of thedmDisplayOrientation
field.
-
dmDisplayFixedOutput
public int dmDisplayFixedOutput()
Returns the value of thedmDisplayFixedOutput
field.
-
dmColor
public short dmColor()
Returns the value of thedmColor
field.
-
dmDuplex
public short dmDuplex()
Returns the value of thedmDuplex
field.
-
dmYResolution
public short dmYResolution()
Returns the value of thedmYResolution
field.
-
dmTTOption
public short dmTTOption()
Returns the value of thedmTTOption
field.
-
dmCollate
public short dmCollate()
Returns the value of thedmCollate
field.
-
dmFormName
public java.nio.ByteBuffer dmFormName()
Returns aByteBuffer
view of thedmFormName
field.
-
dmFormNameString
public java.lang.String dmFormNameString()
Decodes the null-terminated string stored in thedmFormName
field.
-
dmLogPixels
public short dmLogPixels()
Returns the value of thedmLogPixels
field.
-
dmBitsPerPel
public int dmBitsPerPel()
Returns the value of thedmBitsPerPel
field.
-
dmPelsWidth
public int dmPelsWidth()
Returns the value of thedmPelsWidth
field.
-
dmPelsHeight
public int dmPelsHeight()
Returns the value of thedmPelsHeight
field.
-
dmDisplayFlags
public int dmDisplayFlags()
Returns the value of thedmDisplayFlags
field.
-
dmNup
public int dmNup()
Returns the value of thedmNup
field.
-
dmDisplayFrequency
public int dmDisplayFrequency()
Returns the value of thedmDisplayFrequency
field.
-
dmICMMethod
public int dmICMMethod()
Returns the value of thedmICMMethod
field.
-
dmICMIntent
public int dmICMIntent()
Returns the value of thedmICMIntent
field.
-
dmMediaType
public int dmMediaType()
Returns the value of thedmMediaType
field.
-
dmDitherType
public int dmDitherType()
Returns the value of thedmDitherType
field.
-
dmReserved1
public int dmReserved1()
Returns the value of thedmReserved1
field.
-
dmReserved2
public int dmReserved2()
Returns the value of thedmReserved2
field.
-
dmPanningWidth
public int dmPanningWidth()
Returns the value of thedmPanningWidth
field.
-
dmPanningHeight
public int dmPanningHeight()
Returns the value of thedmPanningHeight
field.
-
dmSpecVersion
public DEVMODE.Buffer dmSpecVersion(short value)
Sets the specified value to thedmSpecVersion
field.
-
dmSize
public DEVMODE.Buffer dmSize(short value)
Sets the specified value to thedmSize
field.
-
dmDriverExtra
public DEVMODE.Buffer dmDriverExtra(short value)
Sets the specified value to thedmDriverExtra
field.
-
-