Package org.lwjgl.system.linux
Class XSetWindowAttributes.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<XSetWindowAttributes.Buffer>
org.lwjgl.system.StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer>
org.lwjgl.system.linux.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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newXSetWindowAttributes.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongbackground_pixel(long value) Sets the specified value to thebackground_pixelfield.longbackground_pixmap(long value) Sets the specified value to thebackground_pixmapfield.longbacking_pixel(long value) Sets the specified value to thebacking_pixelfield.longbacking_planes(long value) Sets the specified value to thebacking_planesfield.intbacking_store(int value) Sets the specified value to thebacking_storefield.intbit_gravity(int value) Sets the specified value to thebit_gravityfield.longborder_pixel(long value) Sets the specified value to theborder_pixelfield.longborder_pixmap(long value) Sets the specified value to theborder_pixmapfield.longcolormap()colormap(long value) Sets the specified value to thecolormapfield.longcursor()cursor(long value) Sets the specified value to thecursorfield.longdo_not_propagate_mask(long value) Sets the specified value to thedo_not_propagate_maskfield.longevent_mask(long value) Sets the specified value to theevent_maskfield.booleanoverride_redirect(boolean value) Sets the specified value to theoverride_redirectfield.booleansave_under(boolean value) Sets the specified value to thesave_underfield.intwin_gravity(int value) Sets the specified value to thewin_gravityfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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_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
Sets the specified value to thebackground_pixmapfield. -
background_pixel
Sets the specified value to thebackground_pixelfield. -
border_pixmap
Sets the specified value to theborder_pixmapfield. -
border_pixel
Sets the specified value to theborder_pixelfield. -
bit_gravity
Sets the specified value to thebit_gravityfield. -
win_gravity
Sets the specified value to thewin_gravityfield. -
backing_store
Sets the specified value to thebacking_storefield. -
backing_planes
Sets the specified value to thebacking_planesfield. -
backing_pixel
Sets the specified value to thebacking_pixelfield. -
save_under
Sets the specified value to thesave_underfield. -
event_mask
Sets the specified value to theevent_maskfield. -
do_not_propagate_mask
Sets the specified value to thedo_not_propagate_maskfield. -
override_redirect
Sets the specified value to theoverride_redirectfield. -
colormap
Sets the specified value to thecolormapfield. -
cursor
Sets the specified value to thecursorfield.
-