Package ch.bailu.gtk.gsk
Class RepeatNode
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gsk.RenderNode
ch.bailu.gtk.gsk.RepeatNode
- All Implemented Interfaces:
PointerInterface
A render node repeating its single child node.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gsk.RenderNode
RenderNode.OnParseErrorFunc
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRepeatNode
(Rect bounds, RenderNode child, Rect child_bounds) Creates a `GskRenderNode` that will repeat the drawing of @child across
the given @bounds.RepeatNode
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Retrieves the child of @node.Retrieves the bounding rectangle of the child of @node.static ClassHandler
static int
static 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
-
RepeatNode
-
RepeatNode
Creates a `GskRenderNode` that will repeat the drawing of @child across
the given @bounds.- Parameters:
bounds
- The bounds of the area to be paintedchild
- The child to repeatchild_bounds
- The area of the child to repeat or %NULL to use the child's bounds
-
-
Method Details
-
getClassHandler
-
getChild
Retrieves the child of @node.- Returns:
- a `GskRenderNode`
-
getChildBounds
Retrieves the bounding rectangle of the child of @node.- Returns:
- a bounding rectangle
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-