Package org.lwjgl.system.linux
Class XSetWindowAttributes.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer>
-
- org.lwjgl.system.linux.XSetWindowAttributes.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- XSetWindowAttributes
public static final class XSetWindowAttributes.Buffer extends StructBuffer<XSetWindowAttributes,XSetWindowAttributes.Buffer>
An array ofXSetWindowAttributesstructs.
-
-
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.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description longbackground_pixel()Returns the value of thebackground_pixelfield.XSetWindowAttributes.Bufferbackground_pixel(long value)Sets the specified value to thebackground_pixelfield.longbackground_pixmap()Returns the value of thebackground_pixmapfield.XSetWindowAttributes.Bufferbackground_pixmap(long value)Sets the specified value to thebackground_pixmapfield.longbacking_pixel()Returns the value of thebacking_pixelfield.XSetWindowAttributes.Bufferbacking_pixel(long value)Sets the specified value to thebacking_pixelfield.longbacking_planes()Returns the value of thebacking_planesfield.XSetWindowAttributes.Bufferbacking_planes(long value)Sets the specified value to thebacking_planesfield.intbacking_store()Returns the value of thebacking_storefield.XSetWindowAttributes.Bufferbacking_store(int value)Sets the specified value to thebacking_storefield.intbit_gravity()Returns the value of thebit_gravityfield.XSetWindowAttributes.Bufferbit_gravity(int value)Sets the specified value to thebit_gravityfield.longborder_pixel()Returns the value of theborder_pixelfield.XSetWindowAttributes.Bufferborder_pixel(long value)Sets the specified value to theborder_pixelfield.longborder_pixmap()Returns the value of theborder_pixmapfield.XSetWindowAttributes.Bufferborder_pixmap(long value)Sets the specified value to theborder_pixmapfield.longcolormap()Returns the value of thecolormapfield.XSetWindowAttributes.Buffercolormap(long value)Sets the specified value to thecolormapfield.longcursor()Returns the value of thecursorfield.XSetWindowAttributes.Buffercursor(long value)Sets the specified value to thecursorfield.longdo_not_propagate_mask()Returns the value of thedo_not_propagate_maskfield.XSetWindowAttributes.Bufferdo_not_propagate_mask(long value)Sets the specified value to thedo_not_propagate_maskfield.longevent_mask()Returns the value of theevent_maskfield.XSetWindowAttributes.Bufferevent_mask(long value)Sets the specified value to theevent_maskfield.intoverride_redirect()Returns the value of theoverride_redirectfield.XSetWindowAttributes.Bufferoverride_redirect(int value)Sets the specified value to theoverride_redirectfield.intsave_under()Returns the value of thesave_underfield.XSetWindowAttributes.Buffersave_under(int value)Sets the specified value to thesave_underfield.intwin_gravity()Returns the value of thewin_gravityfield.XSetWindowAttributes.Bufferwin_gravity(int value)Sets the specified value to thewin_gravityfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, 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
-
-
-
-
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.
-
-
Method Detail
-
background_pixmap
public long background_pixmap()
Returns the value of thebackground_pixmapfield.
-
background_pixel
public long background_pixel()
Returns the value of thebackground_pixelfield.
-
border_pixmap
public long border_pixmap()
Returns the value of theborder_pixmapfield.
-
border_pixel
public long border_pixel()
Returns the value of theborder_pixelfield.
-
bit_gravity
public int bit_gravity()
Returns the value of thebit_gravityfield.
-
win_gravity
public int win_gravity()
Returns the value of thewin_gravityfield.
-
backing_store
public int backing_store()
Returns the value of thebacking_storefield.
-
backing_planes
public long backing_planes()
Returns the value of thebacking_planesfield.
-
backing_pixel
public long backing_pixel()
Returns the value of thebacking_pixelfield.
-
save_under
public int save_under()
Returns the value of thesave_underfield.
-
event_mask
public long event_mask()
Returns the value of theevent_maskfield.
-
do_not_propagate_mask
public long do_not_propagate_mask()
Returns the value of thedo_not_propagate_maskfield.
-
override_redirect
public int override_redirect()
Returns the value of theoverride_redirectfield.
-
colormap
public long colormap()
Returns the value of thecolormapfield.
-
cursor
public long cursor()
Returns the value of thecursorfield.
-
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(int 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(int 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.
-
-