struct YGNodeFlags {
bool hasNewLayout : 1;
bool isReferenceBaseline : 1;
bool isDirty : 1;
YGNodeType nodeType : 1;
bool measureUsesContext : 1;
bool baselineUsesContext : 1;
bool printUsesContext : 1;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | YGNodeFlags.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | YGNodeFlags(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public YGNodeFlags | |
| public static YGNodeFlags | |
| public static YGNodeFlags. | calloc(int
the buffer capacity capacity)Returns a new |
| public static YGNodeFlags | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static YGNodeFlags. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected YGNodeFlags | 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 YGNodeFlags | |
| public static YGNodeFlags | |
| public static YGNodeFlags. | create(int
the buffer capacity capacity)Returns a new |
| public static YGNodeFlags. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static YGNodeFlags | |
| public static YGNodeFlags. | |
| public boolean | |
| public YGNodeFlags | |
| public boolean | |
| public YGNodeFlags | |
| public boolean | |
| public YGNodeFlags | |
| public static YGNodeFlags | |
| public static YGNodeFlags. | malloc(int
the buffer capacity capacity)Returns a new |
| public static YGNodeFlags | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static YGNodeFlags. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | |
| public YGNodeFlags | |
| public static boolean | |
| public static native void | |
| public static byte | |
| public static void | |
| public static boolean | |
| public static native void | |
| public static boolean | |
| public static native void | |
| public static boolean | |
| public static native void | |
| public static boolean | |
| public static native void | |
| public static int | |
| public static native void | |
| public int | |
| public YGNodeFlags | |
| public static boolean | |
| public static native void | |
| public boolean | |
| public YGNodeFlags | |
| public YGNodeFlags | set(boolean hasNewLayout, boolean isReferenceBaseline, boolean isDirty, int nodeType, boolean measureUsesContext, boolean baselineUsesContext, boolean printUsesContext)
Initializes this struct with the specified values. |
| public YGNodeFlags | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| YGNodeFlags | back to summary |
|---|---|
| protected YGNodeFlags(long address, ByteBuffer container) | |
| YGNodeFlags | back to summary |
|---|---|
| public YGNodeFlags(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| baselineUsesContext | back to summary |
|---|---|
public boolean baselineUsesContext()
| |
| baselineUsesContext | back to summary |
|---|---|
| public YGNodeFlags baselineUsesContext(boolean value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static YGNodeFlags calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static YGNodeFlags. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static YGNodeFlags calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static YGNodeFlags. Returns a new
| |
| create | back to summary |
|---|---|
| protected YGNodeFlags create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static YGNodeFlags create() Returns a new | |
| create | back to summary |
|---|---|
| public static YGNodeFlags create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static YGNodeFlags. Returns a new
| |
| create | back to summary |
|---|---|
| public static YGNodeFlags. Create a
| |
| createSafe | back to summary |
|---|---|
| public static YGNodeFlags createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static YGNodeFlags. Like
| |
| hasNewLayout | back to summary |
|---|---|
public boolean hasNewLayout()
| |
| hasNewLayout | back to summary |
|---|---|
| public YGNodeFlags hasNewLayout(boolean value) Sets the specified value to the | |
| isDirty | back to summary |
|---|---|
public boolean isDirty()
| |
| isDirty | back to summary |
|---|---|
| public YGNodeFlags isDirty(boolean value) Sets the specified value to the | |
| isReferenceBaseline | back to summary |
|---|---|
public boolean isReferenceBaseline()
| |
| isReferenceBaseline | back to summary |
|---|---|
| public YGNodeFlags isReferenceBaseline(boolean value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static YGNodeFlags malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static YGNodeFlags. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static YGNodeFlags malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static YGNodeFlags. Returns a new
| |
| measureUsesContext | back to summary |
|---|---|
public boolean measureUsesContext()
| |
| measureUsesContext | back to summary |
|---|---|
| public YGNodeFlags measureUsesContext(boolean value) Sets the specified value to the | |
| nbaselineUsesContext | back to summary |
|---|---|
| public static boolean nbaselineUsesContext(long struct) Unsafe version of | |
| nbaselineUsesContext | back to summary |
|---|---|
| public static native void nbaselineUsesContext(long struct, boolean value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static byte nflags(long struct) | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, byte value) | |
| nhasNewLayout | back to summary |
|---|---|
| public static boolean nhasNewLayout(long struct) Unsafe version of | |
| nhasNewLayout | back to summary |
|---|---|
| public static native void nhasNewLayout(long struct, boolean value) Unsafe version of | |
| nisDirty | back to summary |
|---|---|
| public static boolean nisDirty(long struct) Unsafe version of | |
| nisDirty | back to summary |
|---|---|
| public static native void nisDirty(long struct, boolean value) Unsafe version of | |
| nisReferenceBaseline | back to summary |
|---|---|
| public static boolean nisReferenceBaseline(long struct) Unsafe version of | |
| nisReferenceBaseline | back to summary |
|---|---|
| public static native void nisReferenceBaseline(long struct, boolean value) Unsafe version of | |
| nmeasureUsesContext | back to summary |
|---|---|
| public static boolean nmeasureUsesContext(long struct) Unsafe version of | |
| nmeasureUsesContext | back to summary |
|---|---|
| public static native void nmeasureUsesContext(long struct, boolean value) Unsafe version of | |
| nnodeType | back to summary |
|---|---|
| public static int nnodeType(long struct) Unsafe version of | |
| nnodeType | back to summary |
|---|---|
| public static native void nnodeType(long struct, int value) Unsafe version of | |
| nodeType | back to summary |
|---|---|
public int nodeType()
| |
| nodeType | back to summary |
|---|---|
| public YGNodeFlags nodeType(int value) Sets the specified value to the | |
| nprintUsesContext | back to summary |
|---|---|
| public static boolean nprintUsesContext(long struct) Unsafe version of | |
| nprintUsesContext | back to summary |
|---|---|
| public static native void nprintUsesContext(long struct, boolean value) Unsafe version of | |
| printUsesContext | back to summary |
|---|---|
public boolean printUsesContext()
| |
| printUsesContext | back to summary |
|---|---|
| public YGNodeFlags printUsesContext(boolean value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public YGNodeFlags set(boolean hasNewLayout, boolean isReferenceBaseline, boolean isDirty, int nodeType, boolean measureUsesContext, boolean baselineUsesContext, boolean printUsesContext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public YGNodeFlags set(YGNodeFlags src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
YGNodeFlags structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final YGNodeFlags |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public YGNodeFlags. | |
| protected YGNodeFlags | |
| public boolean | |
| public YGNodeFlags. | |
| public boolean | |
| public YGNodeFlags. | |
| public boolean | |
| public YGNodeFlags. | |
| public boolean | |
| public YGNodeFlags. | |
| public int | |
| public YGNodeFlags. | |
| public boolean | |
| public YGNodeFlags. | |
| protected YGNodeFlags. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final YGNodeFlags 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) | |
| baselineUsesContext | back to summary |
|---|---|
public boolean baselineUsesContext()
| |
| baselineUsesContext | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected YGNodeFlags getElementFactory() Implements abstract org.
| |
| hasNewLayout | back to summary |
|---|---|
public boolean hasNewLayout()
| |
| hasNewLayout | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| isDirty | back to summary |
|---|---|
public boolean isDirty()
| |
| isDirty | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| isReferenceBaseline | back to summary |
|---|---|
public boolean isReferenceBaseline()
| |
| isReferenceBaseline | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| measureUsesContext | back to summary |
|---|---|
public boolean measureUsesContext()
| |
| measureUsesContext | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| nodeType | back to summary |
|---|---|
public int nodeType()
| |
| nodeType | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| printUsesContext | back to summary |
|---|---|
public boolean printUsesContext()
| |
| printUsesContext | back to summary |
|---|---|
| public YGNodeFlags. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected YGNodeFlags. Implements abstract org.
| |