Class XSetWindowAttributes.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<XSetWindowAttributes>, NativeResource, Pointer
Enclosing class:
XSetWindowAttributes

public static class XSetWindowAttributes.Buffer extends StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer> implements NativeResource
An array of XSetWindowAttributes structs.
  • Constructor Details

    • Buffer

      public Buffer(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 Details

    • 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.
    • border_pixel

      public XSetWindowAttributes.Buffer border_pixel(long value)
      Sets the specified value to the border_pixel field.
    • bit_gravity

      public XSetWindowAttributes.Buffer bit_gravity(int value)
      Sets the specified value to the bit_gravity field.
    • win_gravity

      public XSetWindowAttributes.Buffer win_gravity(int value)
      Sets the specified value to the win_gravity field.
    • backing_store

      public XSetWindowAttributes.Buffer backing_store(int value)
      Sets the specified value to the backing_store 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.
    • save_under

      public XSetWindowAttributes.Buffer save_under(boolean value)
      Sets the specified value to the save_under field.
    • event_mask

      public XSetWindowAttributes.Buffer event_mask(long value)
      Sets the specified value to the event_mask 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.
    • colormap

      public XSetWindowAttributes.Buffer colormap(long value)
      Sets the specified value to the colormap field.
    • cursor

      public XSetWindowAttributes.Buffer cursor(long value)
      Sets the specified value to the cursor field.