Class JAWTX11DrawingSurfaceInfo

  • All Implemented Interfaces:

    public class JAWTX11DrawingSurfaceInfo
    extends Struct
    X11-specific declarations for AWT native interface.

    Member documentation

    • drawable – the drawable
    • display – the connection to the X server
    • visualID – the VisualID
    • colormapID – the colormap
    • depth – the depth


     struct JAWT_X11DrawingSurfaceInfo {
         Drawable drawable;
         Display * display;
         VisualID visualID;
         Colormap colormapID;
         int depth;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • JAWTX11DrawingSurfaceInfo

        public JAWTX11DrawingSurfaceInfo​(java.nio.ByteBuffer container)
        Creates a JAWTX11DrawingSurfaceInfo instance at the current position of the specified ByteBuffer container. 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()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • drawable

        public long drawable()
        Returns the value of the drawable field.
      • display

        public long display()
        Returns the value of the display field.
      • visualID

        public long visualID()
        Returns the value of the visualID field.
      • colormapID

        public long colormapID()
        Returns the value of the colormapID field.
      • depth

        public int depth()
        Returns the value of the depth field.
      • create

        public static JAWTX11DrawingSurfaceInfo create​(long address)
        Returns a new JAWTX11DrawingSurfaceInfo instance for the specified memory address.
      • ndrawable

        public static long ndrawable​(long struct)
        Unsafe version of drawable().
      • ndisplay

        public static long ndisplay​(long struct)
        Unsafe version of display().
      • nvisualID

        public static long nvisualID​(long struct)
        Unsafe version of visualID().
      • ncolormapID

        public static long ncolormapID​(long struct)
        Unsafe version of colormapID().
      • ndepth

        public static int ndepth​(long struct)
        Unsafe version of depth().