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.Layout
struct JAWT_X11DrawingSurfaceInfo { Drawabledrawable(); Display *display(); VisualIDvisualID(); ColormapcolormapID(); intdepth(); }
-
-
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()the colormapstatic 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()the depthlongdisplay()the connection to the X serverlongdrawable()the drawablestatic 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()the VisualID
-
-
-
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()
the drawable
-
display
public long display()
the connection to the X server
-
visualID
public long visualID()
the VisualID
-
colormapID
public long colormapID()
the colormap
-
depth
public int depth()
the depth
-
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().
-
-