Package org.lwjgl.system.jawt
Class JAWTX11DrawingSurfaceInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.system.jawt.JAWTX11DrawingSurfaceInfo
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class JAWTX11DrawingSurfaceInfo extends org.lwjgl.system.StructX11-specific declarations for AWT native interface.Member documentation
drawable– the drawabledisplay– the connection to the X servervisualID– the VisualIDcolormapID– the colormapdepth– the depth
Layout
struct JAWT_X11DrawingSurfaceInfo { Drawable drawable; Display * display; VisualID visualID; Colormap colormapID; int depth; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJAWTX11DrawingSurfaceInfo.BufferAn array ofJAWTX11DrawingSurfaceInfostructs.
-
Constructor Summary
Constructors Constructor Description JAWTX11DrawingSurfaceInfo(java.nio.ByteBuffer container)Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcolormapID()Returns the value of thecolormapIDfield.static JAWTX11DrawingSurfaceInfocreate(long address)Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address.static JAWTX11DrawingSurfaceInfo.Buffercreate(long address, int capacity)Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.static JAWTX11DrawingSurfaceInfocreateSafe(long address)static JAWTX11DrawingSurfaceInfo.BuffercreateSafe(long address, int capacity)intdepth()Returns the value of thedepthfield.longdisplay()Returns the value of thedisplayfield.longdrawable()Returns the value of thedrawablefield.static longncolormapID(long struct)Unsafe version ofcolormapID().static intndepth(long struct)Unsafe version ofdepth().static longndisplay(long struct)Unsafe version ofdisplay().static longndrawable(long struct)Unsafe version ofdrawable().static longnvisualID(long struct)Unsafe version ofvisualID().intsizeof()longvisualID()Returns the value of thevisualIDfield.
-
-
-
Constructor Detail
-
JAWTX11DrawingSurfaceInfo
public JAWTX11DrawingSurfaceInfo(java.nio.ByteBuffer container)
Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
drawable
public long drawable()
Returns the value of thedrawablefield.
-
display
public long display()
Returns the value of thedisplayfield.
-
visualID
public long visualID()
Returns the value of thevisualIDfield.
-
colormapID
public long colormapID()
Returns the value of thecolormapIDfield.
-
depth
public int depth()
Returns the value of thedepthfield.
-
create
public static JAWTX11DrawingSurfaceInfo create(long address)
Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address.
-
createSafe
@Nullable public static JAWTX11DrawingSurfaceInfo createSafe(long address)
-
create
public static JAWTX11DrawingSurfaceInfo.Buffer create(long address, int capacity)
Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static JAWTX11DrawingSurfaceInfo.Buffer createSafe(long address, int capacity)
-
ndrawable
public static long ndrawable(long struct)
Unsafe version ofdrawable().
-
ndisplay
public static long ndisplay(long struct)
Unsafe version ofdisplay().
-
nvisualID
public static long nvisualID(long struct)
Unsafe version ofvisualID().
-
ncolormapID
public static long ncolormapID(long struct)
Unsafe version ofcolormapID().
-
ndepth
public static int ndepth(long struct)
Unsafe version ofdepth().
-
-