# AbstractTreeMapNode

abstract class AbstractTreeMapNode<Row, Column> : MutableTreeMapNode<Column>

This class provides a skeletal implementation of the TreeMapNode interface to minimize the effort required to implement this interface.

#### Parameters

the type of nodes

#### Inheritors

LeafTreeMapNode
ParentTreeMapNode

## 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
abstract 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
abstract 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
abstract 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
abstract override var sumSize: Double

## Functions

add
Link copied to clipboard
abstract fun add(newChild: AbstractTreeMapNode<Row, Column>)
findChild
Link copied to clipboard
abstract fun findChild(name: Any?): AbstractTreeMapNode<Row, Column>?
getChildCount
Link copied to clipboard
abstract fun getChildCount(): Int
getChildren
Link copied to clipboard
abstract fun getChildren(): Iterable<AbstractTreeMapNode<Row, Column>>?
getChildrenOfTypeParent
Link copied to clipboard
abstract 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
abstract fun getNodeName(): Any?

The name of this node.

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

Gets the row in the underlying TableModel, -1 if it doesn't relate to a leaf node.

hasNoChildren
Link copied to clipboard
abstract fun hasNoChildren(): Boolean

Tells whether this node contains children.

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