Package org.lwjgl.system.linux
Class XFocusChangeEvent.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XFocusChangeEvent,XFocusChangeEvent.Buffer>
-
- org.lwjgl.system.linux.XFocusChangeEvent.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<XFocusChangeEvent>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- XFocusChangeEvent
public static class XFocusChangeEvent.Buffer extends org.lwjgl.system.StructBuffer<XFocusChangeEvent,XFocusChangeEvent.Buffer> implements org.lwjgl.system.NativeResource
An array ofXFocusChangeEvent
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
detail()
XFocusChangeEvent.Buffer
detail(int value)
Sets the specified value to theXFocusChangeEvent.detail()
field.long
display()
XFocusChangeEvent.Buffer
display(long value)
Sets the specified value to theXFocusChangeEvent.display()
field.int
mode()
XFocusChangeEvent.Buffer
mode(int value)
Sets the specified value to theXFocusChangeEvent.mode()
field.boolean
send_event()
XFocusChangeEvent.Buffer
send_event(boolean value)
Sets the specified value to theXFocusChangeEvent.send_event()
field.long
serial()
XFocusChangeEvent.Buffer
serial(long value)
Sets the specified value to theXFocusChangeEvent.serial()
field.int
type()
XFocusChangeEvent.Buffer
type(int value)
Sets the specified value to theXFocusChangeEvent.type()
field.long
window()
XFocusChangeEvent.Buffer
window(long value)
Sets the specified value to theXFocusChangeEvent.window()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXFocusChangeEvent.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 byXFocusChangeEvent.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
XFocusChangeEvent.type()
field.
-
serial
public long serial()
- Returns:
- the value of the
XFocusChangeEvent.serial()
field.
-
send_event
public boolean send_event()
- Returns:
- the value of the
XFocusChangeEvent.send_event()
field.
-
display
public long display()
- Returns:
- the value of the
XFocusChangeEvent.display()
field.
-
window
public long window()
- Returns:
- the value of the
XFocusChangeEvent.window()
field.
-
mode
public int mode()
- Returns:
- the value of the
XFocusChangeEvent.mode()
field.
-
detail
public int detail()
- Returns:
- the value of the
XFocusChangeEvent.detail()
field.
-
type
public XFocusChangeEvent.Buffer type(int value)
Sets the specified value to theXFocusChangeEvent.type()
field.
-
serial
public XFocusChangeEvent.Buffer serial(long value)
Sets the specified value to theXFocusChangeEvent.serial()
field.
-
send_event
public XFocusChangeEvent.Buffer send_event(boolean value)
Sets the specified value to theXFocusChangeEvent.send_event()
field.
-
display
public XFocusChangeEvent.Buffer display(long value)
Sets the specified value to theXFocusChangeEvent.display()
field.
-
window
public XFocusChangeEvent.Buffer window(long value)
Sets the specified value to theXFocusChangeEvent.window()
field.
-
mode
public XFocusChangeEvent.Buffer mode(int value)
Sets the specified value to theXFocusChangeEvent.mode()
field.
-
detail
public XFocusChangeEvent.Buffer detail(int value)
Sets the specified value to theXFocusChangeEvent.detail()
field.
-
-