Package org.lwjgl.system.linux
Class XSetWindowAttributes.Buffer
- java.lang.Object
-
- 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>, NativeResource, Pointer
- Enclosing class:
- XSetWindowAttributes
public static class XSetWindowAttributes.Buffer extends StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer> implements NativeResource
An array ofXSetWindowAttributes
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
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newXSetWindowAttributes.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description long
background_pixel()
Returns the value of thebackground_pixel
field.XSetWindowAttributes.Buffer
background_pixel(long value)
Sets the specified value to thebackground_pixel
field.long
background_pixmap()
Returns the value of thebackground_pixmap
field.XSetWindowAttributes.Buffer
background_pixmap(long value)
Sets the specified value to thebackground_pixmap
field.long
backing_pixel()
Returns the value of thebacking_pixel
field.XSetWindowAttributes.Buffer
backing_pixel(long value)
Sets the specified value to thebacking_pixel
field.long
backing_planes()
Returns the value of thebacking_planes
field.XSetWindowAttributes.Buffer
backing_planes(long value)
Sets the specified value to thebacking_planes
field.int
backing_store()
Returns the value of thebacking_store
field.XSetWindowAttributes.Buffer
backing_store(int value)
Sets the specified value to thebacking_store
field.int
bit_gravity()
Returns the value of thebit_gravity
field.XSetWindowAttributes.Buffer
bit_gravity(int value)
Sets the specified value to thebit_gravity
field.long
border_pixel()
Returns the value of theborder_pixel
field.XSetWindowAttributes.Buffer
border_pixel(long value)
Sets the specified value to theborder_pixel
field.long
border_pixmap()
Returns the value of theborder_pixmap
field.XSetWindowAttributes.Buffer
border_pixmap(long value)
Sets the specified value to theborder_pixmap
field.long
colormap()
Returns the value of thecolormap
field.XSetWindowAttributes.Buffer
colormap(long value)
Sets the specified value to thecolormap
field.long
cursor()
Returns the value of thecursor
field.XSetWindowAttributes.Buffer
cursor(long value)
Sets the specified value to thecursor
field.long
do_not_propagate_mask()
Returns the value of thedo_not_propagate_mask
field.XSetWindowAttributes.Buffer
do_not_propagate_mask(long value)
Sets the specified value to thedo_not_propagate_mask
field.long
event_mask()
Returns the value of theevent_mask
field.XSetWindowAttributes.Buffer
event_mask(long value)
Sets the specified value to theevent_mask
field.boolean
override_redirect()
Returns the value of theoverride_redirect
field.XSetWindowAttributes.Buffer
override_redirect(boolean value)
Sets the specified value to theoverride_redirect
field.boolean
save_under()
Returns the value of thesave_under
field.XSetWindowAttributes.Buffer
save_under(boolean value)
Sets the specified value to thesave_under
field.int
sizeof()
Returns thesizeof
a single element in the buffer.int
win_gravity()
Returns the value of thewin_gravity
field.XSetWindowAttributes.Buffer
win_gravity(int value)
Sets the specified value to thewin_gravity
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, 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 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byXSetWindowAttributes.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
Description copied from class:CustomBuffer
Returns thesizeof
a single element in the buffer.- Specified by:
sizeof
in classCustomBuffer<XSetWindowAttributes.Buffer>
-
background_pixmap
public long background_pixmap()
Returns the value of thebackground_pixmap
field.
-
background_pixel
public long background_pixel()
Returns the value of thebackground_pixel
field.
-
border_pixmap
public long border_pixmap()
Returns the value of theborder_pixmap
field.
-
border_pixel
public long border_pixel()
Returns the value of theborder_pixel
field.
-
bit_gravity
public int bit_gravity()
Returns the value of thebit_gravity
field.
-
win_gravity
public int win_gravity()
Returns the value of thewin_gravity
field.
-
backing_store
public int backing_store()
Returns the value of thebacking_store
field.
-
backing_planes
public long backing_planes()
Returns the value of thebacking_planes
field.
-
backing_pixel
public long backing_pixel()
Returns the value of thebacking_pixel
field.
-
save_under
public boolean save_under()
Returns the value of thesave_under
field.
-
event_mask
public long event_mask()
Returns the value of theevent_mask
field.
-
do_not_propagate_mask
public long do_not_propagate_mask()
Returns the value of thedo_not_propagate_mask
field.
-
override_redirect
public boolean override_redirect()
Returns the value of theoverride_redirect
field.
-
colormap
public long colormap()
Returns the value of thecolormap
field.
-
cursor
public long cursor()
Returns the value of thecursor
field.
-
background_pixmap
public XSetWindowAttributes.Buffer background_pixmap(long value)
Sets the specified value to thebackground_pixmap
field.
-
background_pixel
public XSetWindowAttributes.Buffer background_pixel(long value)
Sets the specified value to thebackground_pixel
field.
-
border_pixmap
public XSetWindowAttributes.Buffer border_pixmap(long value)
Sets the specified value to theborder_pixmap
field.
-
border_pixel
public XSetWindowAttributes.Buffer border_pixel(long value)
Sets the specified value to theborder_pixel
field.
-
bit_gravity
public XSetWindowAttributes.Buffer bit_gravity(int value)
Sets the specified value to thebit_gravity
field.
-
win_gravity
public XSetWindowAttributes.Buffer win_gravity(int value)
Sets the specified value to thewin_gravity
field.
-
backing_store
public XSetWindowAttributes.Buffer backing_store(int value)
Sets the specified value to thebacking_store
field.
-
backing_planes
public XSetWindowAttributes.Buffer backing_planes(long value)
Sets the specified value to thebacking_planes
field.
-
backing_pixel
public XSetWindowAttributes.Buffer backing_pixel(long value)
Sets the specified value to thebacking_pixel
field.
-
save_under
public XSetWindowAttributes.Buffer save_under(boolean value)
Sets the specified value to thesave_under
field.
-
event_mask
public XSetWindowAttributes.Buffer event_mask(long value)
Sets the specified value to theevent_mask
field.
-
do_not_propagate_mask
public XSetWindowAttributes.Buffer do_not_propagate_mask(long value)
Sets the specified value to thedo_not_propagate_mask
field.
-
override_redirect
public XSetWindowAttributes.Buffer override_redirect(boolean value)
Sets the specified value to theoverride_redirect
field.
-
colormap
public XSetWindowAttributes.Buffer colormap(long value)
Sets the specified value to thecolormap
field.
-
cursor
public XSetWindowAttributes.Buffer cursor(long value)
Sets the specified value to thecursor
field.
-
-