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 ofDEVMODEstructs.
-
-
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.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intdmBitsPerPel()Returns the value of thedmBitsPerPelfield.shortdmCollate()Returns the value of thedmCollatefield.shortdmColor()Returns the value of thedmColorfield.shortdmCopies()Returns the value of thedmCopiesfield.shortdmDefaultSource()Returns the value of thedmDefaultSourcefield.java.nio.ByteBufferdmDeviceName()Returns aByteBufferview of thedmDeviceNamefield.java.lang.StringdmDeviceNameString()Decodes the null-terminated string stored in thedmDeviceNamefield.intdmDisplayFixedOutput()Returns the value of thedmDisplayFixedOutputfield.intdmDisplayFlags()Returns the value of thedmDisplayFlagsfield.intdmDisplayFrequency()Returns the value of thedmDisplayFrequencyfield.intdmDisplayOrientation()Returns the value of thedmDisplayOrientationfield.intdmDitherType()Returns the value of thedmDitherTypefield.shortdmDriverExtra()Returns the value of thedmDriverExtrafield.DEVMODE.BufferdmDriverExtra(short value)Sets the specified value to thedmDriverExtrafield.shortdmDriverVersion()Returns the value of thedmDriverVersionfield.shortdmDuplex()Returns the value of thedmDuplexfield.intdmFields()Returns the value of thedmFieldsfield.java.nio.ByteBufferdmFormName()Returns aByteBufferview of thedmFormNamefield.java.lang.StringdmFormNameString()Decodes the null-terminated string stored in thedmFormNamefield.intdmICMIntent()Returns the value of thedmICMIntentfield.intdmICMMethod()Returns the value of thedmICMMethodfield.shortdmLogPixels()Returns the value of thedmLogPixelsfield.intdmMediaType()Returns the value of thedmMediaTypefield.intdmNup()Returns the value of thedmNupfield.shortdmOrientation()Returns the value of thedmOrientationfield.intdmPanningHeight()Returns the value of thedmPanningHeightfield.intdmPanningWidth()Returns the value of thedmPanningWidthfield.shortdmPaperLength()Returns the value of thedmPaperLengthfield.shortdmPaperSize()Returns the value of thedmPaperSizefield.shortdmPaperWidth()Returns the value of thedmPaperWidthfield.intdmPelsHeight()Returns the value of thedmPelsHeightfield.intdmPelsWidth()Returns the value of thedmPelsWidthfield.POINTLdmPosition()Returns aPOINTLview of thedmPositionfield.shortdmPrintQuality()Returns the value of thedmPrintQualityfield.intdmReserved1()Returns the value of thedmReserved1field.intdmReserved2()Returns the value of thedmReserved2field.shortdmScale()Returns the value of thedmScalefield.shortdmSize()Returns the value of thedmSizefield.DEVMODE.BufferdmSize(short value)Sets the specified value to thedmSizefield.shortdmSpecVersion()Returns the value of thedmSpecVersionfield.DEVMODE.BufferdmSpecVersion(short value)Sets the specified value to thedmSpecVersionfield.shortdmTTOption()Returns the value of thedmTTOptionfield.shortdmYResolution()Returns the value of thedmYResolutionfield.-
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.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 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 aByteBufferview of thedmDeviceNamefield.
-
dmDeviceNameString
public java.lang.String dmDeviceNameString()
Decodes the null-terminated string stored in thedmDeviceNamefield.
-
dmSpecVersion
public short dmSpecVersion()
Returns the value of thedmSpecVersionfield.
-
dmDriverVersion
public short dmDriverVersion()
Returns the value of thedmDriverVersionfield.
-
dmSize
public short dmSize()
Returns the value of thedmSizefield.
-
dmDriverExtra
public short dmDriverExtra()
Returns the value of thedmDriverExtrafield.
-
dmFields
public int dmFields()
Returns the value of thedmFieldsfield.
-
dmOrientation
public short dmOrientation()
Returns the value of thedmOrientationfield.
-
dmPaperSize
public short dmPaperSize()
Returns the value of thedmPaperSizefield.
-
dmPaperLength
public short dmPaperLength()
Returns the value of thedmPaperLengthfield.
-
dmPaperWidth
public short dmPaperWidth()
Returns the value of thedmPaperWidthfield.
-
dmScale
public short dmScale()
Returns the value of thedmScalefield.
-
dmCopies
public short dmCopies()
Returns the value of thedmCopiesfield.
-
dmDefaultSource
public short dmDefaultSource()
Returns the value of thedmDefaultSourcefield.
-
dmPrintQuality
public short dmPrintQuality()
Returns the value of thedmPrintQualityfield.
-
dmDisplayOrientation
public int dmDisplayOrientation()
Returns the value of thedmDisplayOrientationfield.
-
dmDisplayFixedOutput
public int dmDisplayFixedOutput()
Returns the value of thedmDisplayFixedOutputfield.
-
dmColor
public short dmColor()
Returns the value of thedmColorfield.
-
dmDuplex
public short dmDuplex()
Returns the value of thedmDuplexfield.
-
dmYResolution
public short dmYResolution()
Returns the value of thedmYResolutionfield.
-
dmTTOption
public short dmTTOption()
Returns the value of thedmTTOptionfield.
-
dmCollate
public short dmCollate()
Returns the value of thedmCollatefield.
-
dmFormName
public java.nio.ByteBuffer dmFormName()
Returns aByteBufferview of thedmFormNamefield.
-
dmFormNameString
public java.lang.String dmFormNameString()
Decodes the null-terminated string stored in thedmFormNamefield.
-
dmLogPixels
public short dmLogPixels()
Returns the value of thedmLogPixelsfield.
-
dmBitsPerPel
public int dmBitsPerPel()
Returns the value of thedmBitsPerPelfield.
-
dmPelsWidth
public int dmPelsWidth()
Returns the value of thedmPelsWidthfield.
-
dmPelsHeight
public int dmPelsHeight()
Returns the value of thedmPelsHeightfield.
-
dmDisplayFlags
public int dmDisplayFlags()
Returns the value of thedmDisplayFlagsfield.
-
dmNup
public int dmNup()
Returns the value of thedmNupfield.
-
dmDisplayFrequency
public int dmDisplayFrequency()
Returns the value of thedmDisplayFrequencyfield.
-
dmICMMethod
public int dmICMMethod()
Returns the value of thedmICMMethodfield.
-
dmICMIntent
public int dmICMIntent()
Returns the value of thedmICMIntentfield.
-
dmMediaType
public int dmMediaType()
Returns the value of thedmMediaTypefield.
-
dmDitherType
public int dmDitherType()
Returns the value of thedmDitherTypefield.
-
dmReserved1
public int dmReserved1()
Returns the value of thedmReserved1field.
-
dmReserved2
public int dmReserved2()
Returns the value of thedmReserved2field.
-
dmPanningWidth
public int dmPanningWidth()
Returns the value of thedmPanningWidthfield.
-
dmPanningHeight
public int dmPanningHeight()
Returns the value of thedmPanningHeightfield.
-
dmSpecVersion
public DEVMODE.Buffer dmSpecVersion(short value)
Sets the specified value to thedmSpecVersionfield.
-
dmSize
public DEVMODE.Buffer dmSize(short value)
Sets the specified value to thedmSizefield.
-
dmDriverExtra
public DEVMODE.Buffer dmDriverExtra(short value)
Sets the specified value to thedmDriverExtrafield.
-
-