AbstractTreeMapModel

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

Parameters

the type of nodes

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
inner class Worker : Callable<Unit> , TreeMapWorker

Properties

Link copied to clipboard
open override val colorColumns: Iterable<Column?>
Link copied to clipboard
open override val colorFactory: MkColorFactory
Link copied to clipboard
open override var colorProvider: ColorProvider<AbstractTreeMapNode<Row, Column>>
Link copied to clipboard
abstract val columnCount: Int

Returns the number of columns in the model.

Link copied to clipboard

Sets the currently selected root node from which the treemap should be displayed.

Link copied to clipboard
abstract val dataFrame: DataFrame<Row, Column, *>?
Link copied to clipboard
open override val filter: MutableFilter<AbstractTreeMapNode<Row, Column>>

Obtains the model used for filtering nodes in the treemap.

Link copied to clipboard
open override val groupByColumns: Iterable<Column?>
Link copied to clipboard
open override val heightColumns: Iterable<Column?>
Link copied to clipboard
open override val highlighting: MutableSelection<AbstractTreeMapNode<Row, Column>>

Obtains the model used to highlight nodes in the treemap.

Link copied to clipboard
open override val isDirty: Boolean

Tells whether the current layout need to be reprocessed.

Link copied to clipboard
open override val labelsColumns: Iterable<Column?>
Link copied to clipboard
open override var maximumSize: Double

Corresponds to area in map.

Link copied to clipboard
open override var normalizedLightSourceX: Double

Gets the position of the light source along the X axis.

Link copied to clipboard
open override var normalizedLightSourceY: Double

Gets the position of the light source along the Y axis.

Link copied to clipboard
open override var normalizedLightSourceZ: Double

Gets the position of the light source along the Z axis.

Link copied to clipboard
open override val probing: MutableSingleSelection<AbstractTreeMapNode<Row, Column>?>

Obtains the model used for probing (aka mouse over).

Link copied to clipboard
open override val properties: MutableProperties<String?>
Link copied to clipboard
open override var root: AbstractTreeMapNode<Row, Column>?

Returns the root node of the treemap.

Link copied to clipboard
abstract val rowCount: Int

Returns the number of columns in the model.

Link copied to clipboard
open override val search: MutableFilter<AbstractTreeMapNode<Row, Column>>

Obtains the model used to carry out search in the treemap.

Link copied to clipboard
open override val selection: MutableSelection<AbstractTreeMapNode<Row, Column>>

Obtains the model used for selecting nodes in the treemap.

Link copied to clipboard
open override val settings: TreeMapSettings<Column>

Gets the settings currently selected.

Link copied to clipboard
open override val sizeColumns: Iterable<Column?>
Link copied to clipboard
open override val tooltipColumns: Iterable<Column?>
Link copied to clipboard

Gets the worker task updating the layout.

Link copied to clipboard
open override var workerFuture: Future<Unit>?

Gets the worker task updating the layout.

Functions

Link copied to clipboard
open override fun addListener(treeMapListener: TreeMapListener)

{@inheritDoc}

Link copied to clipboard
Link copied to clipboard
abstract fun columns(): Iterable<Column>?
Link copied to clipboard
abstract fun createDefaultColorMap(column: Column): MutableColorMap?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getAggregateValue(node: AbstractTreeMapNode<Row, Column>, column: Column?): Any?

{@inheritDoc}

Link copied to clipboard
open override fun getBounds(node: AbstractTreeMapNode<Row, Column>): Rectangle2D

{@inheritDoc}

Link copied to clipboard
open override fun getCategoricalColorMap(column: Column): MutableColorMap
Link copied to clipboard

Returns the number of children of a given node.

Link copied to clipboard

Returns an iterator of the children of the given node.

Link copied to clipboard

Gets the depth in hierarchy.

Link copied to clipboard

Returns an iterator of the children of the given node.

Link copied to clipboard
open override fun getColor(node: AbstractTreeMapNode<Row, Column>): MkColor

Gets the color of the given node.

Link copied to clipboard
open override fun getColorMap(column: Column?): MutableColorMap?
Link copied to clipboard
abstract fun getColumnClass(columnIndex: Column): KClass<*>?

Returns the most specific superclass for all the cell values in the column.

Link copied to clipboard
abstract fun getColumnName(columnIndex: Column): String?

Returns the name of the column at columnIndex. Note: this name does not need to be unique; two columns in a table can have the same name.

Link copied to clipboard
abstract fun getCushionColor(node: AbstractTreeMapNode<Row, Column>): MkColor?

Returns the color of the cushion.

Link copied to clipboard
abstract fun getCushionImage(node: AbstractTreeMapNode<Row, Column>): CPImage?

Returns the image used for painting the cushion.

Link copied to clipboard
open override fun getCustomColorMap(column: Column): MutableColorMap
Link copied to clipboard
open override fun getFormatPattern(columnIndex: Int): String?
Link copied to clipboard

Gets the depth in hierarchy.

Link copied to clipboard

Gets the label of the given node.

Link copied to clipboard
open override fun getLevel(node: AbstractTreeMapNode<Row, Column>): Int

{@inheritDoc}

Link copied to clipboard
open override fun getNestedShape(node: AbstractTreeMapNode<Row, Column>): Shape

{@inheritDoc}

Link copied to clipboard
open override fun getNode(position: Point?): AbstractTreeMapNode<Row, Column>?

{@inheritDoc}

abstract fun getNode(row: Row): AbstractTreeMapNode<Row, Column>
Link copied to clipboard
abstract fun getNumericMax(columnIndex: Column?): Double?

Gets the maximum value contained in the specified column.

Link copied to clipboard
abstract fun getNumericMin(columnIndex: Column?): Double?

Gets the minimum value contained in the specified column.

Link copied to clipboard

Gets the parent node of the given node.

Link copied to clipboard
open override fun getPredefinedColorMap(column: Column): MutableColorMap
Link copied to clipboard
open override fun getShape(node: AbstractTreeMapNode<Row, Column>): Shape?

{@inheritDoc}

Link copied to clipboard
open override fun getSize(node: AbstractTreeMapNode<Row, Column>): Double

{@inheritDoc}

Link copied to clipboard
open override fun getStringValue(node: AbstractTreeMapNode<Row, Column>, column: Column): String?

{@inheritDoc}

Link copied to clipboard
open override fun getSumSize(node: AbstractTreeMapNode<Row, Column>): Double
Link copied to clipboard
abstract fun getTreeMapColumn(columnIndex: Int): Column?

Gets the field corresponding to the specified column index.

Link copied to clipboard
abstract fun getTreeMapColumnByName(columnName: String?): Column?

Gets the field corresponding to the specified column name.

Link copied to clipboard
open override fun getTreeMapColumns(vararg columns: Column): List<Column>
open override fun getTreeMapColumns(vararg columnNames: String?): List<Column>
open override fun getTreeMapColumns(includeNone: Boolean): Iterable<Column?>
open override fun getTreeMapColumns(vararg columns: Int): List<Column>
Link copied to clipboard
abstract fun getValueAt(node: AbstractTreeMapNode<Row, Column>, columnIndex: Column): Any?

Returns the value for the cell at columnIndex and of node.

Link copied to clipboard
open override fun hasNoChildren(node: AbstractTreeMapNode<Row, Column>): Boolean

{@inheritDoc}

Link copied to clipboard
abstract fun isEveryValueUnique(column: Column?): Boolean

Indicates whether all the values in the given field are unique.

Link copied to clipboard
open override fun isLeaf(node: AbstractTreeMapNode<Row, Column>): Boolean

Tells whether the given node is a leaf node or not.

Link copied to clipboard
open override fun isNumericType(column: Column): Boolean
Link copied to clipboard

Tells whether the given node is the root node or not.

Link copied to clipboard
open override fun isTemporalType(column: Column): Boolean
Link copied to clipboard
open override fun isVisualType(column: Column): Boolean
Link copied to clipboard

Derive normalized vector here for performance.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun progressProperty(): MutableProperty<Int>
Link copied to clipboard
open override fun removeListener(treeMapListener: TreeMapListener)

{@inheritDoc}

Link copied to clipboard
Link copied to clipboard
open override fun setColor(node: AbstractTreeMapNode<Row, Column>, color: MkColor?)

{@inheritDoc}

Link copied to clipboard
open override fun setFormatPattern(columnIndex: Int, pattern: String?)
Link copied to clipboard
open override fun setNestedShape(node: AbstractTreeMapNode<Row, Column>, shape: Shape?)

{@inheritDoc}

Link copied to clipboard
abstract fun setNumericMax(columnIndex: Column?, max: Double)

Sets the maximum value contained in the specified column.

Link copied to clipboard
abstract fun setNumericMin(columnIndex: Column?, min: Double)

Sets the minimum value contained in the specified column.

Link copied to clipboard
fun setProgress(progress: Int)
Link copied to clipboard
open override fun setShape(node: AbstractTreeMapNode<Row, Column>, shape: Shape?)

{@inheritDoc}

Link copied to clipboard
open override fun waitUntilReady()

{@inheritDoc}