Node.drawChild

Draw a child node at the specified location inside of this node.

Before drawing a node, it must first be resized. This should be done ahead of time in resizeImpl. Use updateSize() to cause it to be called before the next draw call.

class Node
protected
void
drawChild
(,
Rectangle space
)

Parameters

child Node

Child to draw.

space Rectangle

Space to place the node in. The drawn node will be aligned inside the given box according to its layout field.

Meta