# LeafTreeMapNode

class LeafTreeMapNode<Row, Column>(row: Row, model: TreeMapModel<AbstractTreeMapNode<Row, Column>, Row, Column>) : AbstractTreeMapNode<Row, Column> , Comparable<AbstractTreeMapNode<Row, Column>>

A leaf node.

#### Parameters

the type of nodes

## Constructors

LeafTreeMapNode
Link copied to clipboard
constructor(row: Row, model: TreeMapModel<AbstractTreeMapNode<Row, Column>, Row, 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(newChild: AbstractTreeMapNode<Row, Column>)

{@inheritDoc}

compareTo
Link copied to clipboard
open operator override fun compareTo(other: AbstractTreeMapNode<Row, Column>): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
findChild
Link copied to clipboard
open override fun findChild(name: Any?): AbstractTreeMapNode<Row, Column>?

{@inheritDoc}

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>>
getCushion
Link copied to clipboard
fun getCushion(): Cushion?
getCushionColor
Link copied to clipboard
fun getCushionColor(): MkColor?
getCushionImage
Link copied to clipboard
fun getCushionImage(): CPImage?
getLabelName
Link copied to clipboard
fun getLabelName(): String?

The label of this node.

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

{@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}

hashCode
Link copied to clipboard
open override fun hashCode(): Int
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