Class WNDCLASSEX.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new WNDCLASSEX.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 by WNDCLASSEX.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • cbSize

        public int cbSize()
        Returns the value of the cbSize field.
      • style

        public int style()
        Returns the value of the style field.
      • lpfnWndProc

        public WindowProc lpfnWndProc()
        Returns the value of the lpfnWndProc field.
      • cbClsExtra

        public int cbClsExtra()
        Returns the value of the cbClsExtra field.
      • cbWndExtra

        public int cbWndExtra()
        Returns the value of the cbWndExtra field.
      • hInstance

        public long hInstance()
        Returns the value of the hInstance field.
      • hIcon

        public long hIcon()
        Returns the value of the hIcon field.
      • hCursor

        public long hCursor()
        Returns the value of the hCursor field.
      • hbrBackground

        public long hbrBackground()
        Returns the value of the hbrBackground field.
      • lpszMenuName

        @Nullable
        public java.nio.ByteBuffer lpszMenuName()
        Returns a ByteBuffer view of the null-terminated string pointed to by the lpszMenuName field.
      • lpszMenuNameString

        @Nullable
        public java.lang.String lpszMenuNameString()
        Decodes the null-terminated string pointed to by the lpszMenuName field.
      • lpszClassName

        public java.nio.ByteBuffer lpszClassName()
        Returns a ByteBuffer view of the null-terminated string pointed to by the lpszClassName field.
      • lpszClassNameString

        public java.lang.String lpszClassNameString()
        Decodes the null-terminated string pointed to by the lpszClassName field.
      • hIconSm

        public long hIconSm()
        Returns the value of the hIconSm field.
      • cbSize

        public WNDCLASSEX.Buffer cbSize​(int value)
        Sets the specified value to the cbSize field.
      • style

        public WNDCLASSEX.Buffer style​(int value)
        Sets the specified value to the style field.
      • cbClsExtra

        public WNDCLASSEX.Buffer cbClsExtra​(int value)
        Sets the specified value to the cbClsExtra field.
      • cbWndExtra

        public WNDCLASSEX.Buffer cbWndExtra​(int value)
        Sets the specified value to the cbWndExtra field.
      • hInstance

        public WNDCLASSEX.Buffer hInstance​(long value)
        Sets the specified value to the hInstance field.
      • hIcon

        public WNDCLASSEX.Buffer hIcon​(long value)
        Sets the specified value to the hIcon field.
      • hCursor

        public WNDCLASSEX.Buffer hCursor​(long value)
        Sets the specified value to the hCursor field.
      • hbrBackground

        public WNDCLASSEX.Buffer hbrBackground​(long value)
        Sets the specified value to the hbrBackground field.
      • lpszMenuName

        public WNDCLASSEX.Buffer lpszMenuName​(@Nullable
                                              java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the lpszMenuName field.
      • lpszClassName

        public WNDCLASSEX.Buffer lpszClassName​(java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the lpszClassName field.
      • hIconSm

        public WNDCLASSEX.Buffer hIconSm​(long value)
        Sets the specified value to the hIconSm field.