Class XSetWindowAttributes.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new XSetWindowAttributes.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 XSetWindowAttributes.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

      • background_pixmap

        public long background_pixmap()
        Returns the value of the background_pixmap field.
      • background_pixel

        public long background_pixel()
        Returns the value of the background_pixel field.
      • border_pixmap

        public long border_pixmap()
        Returns the value of the border_pixmap field.
      • border_pixel

        public long border_pixel()
        Returns the value of the border_pixel field.
      • bit_gravity

        public int bit_gravity()
        Returns the value of the bit_gravity field.
      • win_gravity

        public int win_gravity()
        Returns the value of the win_gravity field.
      • backing_store

        public int backing_store()
        Returns the value of the backing_store field.
      • backing_planes

        public long backing_planes()
        Returns the value of the backing_planes field.
      • backing_pixel

        public long backing_pixel()
        Returns the value of the backing_pixel field.
      • save_under

        public boolean save_under()
        Returns the value of the save_under field.
      • event_mask

        public long event_mask()
        Returns the value of the event_mask field.
      • do_not_propagate_mask

        public long do_not_propagate_mask()
        Returns the value of the do_not_propagate_mask field.
      • override_redirect

        public boolean override_redirect()
        Returns the value of the override_redirect field.
      • colormap

        public long colormap()
        Returns the value of the colormap field.
      • cursor

        public long cursor()
        Returns the value of the cursor field.
      • background_pixmap

        public XSetWindowAttributes.Buffer background_pixmap​(long value)
        Sets the specified value to the background_pixmap field.
      • background_pixel

        public XSetWindowAttributes.Buffer background_pixel​(long value)
        Sets the specified value to the background_pixel field.
      • border_pixmap

        public XSetWindowAttributes.Buffer border_pixmap​(long value)
        Sets the specified value to the border_pixmap field.
      • backing_planes

        public XSetWindowAttributes.Buffer backing_planes​(long value)
        Sets the specified value to the backing_planes field.
      • backing_pixel

        public XSetWindowAttributes.Buffer backing_pixel​(long value)
        Sets the specified value to the backing_pixel field.
      • do_not_propagate_mask

        public XSetWindowAttributes.Buffer do_not_propagate_mask​(long value)
        Sets the specified value to the do_not_propagate_mask field.
      • override_redirect

        public XSetWindowAttributes.Buffer override_redirect​(boolean value)
        Sets the specified value to the override_redirect field.