Top Description Inners Constructors Methods
org.lwjgl.util.yoga

public abstract Class YGCloneNodeFunc

extends Callback
implements YGCloneNodeFuncI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.yoga.YGCloneNodeFuncI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.yoga.YGCloneNodeFunc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


YGNodeRef (*invoke) (
    YGNodeRef oldNode,
    YGNodeRef owner,
    int childIndex
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
YGCloneNodeFunc(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static YGCloneNodeFunc

Returns:

the new YGCloneNodeFunc
create
(long functionPointer)

Creates a YGCloneNodeFunc instance from the specified function pointer.

public static YGCloneNodeFunc
create(YGCloneNodeFuncI instance)

Creates a YGCloneNodeFunc instance that delegates to the specified YGCloneNodeFuncI instance.

public static YGCloneNodeFunc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

YGCloneNodeFuncback to summary
protected YGCloneNodeFunc()
YGCloneNodeFuncback to summary
pack-priv YGCloneNodeFunc(long functionPointer)

Method Detail

createback to summary
public static YGCloneNodeFunc create(long functionPointer)

Creates a YGCloneNodeFunc instance from the specified function pointer.

Returns:YGCloneNodeFunc

the new YGCloneNodeFunc

createback to summary
public static YGCloneNodeFunc create(YGCloneNodeFuncI instance)

Creates a YGCloneNodeFunc instance that delegates to the specified YGCloneNodeFuncI instance.

createSafeback to summary
public static YGCloneNodeFunc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.yoga back to summary

private final Class YGCloneNodeFunc.Container

extends YGCloneNodeFunc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final YGCloneNodeFuncI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, YGCloneNodeFuncI delegate)

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long oldNode, long owner, int childIndex)

Implements org.lwjgl.util.yoga.YGCloneNodeFuncI.invoke.

Inherited from org.lwjgl.util.yoga.YGCloneNodeFunc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final YGCloneNodeFuncI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, YGCloneNodeFuncI delegate)

Method Detail

invokeback to summary
public long invoke(long oldNode, long owner, int childIndex)

Implements org.lwjgl.util.yoga.YGCloneNodeFuncI.invoke.

Annotations
@Override