Package org.lwjgl.system.linux
Class XButtonEvent.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XButtonEvent,XButtonEvent.Buffer>
-
- org.lwjgl.system.linux.XButtonEvent.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<XButtonEvent>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- XButtonEvent
public static class XButtonEvent.Buffer extends org.lwjgl.system.StructBuffer<XButtonEvent,XButtonEvent.Buffer> implements org.lwjgl.system.NativeResource
An array ofXButtonEvent
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
button()
XButtonEvent.Buffer
button(int value)
Sets the specified value to theXButtonEvent.button()
field.long
display()
XButtonEvent.Buffer
display(long value)
Sets the specified value to theXButtonEvent.display()
field.long
root()
XButtonEvent.Buffer
root(long value)
Sets the specified value to theXButtonEvent.root()
field.boolean
same_screen()
XButtonEvent.Buffer
same_screen(boolean value)
Sets the specified value to theXButtonEvent.same_screen()
field.boolean
send_event()
XButtonEvent.Buffer
send_event(boolean value)
Sets the specified value to theXButtonEvent.send_event()
field.long
serial()
XButtonEvent.Buffer
serial(long value)
Sets the specified value to theXButtonEvent.serial()
field.int
state()
XButtonEvent.Buffer
state(int value)
Sets the specified value to theXButtonEvent.state()
field.long
subwindow()
XButtonEvent.Buffer
subwindow(long value)
Sets the specified value to theXButtonEvent.subwindow()
field.long
time()
XButtonEvent.Buffer
time(long value)
Sets the specified value to theXButtonEvent.time()
field.int
type()
XButtonEvent.Buffer
type(int value)
Sets the specified value to theXButtonEvent.type()
field.long
window()
XButtonEvent.Buffer
window(long value)
Sets the specified value to theXButtonEvent.window()
field.int
x()
XButtonEvent.Buffer
x(int value)
Sets the specified value to theXButtonEvent.x()
field.int
x_root()
XButtonEvent.Buffer
x_root(int value)
Sets the specified value to theXButtonEvent.x_root()
field.int
y()
XButtonEvent.Buffer
y(int value)
Sets the specified value to theXButtonEvent.y()
field.int
y_root()
XButtonEvent.Buffer
y_root(int value)
Sets the specified value to theXButtonEvent.y_root()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXButtonEvent.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 byXButtonEvent.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
XButtonEvent.type()
field.
-
serial
public long serial()
- Returns:
- the value of the
XButtonEvent.serial()
field.
-
send_event
public boolean send_event()
- Returns:
- the value of the
XButtonEvent.send_event()
field.
-
display
public long display()
- Returns:
- the value of the
XButtonEvent.display()
field.
-
window
public long window()
- Returns:
- the value of the
XButtonEvent.window()
field.
-
root
public long root()
- Returns:
- the value of the
XButtonEvent.root()
field.
-
subwindow
public long subwindow()
- Returns:
- the value of the
XButtonEvent.subwindow()
field.
-
time
public long time()
- Returns:
- the value of the
XButtonEvent.time()
field.
-
x
public int x()
- Returns:
- the value of the
XButtonEvent.x()
field.
-
y
public int y()
- Returns:
- the value of the
XButtonEvent.y()
field.
-
x_root
public int x_root()
- Returns:
- the value of the
XButtonEvent.x_root()
field.
-
y_root
public int y_root()
- Returns:
- the value of the
XButtonEvent.y_root()
field.
-
state
public int state()
- Returns:
- the value of the
XButtonEvent.state()
field.
-
button
public int button()
- Returns:
- the value of the
XButtonEvent.button()
field.
-
same_screen
public boolean same_screen()
- Returns:
- the value of the
XButtonEvent.same_screen()
field.
-
type
public XButtonEvent.Buffer type(int value)
Sets the specified value to theXButtonEvent.type()
field.
-
serial
public XButtonEvent.Buffer serial(long value)
Sets the specified value to theXButtonEvent.serial()
field.
-
send_event
public XButtonEvent.Buffer send_event(boolean value)
Sets the specified value to theXButtonEvent.send_event()
field.
-
display
public XButtonEvent.Buffer display(long value)
Sets the specified value to theXButtonEvent.display()
field.
-
window
public XButtonEvent.Buffer window(long value)
Sets the specified value to theXButtonEvent.window()
field.
-
root
public XButtonEvent.Buffer root(long value)
Sets the specified value to theXButtonEvent.root()
field.
-
subwindow
public XButtonEvent.Buffer subwindow(long value)
Sets the specified value to theXButtonEvent.subwindow()
field.
-
time
public XButtonEvent.Buffer time(long value)
Sets the specified value to theXButtonEvent.time()
field.
-
x
public XButtonEvent.Buffer x(int value)
Sets the specified value to theXButtonEvent.x()
field.
-
y
public XButtonEvent.Buffer y(int value)
Sets the specified value to theXButtonEvent.y()
field.
-
x_root
public XButtonEvent.Buffer x_root(int value)
Sets the specified value to theXButtonEvent.x_root()
field.
-
y_root
public XButtonEvent.Buffer y_root(int value)
Sets the specified value to theXButtonEvent.y_root()
field.
-
state
public XButtonEvent.Buffer state(int value)
Sets the specified value to theXButtonEvent.state()
field.
-
button
public XButtonEvent.Buffer button(int value)
Sets the specified value to theXButtonEvent.button()
field.
-
same_screen
public XButtonEvent.Buffer same_screen(boolean value)
Sets the specified value to theXButtonEvent.same_screen()
field.
-
-