All operations on a JAWT_DrawingSurface MUST be performed from the same thread as the call to GetDrawingSurface.
struct JAWT_DrawingSurface {
JNIEnv * env;
jobject target;
void * Lock;
void * GetDrawingSurfaceInfo;
void * FreeDrawingSurfaceInfo;
void * Unlock;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | JAWTDrawingSurface.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ENV
The struct member offsets. |
| public static final int | FREEDRAWINGSURFACEINFO
The struct member offsets. |
| public static final int | GETDRAWINGSURFACEINFO
The struct member offsets. |
| public static final int | LOCK
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TARGET
The struct member offsets. |
| public static final int | UNLOCK
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | JAWTDrawingSurface(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected JAWTDrawingSurface | 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 JAWTDrawingSurface | |
| public static JAWTDrawingSurface. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static JAWTDrawingSurface | |
| public static JAWTDrawingSurface. | |
| public long | |
| public long | |
| public long | |
| public long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public int | |
| public long | |
| public long |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ENV | back to summary |
|---|---|
| public static final int ENV The struct member offsets. | |
| FREEDRAWINGSURFACEINFO | back to summary |
|---|---|
| public static final int FREEDRAWINGSURFACEINFO The struct member offsets. | |
| GETDRAWINGSURFACEINFO | back to summary |
|---|---|
| public static final int GETDRAWINGSURFACEINFO The struct member offsets. | |
| LOCK | back to summary |
|---|---|
| public static final int LOCK The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TARGET | back to summary |
|---|---|
| public static final int TARGET The struct member offsets. | |
| UNLOCK | back to summary |
|---|---|
| public static final int UNLOCK The struct member offsets. | |
| JAWTDrawingSurface | back to summary |
|---|---|
| protected JAWTDrawingSurface(long address, ByteBuffer container) | |
| JAWTDrawingSurface | back to summary |
|---|---|
| public JAWTDrawingSurface(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected JAWTDrawingSurface create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static JAWTDrawingSurface create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static JAWTDrawingSurface. Create a
| |
| createSafe | back to summary |
|---|---|
| public static JAWTDrawingSurface createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static JAWTDrawingSurface. Like
| |
| env | back to summary |
|---|---|
| public long env() Cached reference to the Java environment of the calling thread. If Lock(), Unlock(), GetDrawingSurfaceInfo() or FreeDrawingSurfaceInfo() are called from a different thread, this data member should be set before calling those functions.
| |
| FreeDrawingSurfaceInfo | back to summary |
|---|---|
public long FreeDrawingSurfaceInfo()
| |
| GetDrawingSurfaceInfo | back to summary |
|---|---|
public long GetDrawingSurfaceInfo()
| |
| Lock | back to summary |
|---|---|
public long Lock()
| |
| nenv | back to summary |
|---|---|
| public static long nenv(long struct) Unsafe version of | |
| nFreeDrawingSurfaceInfo | back to summary |
|---|---|
| public static long nFreeDrawingSurfaceInfo(long struct) Unsafe version of | |
| nGetDrawingSurfaceInfo | back to summary |
|---|---|
| public static long nGetDrawingSurfaceInfo(long struct) Unsafe version of | |
| nLock | back to summary |
|---|---|
| public static long nLock(long struct) Unsafe version of | |
| ntarget | back to summary |
|---|---|
| public static long ntarget(long struct) Unsafe version of | |
| nUnlock | back to summary |
|---|---|
| public static long nUnlock(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| target | back to summary |
|---|---|
| public long target() Cached reference to the target object.
| |
| Unlock | back to summary |
|---|---|
public long Unlock()
| |
JAWTDrawingSurface structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final JAWTDrawingSurface |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public long | |
| protected JAWTDrawingSurface | |
| public long | |
| protected JAWTDrawingSurface. | |
| public long | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final JAWTDrawingSurface 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) | |
| env | back to summary |
|---|---|
public long env()
| |
| FreeDrawingSurfaceInfo | back to summary |
|---|---|
public long FreeDrawingSurfaceInfo()
| |
| GetDrawingSurfaceInfo | back to summary |
|---|---|
public long GetDrawingSurfaceInfo()
| |
| getElementFactory | back to summary |
|---|---|
| protected JAWTDrawingSurface getElementFactory() Implements abstract org.
| |
| Lock | back to summary |
|---|---|
public long Lock()
| |
| self | back to summary |
|---|---|
| protected JAWTDrawingSurface. Implements abstract org.
| |
| target | back to summary |
|---|---|
public long target()
| |
| Unlock | back to summary |
|---|---|
public long Unlock()
| |