AbstractTreeMapNode

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

Properties

Link copied to clipboard
open override val bounds: Rectangle2D?

Gets the bounding rectangle of the item in the map.

Link copied to clipboard

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

Link copied to clipboard
open override var color: MkColor?

Sets the color of the item in the map.

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.

Link copied to clipboard
abstract val isLeaf: Boolean

Tells whether this node is a left.

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.

Link copied to clipboard
open override var nestedShape: Shape?

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

Link copied to clipboard
open override var shape: Shape?

Sets the shape of the item in the map.

Link copied to clipboard
open override var size: Double

Sets the size of the item.

Link copied to clipboard
abstract override var sumSize: Double

Functions

Link copied to clipboard
abstract fun add(newChild: AbstractTreeMapNode<Row, Column>)
Link copied to clipboard
abstract fun findChild(name: Any?): AbstractTreeMapNode<Row, Column>?
Link copied to clipboard
abstract fun getChildCount(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getCushionColor(): MkColor?
Link copied to clipboard
fun getCushionImage(): CPImage?
Link copied to clipboard

The label of this node.

Link copied to clipboard
abstract fun getNodeName(): Any?

The name of this node.

Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
abstract fun hasNoChildren(): Boolean

Tells whether this node contains children.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String