Package org.lwjgl.system.linux
Class XConfigureEvent.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XConfigureEvent,XConfigureEvent.Buffer>
-
- org.lwjgl.system.linux.XConfigureEvent.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XConfigureEvent>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XConfigureEvent
public static class XConfigureEvent.Buffer extends org.lwjgl.system.StructBuffer<XConfigureEvent,XConfigureEvent.Buffer> implements org.lwjgl.system.NativeResource
An array ofXConfigureEventstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longabove()XConfigureEvent.Bufferabove(long value)Sets the specified value to theabovefield.intborder_width()XConfigureEvent.Bufferborder_width(int value)Sets the specified value to theborder_widthfield.longdisplay()XConfigureEvent.Bufferdisplay(long value)Sets the specified value to theXConfigureEvent.display()field.intheight()XConfigureEvent.Bufferheight(int value)Sets the specified value to theheightfield.booleanoverride_redirect()XConfigureEvent.Bufferoverride_redirect(boolean value)Sets the specified value to theoverride_redirectfield.booleansend_event()XConfigureEvent.Buffersend_event(boolean value)Sets the specified value to theXConfigureEvent.send_event()field.longserial()XConfigureEvent.Bufferserial(long value)Sets the specified value to theXConfigureEvent.serial()field.inttype()XConfigureEvent.Buffertype(int value)Sets the specified value to thetypefield.intwidth()XConfigureEvent.Bufferwidth(int value)Sets the specified value to thewidthfield.longwindow()XConfigureEvent.Bufferwindow(long value)Sets the specified value to theXConfigureEvent.window()field.intx()XConfigureEvent.Bufferx(int value)Sets the specified value to thexfield.inty()XConfigureEvent.Buffery(int value)Sets the specified value to theyfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXConfigureEvent.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 byXConfigureEvent.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
-
type
public int type()
- Returns:
- the value of the
typefield.
-
serial
public long serial()
- Returns:
- the value of the
XConfigureEvent.serial()field.
-
send_event
public boolean send_event()
- Returns:
- the value of the
XConfigureEvent.send_event()field.
-
display
public long display()
- Returns:
- the value of the
XConfigureEvent.display()field.
-
window
public long window()
- Returns:
- the value of the
XConfigureEvent.window()field.
-
x
public int x()
- Returns:
- the value of the
xfield.
-
y
public int y()
- Returns:
- the value of the
yfield.
-
width
public int width()
- Returns:
- the value of the
widthfield.
-
height
public int height()
- Returns:
- the value of the
heightfield.
-
border_width
public int border_width()
- Returns:
- the value of the
border_widthfield.
-
above
public long above()
- Returns:
- the value of the
abovefield.
-
override_redirect
public boolean override_redirect()
- Returns:
- the value of the
override_redirectfield.
-
type
public XConfigureEvent.Buffer type(int value)
Sets the specified value to thetypefield.
-
serial
public XConfigureEvent.Buffer serial(long value)
Sets the specified value to theXConfigureEvent.serial()field.
-
send_event
public XConfigureEvent.Buffer send_event(boolean value)
Sets the specified value to theXConfigureEvent.send_event()field.
-
display
public XConfigureEvent.Buffer display(long value)
Sets the specified value to theXConfigureEvent.display()field.
-
window
public XConfigureEvent.Buffer window(long value)
Sets the specified value to theXConfigureEvent.window()field.
-
x
public XConfigureEvent.Buffer x(int value)
Sets the specified value to thexfield.
-
y
public XConfigureEvent.Buffer y(int value)
Sets the specified value to theyfield.
-
width
public XConfigureEvent.Buffer width(int value)
Sets the specified value to thewidthfield.
-
height
public XConfigureEvent.Buffer height(int value)
Sets the specified value to theheightfield.
-
border_width
public XConfigureEvent.Buffer border_width(int value)
Sets the specified value to theborder_widthfield.
-
above
public XConfigureEvent.Buffer above(long value)
Sets the specified value to theabovefield.
-
override_redirect
public XConfigureEvent.Buffer override_redirect(boolean value)
Sets the specified value to theoverride_redirectfield.
-
-