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:
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
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newXSetWindowAttributes.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlong
background_pixel
(long value) Sets the specified value to thebackground_pixel
field.long
background_pixmap
(long value) Sets the specified value to thebackground_pixmap
field.long
backing_pixel
(long value) Sets the specified value to thebacking_pixel
field.long
backing_planes
(long value) Sets the specified value to thebacking_planes
field.int
backing_store
(int value) Sets the specified value to thebacking_store
field.int
bit_gravity
(int value) Sets the specified value to thebit_gravity
field.long
border_pixel
(long value) Sets the specified value to theborder_pixel
field.long
border_pixmap
(long value) Sets the specified value to theborder_pixmap
field.long
colormap()
colormap
(long value) Sets the specified value to thecolormap
field.long
cursor()
cursor
(long value) Sets the specified value to thecursor
field.long
do_not_propagate_mask
(long value) Sets the specified value to thedo_not_propagate_mask
field.long
event_mask
(long value) Sets the specified value to theevent_mask
field.boolean
override_redirect
(boolean value) Sets the specified value to theoverride_redirect
field.boolean
save_under
(boolean value) Sets the specified value to thesave_under
field.int
win_gravity
(int value) Sets the specified value to thewin_gravity
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newXSetWindowAttributes.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
Sets the specified value to thebackground_pixmap
field. -
background_pixel
Sets the specified value to thebackground_pixel
field. -
border_pixmap
Sets the specified value to theborder_pixmap
field. -
border_pixel
Sets the specified value to theborder_pixel
field. -
bit_gravity
Sets the specified value to thebit_gravity
field. -
win_gravity
Sets the specified value to thewin_gravity
field. -
backing_store
Sets the specified value to thebacking_store
field. -
backing_planes
Sets the specified value to thebacking_planes
field. -
backing_pixel
Sets the specified value to thebacking_pixel
field. -
save_under
Sets the specified value to thesave_under
field. -
event_mask
Sets the specified value to theevent_mask
field. -
do_not_propagate_mask
Sets the specified value to thedo_not_propagate_mask
field. -
override_redirect
Sets the specified value to theoverride_redirect
field. -
colormap
Sets the specified value to thecolormap
field. -
cursor
Sets the specified value to thecursor
field.
-