Package org.lwjgl.system.linux
Class XSetWindowAttributes.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer>
-
- org.lwjgl.system.linux.XSetWindowAttributes.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XSetWindowAttributes>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XSetWindowAttributes
public static class XSetWindowAttributes.Buffer extends org.lwjgl.system.StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer> implements org.lwjgl.system.NativeResource
An array ofXSetWindowAttributesstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbackground_pixel()XSetWindowAttributes.Bufferbackground_pixel(long value)Sets the specified value to thebackground_pixelfield.longbackground_pixmap()XSetWindowAttributes.Bufferbackground_pixmap(long value)Sets the specified value to thebackground_pixmapfield.longbacking_pixel()XSetWindowAttributes.Bufferbacking_pixel(long value)Sets the specified value to thebacking_pixelfield.longbacking_planes()XSetWindowAttributes.Bufferbacking_planes(long value)Sets the specified value to thebacking_planesfield.intbacking_store()XSetWindowAttributes.Bufferbacking_store(int value)Sets the specified value to thebacking_storefield.intbit_gravity()XSetWindowAttributes.Bufferbit_gravity(int value)Sets the specified value to thebit_gravityfield.longborder_pixel()XSetWindowAttributes.Bufferborder_pixel(long value)Sets the specified value to theborder_pixelfield.longborder_pixmap()XSetWindowAttributes.Bufferborder_pixmap(long value)Sets the specified value to theborder_pixmapfield.longcolormap()XSetWindowAttributes.Buffercolormap(long value)Sets the specified value to thecolormapfield.longcursor()XSetWindowAttributes.Buffercursor(long value)Sets the specified value to thecursorfield.longdo_not_propagate_mask()XSetWindowAttributes.Bufferdo_not_propagate_mask(long value)Sets the specified value to thedo_not_propagate_maskfield.longevent_mask()XSetWindowAttributes.Bufferevent_mask(long value)Sets the specified value to theevent_maskfield.booleanoverride_redirect()XSetWindowAttributes.Bufferoverride_redirect(boolean value)Sets the specified value to theoverride_redirectfield.booleansave_under()XSetWindowAttributes.Buffersave_under(boolean value)Sets the specified value to thesave_underfield.intwin_gravity()XSetWindowAttributes.Bufferwin_gravity(int value)Sets the specified value to thewin_gravityfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXSetWindowAttributes.Bufferinstance 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 byXSetWindowAttributes.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_pixmapfield.
-
background_pixel
public long background_pixel()
- Returns:
- the value of the
background_pixelfield.
-
border_pixmap
public long border_pixmap()
- Returns:
- the value of the
border_pixmapfield.
-
border_pixel
public long border_pixel()
- Returns:
- the value of the
border_pixelfield.
-
bit_gravity
public int bit_gravity()
- Returns:
- the value of the
bit_gravityfield.
-
win_gravity
public int win_gravity()
- Returns:
- the value of the
win_gravityfield.
-
backing_store
public int backing_store()
- Returns:
- the value of the
backing_storefield.
-
backing_planes
public long backing_planes()
- Returns:
- the value of the
backing_planesfield.
-
backing_pixel
public long backing_pixel()
- Returns:
- the value of the
backing_pixelfield.
-
save_under
public boolean save_under()
- Returns:
- the value of the
save_underfield.
-
event_mask
public long event_mask()
- Returns:
- the value of the
event_maskfield.
-
do_not_propagate_mask
public long do_not_propagate_mask()
- Returns:
- the value of the
do_not_propagate_maskfield.
-
override_redirect
public boolean override_redirect()
- Returns:
- the value of the
override_redirectfield.
-
colormap
public long colormap()
- Returns:
- the value of the
colormapfield.
-
cursor
public long cursor()
- Returns:
- the value of the
cursorfield.
-
background_pixmap
public XSetWindowAttributes.Buffer background_pixmap(long value)
Sets the specified value to thebackground_pixmapfield.
-
background_pixel
public XSetWindowAttributes.Buffer background_pixel(long value)
Sets the specified value to thebackground_pixelfield.
-
border_pixmap
public XSetWindowAttributes.Buffer border_pixmap(long value)
Sets the specified value to theborder_pixmapfield.
-
border_pixel
public XSetWindowAttributes.Buffer border_pixel(long value)
Sets the specified value to theborder_pixelfield.
-
bit_gravity
public XSetWindowAttributes.Buffer bit_gravity(int value)
Sets the specified value to thebit_gravityfield.
-
win_gravity
public XSetWindowAttributes.Buffer win_gravity(int value)
Sets the specified value to thewin_gravityfield.
-
backing_store
public XSetWindowAttributes.Buffer backing_store(int value)
Sets the specified value to thebacking_storefield.
-
backing_planes
public XSetWindowAttributes.Buffer backing_planes(long value)
Sets the specified value to thebacking_planesfield.
-
backing_pixel
public XSetWindowAttributes.Buffer backing_pixel(long value)
Sets the specified value to thebacking_pixelfield.
-
save_under
public XSetWindowAttributes.Buffer save_under(boolean value)
Sets the specified value to thesave_underfield.
-
event_mask
public XSetWindowAttributes.Buffer event_mask(long value)
Sets the specified value to theevent_maskfield.
-
do_not_propagate_mask
public XSetWindowAttributes.Buffer do_not_propagate_mask(long value)
Sets the specified value to thedo_not_propagate_maskfield.
-
override_redirect
public XSetWindowAttributes.Buffer override_redirect(boolean value)
Sets the specified value to theoverride_redirectfield.
-
colormap
public XSetWindowAttributes.Buffer colormap(long value)
Sets the specified value to thecolormapfield.
-
cursor
public XSetWindowAttributes.Buffer cursor(long value)
Sets the specified value to thecursorfield.
-
-