Package ch.bailu.gtk.gsk
Class DebugNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.DebugNode
- All Implemented Interfaces:
PointerInterface
A render node that emits a debugging message when drawing its
child node.
child node.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDebugNode
(RenderNode child, Str message) Creates a `GskRenderNode` that will add debug information about
the given @child.DebugNode
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Gets the child node that is getting drawn by the given @node.static ClassHandler
static int
Gets the debug message that was set on this nodestatic long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gsk.RenderNode
deserialize, draw, getBounds, getNodeType, ref, serialize, unref, writeToFile, writeToFile
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
DebugNode
-
DebugNode
Creates a `GskRenderNode` that will add debug information about
the given @child.
Adding this node has no visual effect.- Parameters:
child
- The child to add debug info formessage
- The debug message
-
-
Method Details
-
getClassHandler
-
getChild
Gets the child node that is getting drawn by the given @node.- Returns:
- the child `GskRenderNode`
-
getMessage
Gets the debug message that was set on this node- Returns:
- The debug message
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-