# ParentTreeMapNode

class ParentTreeMapNode<Row, Column>(name: Any, model: TreeMapModel<AbstractTreeMapNode<Row, Column>, Row, Column>, groupByColumn: Column?, childrenGroupByColumn: Column?) : AbstractTreeMapNode<Row, Column>

A parent node.

#### Parameters

the type of nodes

## Constructors

ParentTreeMapNode
Link copied to clipboard
constructor(name: Any, model: TreeMapModel<AbstractTreeMapNode<Row, Column>, Row, Column>, groupByColumn: Column?, childrenGroupByColumn: Column?)

## Properties

bounds
Link copied to clipboard
open override val bounds: Rectangle2D?

Gets the bounding rectangle of the item in the map.

childrenGroupByColumn
Link copied to clipboard
open override val childrenGroupByColumn: Column?

Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.

color
Link copied to clipboard
open override var color: MkColor?

Sets the color of the item in the map.

groupByColumn
Link copied to clipboard
open override val groupByColumn: Column?

Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.

isLeaf
Link copied to clipboard
open override val isLeaf: Boolean

Tells whether this node is a left.

level
Link copied to clipboard
open override var level: Int

Returns the number of levels above this node -- the distance from the root to this node. If this node is the root, returns 0.

nestedShape
Link copied to clipboard
open override var nestedShape: Shape?

Sets the shape after nesting of the item in the map.

shape
Link copied to clipboard
open override var shape: Shape?

Sets the shape of the item in the map.

size
Link copied to clipboard
open override var size: Double

Sets the size of the item.

sumSize
Link copied to clipboard
open override var sumSize: Double

## Functions

add
Link copied to clipboard
open override fun add(child: AbstractTreeMapNode<Row, Column>)

{@inheritDoc}

computeCHGraph
Link copied to clipboard
fun computeCHGraph(points: List<Spoint>)
createIndex
Link copied to clipboard
fun createIndex(): MutableMap<Any, AbstractTreeMapNode<Row, Column>>
findChild
Link copied to clipboard
open override fun findChild(name: Any?): AbstractTreeMapNode<Row, Column>?

{@inheritDoc}

getCH
Link copied to clipboard
fun getCH(xVariable: Column, yVariable: Column): GeneralPath?
getChildCount
Link copied to clipboard
open override fun getChildCount(): Int

{@inheritDoc}

getChildren
Link copied to clipboard
open override fun getChildren(): Iterable<AbstractTreeMapNode<Row, Column>>

{@inheritDoc}

getChildrenOfTypeParent
Link copied to clipboard
open override fun getChildrenOfTypeParent(): Iterable<AbstractTreeMapNode<Row, Column>>
getCHPoints
Link copied to clipboard
fun getCHPoints(xVariable: Column?, yVariable: Column?): List<Spoint>
getCushion
Link copied to clipboard
fun getCushion(): Cushion?
getCushionColor
Link copied to clipboard
fun getCushionColor(): MkColor?
getCushionImage
Link copied to clipboard
fun getCushionImage(): CPImage?
getIndex
Link copied to clipboard
fun getIndex(): Map<Any, AbstractTreeMapNode<Row, Column>>
getLabelName
Link copied to clipboard
fun getLabelName(): String?

The label of this node.

getMEC
Link copied to clipboard
fun getMEC(xVariable: Column, yVariable: Column): Ellipse2D?

Find the minimal enclosing circle (MEC) of a set of points

getNodeName
Link copied to clipboard
open override fun getNodeName(): Any

{@inheritDoc}

getParent
Link copied to clipboard
fun getParent(): AbstractTreeMapNode<Row, Column>?
getPath
Link copied to clipboard
fun getPath(): Array<AbstractTreeMapNode<*, *>?>
getRow
Link copied to clipboard
open override fun getRow(): Row

{@inheritDoc}

hasNoChildren
Link copied to clipboard
open override fun hasNoChildren(): Boolean

{@inheritDoc}

isRoot
Link copied to clipboard
fun isRoot(): Boolean
setParent
Link copied to clipboard
fun setParent(parent: AbstractTreeMapNode<Row, Column>)
toString
Link copied to clipboard
open override fun toString(): String