| Modifier and Type | Class and Description |
|---|---|
| public static class | XTimeCoord.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TIME
The struct member offsets. |
| public static final int | X
The struct member offsets. |
| public static final int | Y
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XTimeCoord(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected XTimeCoord | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XTimeCoord | |
| public static XTimeCoord. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XTimeCoord | |
| public static XTimeCoord. | |
| public static long | |
| public static short | |
| public static short | |
| public int | |
| public long | |
| public short | |
| public short |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TIME | back to summary |
|---|---|
| public static final int TIME The struct member offsets. | |
| X | back to summary |
|---|---|
| public static final int X The struct member offsets. | |
| Y | back to summary |
|---|---|
| public static final int Y The struct member offsets. | |
| XTimeCoord | back to summary |
|---|---|
| protected XTimeCoord(long address, ByteBuffer container) | |
| XTimeCoord | back to summary |
|---|---|
| public XTimeCoord(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected XTimeCoord create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XTimeCoord create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XTimeCoord. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XTimeCoord createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XTimeCoord. Like
| |
| ntime | back to summary |
|---|---|
| public static long ntime(long struct) Unsafe version of | |
| nx | back to summary |
|---|---|
| public static short nx(long struct) Unsafe version of | |
| ny | back to summary |
|---|---|
| public static short ny(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| time | back to summary |
|---|---|
| public long time() the time, in milliseconds
| |
| x | back to summary |
|---|---|
| public short x() the x coordinate of the pointer relative to the origin of the specified window | |
| y | back to summary |
|---|---|
| public short y() the y coordinate of the pointer relative to the origin of the specified window | |
XTimeCoord structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XTimeCoord |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XTimeCoord | |
| protected XTimeCoord. | |
| public long | |
| public short | |
| public short |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XTimeCoord ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected XTimeCoord getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected XTimeCoord. Implements abstract org.
| |
| time | back to summary |
|---|---|
public long time()
| |
| x | back to summary |
|---|---|
public short x()
| |
| y | back to summary |
|---|---|
public short y()
| |