public class XConfigureRequestEvent
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
serial – # of last request processed by serversend_event – true if this came from an X11.XSendEvent(long, long, boolean, long, org.lwjgl.system.linux.XEvent) requestdisplay – Display the event was read fromdetail – one of:X11.Above | X11.Below | X11.TopIf | X11.BottomIf | X11.Opposite |
struct XConfigureRequestEvent {
int type;
unsigned long serial;
Bool send_event;
Display * display;
Window parent;
Window window;
int x;
int y;
int width;
int height;
int border_width;
Window above;
int detail;
unsigned long value_mask;
}| Modifier and Type | Class and Description |
|---|---|
static class |
XConfigureRequestEvent.Buffer
An array of
XConfigureRequestEvent structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ABOVE
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BORDER_WIDTH
The struct member offsets.
|
static int |
DETAIL
The struct member offsets.
|
static int |
DISPLAY
The struct member offsets.
|
static int |
HEIGHT
The struct member offsets.
|
static int |
PARENT
The struct member offsets.
|
static int |
SEND_EVENT
The struct member offsets.
|
static int |
SERIAL
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TYPE
The struct member offsets.
|
static int |
VALUE_MASK
The struct member offsets.
|
static int |
WIDTH
The struct member offsets.
|
static int |
WINDOW
The struct member offsets.
|
static int |
X
The struct member offsets.
|
static int |
Y
The struct member offsets.
|
| Constructor and Description |
|---|
XConfigureRequestEvent(java.nio.ByteBuffer container)
Creates a
XConfigureRequestEvent instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
long |
above()
Returns the value of the
above field. |
XConfigureRequestEvent |
above(long value)
Sets the specified value to the
above field. |
int |
border_width()
Returns the value of the
border_width field. |
XConfigureRequestEvent |
border_width(int value)
Sets the specified value to the
border_width field. |
static XConfigureRequestEvent |
calloc()
Returns a new
XConfigureRequestEvent instance allocated with memCalloc. |
static XConfigureRequestEvent.Buffer |
calloc(int capacity)
Returns a new
XConfigureRequestEvent.Buffer instance allocated with memCalloc. |
static XConfigureRequestEvent |
callocStack()
Returns a new
XConfigureRequestEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XConfigureRequestEvent.Buffer |
callocStack(int capacity)
Returns a new
XConfigureRequestEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static XConfigureRequestEvent.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XConfigureRequestEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XConfigureRequestEvent |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XConfigureRequestEvent instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static XConfigureRequestEvent |
create()
Returns a new
XConfigureRequestEvent instance allocated with BufferUtils. |
static XConfigureRequestEvent.Buffer |
create(int capacity)
Returns a new
XConfigureRequestEvent.Buffer instance allocated with BufferUtils. |
static XConfigureRequestEvent |
create(long address)
Returns a new
XConfigureRequestEvent instance for the specified memory address. |
static XConfigureRequestEvent.Buffer |
create(long address,
int capacity)
Create a
XConfigureRequestEvent.Buffer instance at the specified memory. |
static XConfigureRequestEvent |
createSafe(long address)
|
static XConfigureRequestEvent.Buffer |
createSafe(long address,
int capacity)
|
int |
detail()
Returns the value of the
detail field. |
XConfigureRequestEvent |
detail(int value)
Sets the specified value to the
detail field. |
long |
display()
Returns the value of the
display field. |
XConfigureRequestEvent |
display(long value)
Sets the specified value to the
display field. |
int |
height()
Returns the value of the
height field. |
XConfigureRequestEvent |
height(int value)
Sets the specified value to the
height field. |
static XConfigureRequestEvent |
malloc()
Returns a new
XConfigureRequestEvent instance allocated with memAlloc. |
static XConfigureRequestEvent.Buffer |
malloc(int capacity)
Returns a new
XConfigureRequestEvent.Buffer instance allocated with memAlloc. |
static XConfigureRequestEvent |
mallocStack()
Returns a new
XConfigureRequestEvent instance allocated on the thread-local MemoryStack. |
static XConfigureRequestEvent.Buffer |
mallocStack(int capacity)
Returns a new
XConfigureRequestEvent.Buffer instance allocated on the thread-local MemoryStack. |
static XConfigureRequestEvent.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
XConfigureRequestEvent.Buffer instance allocated on the specified MemoryStack. |
static XConfigureRequestEvent |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
XConfigureRequestEvent instance allocated on the specified MemoryStack. |
static long |
nabove(long struct)
Unsafe version of
above(). |
static void |
nabove(long struct,
long value)
Unsafe version of
above. |
static int |
nborder_width(long struct)
Unsafe version of
border_width(). |
static void |
nborder_width(long struct,
int value)
Unsafe version of
border_width. |
static int |
ndetail(long struct)
Unsafe version of
detail(). |
static void |
ndetail(long struct,
int value)
Unsafe version of
detail. |
static long |
ndisplay(long struct)
Unsafe version of
display(). |
static void |
ndisplay(long struct,
long value)
Unsafe version of
display. |
static int |
nheight(long struct)
Unsafe version of
height(). |
static void |
nheight(long struct,
int value)
Unsafe version of
height. |
static long |
nparent(long struct)
Unsafe version of
parent(). |
static void |
nparent(long struct,
long value)
Unsafe version of
parent. |
static int |
nsend_event(long struct)
Unsafe version of
send_event(). |
static void |
nsend_event(long struct,
int value)
Unsafe version of
send_event. |
static long |
nserial(long struct)
Unsafe version of
serial(). |
static void |
nserial(long struct,
long value)
Unsafe version of
serial. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
static long |
nvalue_mask(long struct)
Unsafe version of
value_mask(). |
static void |
nvalue_mask(long struct,
long value)
Unsafe version of
value_mask. |
static int |
nwidth(long struct)
Unsafe version of
width(). |
static void |
nwidth(long struct,
int value)
Unsafe version of
width. |
static long |
nwindow(long struct)
Unsafe version of
window(). |
static void |
nwindow(long struct,
long value)
Unsafe version of
window. |
static int |
nx(long struct)
Unsafe version of
x(). |
static void |
nx(long struct,
int value)
Unsafe version of
x. |
static int |
ny(long struct)
Unsafe version of
y(). |
static void |
ny(long struct,
int value)
Unsafe version of
y. |
long |
parent()
Returns the value of the
parent field. |
XConfigureRequestEvent |
parent(long value)
Sets the specified value to the
parent field. |
boolean |
send_event()
Returns the value of the
send_event field. |
XConfigureRequestEvent |
send_event(boolean value)
Sets the specified value to the
send_event field. |
long |
serial()
Returns the value of the
serial field. |
XConfigureRequestEvent |
serial(long value)
Sets the specified value to the
serial field. |
XConfigureRequestEvent |
set(int type,
long serial,
boolean send_event,
long display,
long parent,
long window,
int x,
int y,
int width,
int height,
int border_width,
long above,
int detail,
long value_mask)
Initializes this struct with the specified values.
|
XConfigureRequestEvent |
set(XConfigureRequestEvent src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
type()
Returns the value of the
type field. |
XConfigureRequestEvent |
type(int value)
Sets the specified value to the
type field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
long |
value_mask()
Returns the value of the
value_mask field. |
XConfigureRequestEvent |
value_mask(long value)
Sets the specified value to the
value_mask field. |
int |
width()
Returns the value of the
width field. |
XConfigureRequestEvent |
width(int value)
Sets the specified value to the
width field. |
long |
window()
Returns the value of the
window field. |
XConfigureRequestEvent |
window(long value)
Sets the specified value to the
window field. |
int |
x()
Returns the value of the
x field. |
XConfigureRequestEvent |
x(int value)
Sets the specified value to the
x field. |
int |
y()
Returns the value of the
y field. |
XConfigureRequestEvent |
y(int value)
Sets the specified value to the
y field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TYPE
public static final int SERIAL
public static final int SEND_EVENT
public static final int DISPLAY
public static final int PARENT
public static final int WINDOW
public static final int X
public static final int Y
public static final int WIDTH
public static final int HEIGHT
public static final int BORDER_WIDTH
public static final int ABOVE
public static final int DETAIL
public static final int VALUE_MASK
public XConfigureRequestEvent(java.nio.ByteBuffer container)
XConfigureRequestEvent instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int type()
type field.public long serial()
serial field.public boolean send_event()
send_event field.public long display()
display field.public long parent()
parent field.public long window()
window field.public int x()
x field.public int y()
y field.public int width()
width field.public int height()
height field.public int border_width()
border_width field.public long above()
above field.public int detail()
detail field.public long value_mask()
value_mask field.public XConfigureRequestEvent type(int value)
type field.public XConfigureRequestEvent serial(long value)
serial field.public XConfigureRequestEvent send_event(boolean value)
send_event field.public XConfigureRequestEvent display(long value)
display field.public XConfigureRequestEvent parent(long value)
parent field.public XConfigureRequestEvent window(long value)
window field.public XConfigureRequestEvent x(int value)
x field.public XConfigureRequestEvent y(int value)
y field.public XConfigureRequestEvent width(int value)
width field.public XConfigureRequestEvent height(int value)
height field.public XConfigureRequestEvent border_width(int value)
border_width field.public XConfigureRequestEvent above(long value)
above field.public XConfigureRequestEvent detail(int value)
detail field.public XConfigureRequestEvent value_mask(long value)
value_mask field.public XConfigureRequestEvent set(int type, long serial, boolean send_event, long display, long parent, long window, int x, int y, int width, int height, int border_width, long above, int detail, long value_mask)
public XConfigureRequestEvent set(XConfigureRequestEvent src)
src - the source structpublic static XConfigureRequestEvent malloc()
XConfigureRequestEvent instance allocated with memAlloc. The instance must be explicitly freed.public static XConfigureRequestEvent calloc()
XConfigureRequestEvent instance allocated with memCalloc. The instance must be explicitly freed.public static XConfigureRequestEvent create()
XConfigureRequestEvent instance allocated with BufferUtils.public static XConfigureRequestEvent create(long address)
XConfigureRequestEvent instance for the specified memory address.@Nullable public static XConfigureRequestEvent createSafe(long address)
public static XConfigureRequestEvent.Buffer malloc(int capacity)
XConfigureRequestEvent.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer calloc(int capacity)
XConfigureRequestEvent.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer create(int capacity)
XConfigureRequestEvent.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer create(long address, int capacity)
XConfigureRequestEvent.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static XConfigureRequestEvent.Buffer createSafe(long address, int capacity)
public static XConfigureRequestEvent mallocStack()
XConfigureRequestEvent instance allocated on the thread-local MemoryStack.public static XConfigureRequestEvent callocStack()
XConfigureRequestEvent instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static XConfigureRequestEvent mallocStack(org.lwjgl.system.MemoryStack stack)
XConfigureRequestEvent instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static XConfigureRequestEvent callocStack(org.lwjgl.system.MemoryStack stack)
XConfigureRequestEvent instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static XConfigureRequestEvent.Buffer mallocStack(int capacity)
XConfigureRequestEvent.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer callocStack(int capacity)
XConfigureRequestEvent.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XConfigureRequestEvent.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static XConfigureRequestEvent.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
XConfigureRequestEvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int ntype(long struct)
type().public static long nserial(long struct)
serial().public static int nsend_event(long struct)
send_event().public static long ndisplay(long struct)
display().public static long nparent(long struct)
parent().public static long nwindow(long struct)
window().public static int nx(long struct)
x().public static int ny(long struct)
y().public static int nwidth(long struct)
width().public static int nheight(long struct)
height().public static int nborder_width(long struct)
border_width().public static long nabove(long struct)
above().public static int ndetail(long struct)
detail().public static long nvalue_mask(long struct)
value_mask().public static void ntype(long struct,
int value)
type.public static void nserial(long struct,
long value)
serial.public static void nsend_event(long struct,
int value)
send_event.public static void ndisplay(long struct,
long value)
display.public static void nparent(long struct,
long value)
parent.public static void nwindow(long struct,
long value)
window.public static void nx(long struct,
int value)
x.public static void ny(long struct,
int value)
y.public static void nwidth(long struct,
int value)
width.public static void nheight(long struct,
int value)
height.public static void nborder_width(long struct,
int value)
border_width.public static void nabove(long struct,
long value)
above.public static void ndetail(long struct,
int value)
detail.public static void nvalue_mask(long struct,
long value)
value_mask.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.