# JsTreeMap

class JsTreeMap(elementId: String, model: DefaultTreeMapModel<Int, String>?) : DefaultTreeMap<Int, String>

## Constructors

JsTreeMap
Link copied to clipboard
constructor(elementId: String, model: DefaultTreeMapModel<Int, String>?)

## Properties

component
Link copied to clipboard
open override val component: CPComponent
controller
Link copied to clipboard
open override var controller: TreeMapController<AbstractTreeMapNode<Int, String>, Int, String>?

Returns the controller used for the treemap.

model
Link copied to clipboard
open override var model: TreeMapModel<AbstractTreeMapNode<Int, String>, Int, String>?

Returns the model used for the treemap.

view
Link copied to clipboard
open override var view: TreeMapView<AbstractTreeMapNode<Int, String>, Int, String>?

Returns the view used for the treemap.

## Functions

load
Link copied to clipboard
fun load(dataFrame: DataFrame<Int, String, Any?>)

Loads the specified Swing TableModel.

setAggregation
Link copied to clipboard
open override fun setAggregation(aggregation: Aggregation?)

Defines the aggregation scheme to use to aggregate values of the treemap.

setAlgorithm
Link copied to clipboard
open override fun setAlgorithm(algorithm: Algorithm?)

Defines the algorithm to use to lay out the treemap.

setBackground
Link copied to clipboard
open override fun setBackground(column: Int)

Defines the field to use for background labeling.

setBackgroundByName
Link copied to clipboard
open override fun setBackgroundByName(columnName: String?)

Defines the field to use for background labeling.

setColor
Link copied to clipboard
open override fun setColor(column: Int)

Defines the field to use for coloring.

setColorByName
Link copied to clipboard
open override fun setColorByName(columnName: String?)

Defines the field to use for coloring.

setDepth
Link copied to clipboard
open override fun setDepth(depth: Depth?)

Defines the depth to use to lay out the treemap.

setGroupBy
Link copied to clipboard
open override fun setGroupBy(vararg columns: Int)

Defines the fields to be use for grouping.

setGroupByByNames
Link copied to clipboard
open override fun setGroupByByNames(vararg columnNames: String?)

Defines the fields to be use for grouping.

setHeaderBackgroundColor
Link copied to clipboard
open override fun setHeaderBackgroundColor(color: MkColor?)

Sets the background color to use for drawing the headers.

setHeaderFont
Link copied to clipboard
open override fun setHeaderFont(font: MkFont?)

Sets the font used for labeling the headings.

setHeaderForegroundColor
Link copied to clipboard
open override fun setHeaderForegroundColor(color: MkColor?)

Sets the foreground color to use for drawing the headers.

setHeight
Link copied to clipboard
open override fun setHeight(column: Int)

Defines the field to use for mapping the height.

setHeightByName
Link copied to clipboard
open override fun setHeightByName(columnName: String?)

Defines the field to use for mapping the height.

setLabeling
Link copied to clipboard
open override fun setLabeling(labeling: Labeling?)

Defines the labeling scheme to use to draw the treemap.

setLabelingBackgroundColor
Link copied to clipboard
open override fun setLabelingBackgroundColor(color: MkColor?)

Sets the background color to use for drawing the labels.

setLabelingFont
Link copied to clipboard
open override fun setLabelingFont(font: MkFont?)

Sets the font used for labeling.

setLabelingForegroundColor
Link copied to clipboard
open override fun setLabelingForegroundColor(color: MkColor?)

Sets the foreground color to use for drawing the labels.

setLabels
Link copied to clipboard
open override fun setLabels(vararg columns: Int)

Defines the fields to be use for labeling.

setLabelsByNames
Link copied to clipboard
open override fun setLabelsByNames(vararg columnNames: String?)

Defines the fields to be use for labeling.

setLightSourceAmbient
Link copied to clipboard
open override fun setLightSourceAmbient(value: Double)

Sets the light source ambient intensity used for drawing the cushions.

setLightSourceHeight
Link copied to clipboard
open override fun setLightSourceHeight(value: Double)

Sets the light source height used for drawing the cushions.

setLightSourceX
Link copied to clipboard
open override fun setLightSourceX(value: Double)

Sets the light source X position used for drawing the cushions.

setLightSourceY
Link copied to clipboard
open override fun setLightSourceY(value: Double)

Sets the light source Y position used for drawing the cushions.

setLightSourceZ
Link copied to clipboard
open override fun setLightSourceZ(value: Double)

Sets the light source Z position used for drawing the cushions.

setNesting
Link copied to clipboard
open override fun setNesting(nesting: Nesting?)

Defines the nesting to use to lay out the treemap.

setOrdering
Link copied to clipboard
open override fun setOrdering(ordering: Ordering?)

Defines the ordering to use to lay out the treemap.

setRendering
Link copied to clipboard
open override fun setRendering(rendering: Rendering?)

Defines the rendering scheme to use to draw the treemap.

setScale
Link copied to clipboard
open override fun setScale(scale: Scale?)

Defines the scaling scheme to use to project values the treemap.

setSize
Link copied to clipboard
open override fun setSize(column: Int)

Defines the field to use to represent the size.

setSizeByName
Link copied to clipboard
open override fun setSizeByName(columnName: String?)

Defines the field to use to represent the size.

setToolTip
Link copied to clipboard
open override fun setToolTip(vararg columns: Int)

Defines the fields to be use for grouping.

setToolTipByNames
Link copied to clipboard
open override fun setToolTipByNames(vararg columnNames: String?)

Defines the fields to be use for grouping.