# DefaultTreeMapView

class DefaultTreeMapView<N, Row, Column> : AbstractTreeMapView<N, Row, Column>

Default implementation of a TreeMapView.

#### Parameters

the type of columns

## Constructors

DefaultTreeMapView
Link copied to clipboard
constructor()

## Types

NativeComponent
Link copied to clipboard
inner class NativeComponent(val view: DefaultTreeMapView<N, Row, Column>)

## Properties

background
Link copied to clipboard
open override val background: MkColor?
component
Link copied to clipboard
open override val component: TreeMapCanvas<N, Row, Column>
headerRenderer
Link copied to clipboard
open override var headerRenderer: TreeMapHeaderRenderer<N, Row, Column>?
headless
Link copied to clipboard
open override val headless: Headless
image
Link copied to clipboard
open override val image: CPImage?

Creates a new image and render the current treemap into it. It will wait that all pending update requests to be completed before proceeding to the rendering. The tooltip won't be rendered.

isDirty
Link copied to clipboard
open override var isDirty: Boolean
isSelectionMode
Link copied to clipboard
open override var isSelectionMode: Boolean
isShowTiming
Link copied to clipboard
open override var isShowTiming: Boolean

Returns whether information about refresh rate should be displayed.

isUpdateModelDimension
Link copied to clipboard
open override var isUpdateModelDimension: Boolean

Returns whether change in the view dimension should be reflected in the model.

labelRenderer
Link copied to clipboard
open override var labelRenderer: TreeMapLabelRenderer<N, Row, Column>?
model
Link copied to clipboard
open override var model: TreeMapModel<N, Row, Column>?

Sets the data model and registers with it for listener notifications from the new data model.

postRenderers
Link copied to clipboard
override val postRenderers: MutableList<TreeMapRenderer<N, Row, Column>>
preProgressiveRenderers
Link copied to clipboard
override val preProgressiveRenderers: MutableList<TreeMapRenderer<N, Row, Column>>
preRenderers
Link copied to clipboard
override val preRenderers: MutableList<TreeMapRenderer<N, Row, Column>>
probingListener
Link copied to clipboard
val probingListener: SingleSelectionListener<N?>
progressive
Link copied to clipboard
open override var progressive: Progressive

Returns whether progressive display mode is enabled.

progressiveRenderers
Link copied to clipboard
override val progressiveRenderers: MutableList<TreeMapRenderer<N, Row, Column>>
rubberBand
Link copied to clipboard
override val rubberBand: RubberBand
screenTransform
Link copied to clipboard
override val screenTransform: MutableTwoDScreenTransform
selectionListener
Link copied to clipboard
val selectionListener: SelectionListener<N>
selectionToolTip
Link copied to clipboard
open override var selectionToolTip: TreeMapToolTip<N, Row, Column>?

Sets the tooltip used for selection.

size
Link copied to clipboard
open override var size: Dimension
toolTip
Link copied to clipboard
open override var toolTip: TreeMapToolTip<N, Row, Column>?

Sets the tooltip used for probing (aka mouse over).

tooltipRenderer
Link copied to clipboard
open override var tooltipRenderer: TreeMapTooltipRenderer<N, Row, Column>?
viewport
Link copied to clipboard
open override val viewport: Rectangle2D
world
Link copied to clipboard
open override val world: Rectangle2D
xRangeModel
Link copied to clipboard
override val xRangeModel: MutableBoundedInterval
yRangeModel
Link copied to clipboard
override val yRangeModel: MutableBoundedInterval
zoomFactor
Link copied to clipboard
open override val zoomFactor: Float

## Functions

addContextMenuListener
Link copied to clipboard
open override fun addContextMenuListener(l: ContextMenuListener)
addKeyListener
Link copied to clipboard
open override fun addKeyListener(l: KeyListener)
addMouseListener
Link copied to clipboard
open override fun addMouseListener(l: MouseListener)
addMouseMotionListener
Link copied to clipboard
open override fun addMouseMotionListener(l: MouseMotionListener)
addMouseWheelListener
Link copied to clipboard
open override fun addMouseWheelListener(l: MouseWheelListener)
contains
Link copied to clipboard
open override fun contains(p: Point, shape: Shape): Boolean
drill
Link copied to clipboard
open override fun drill(x: Int, y: Int)
drillDown
Link copied to clipboard
open override fun drillDown()
drillUp
Link copied to clipboard
open override fun drillUp()
getNode
Link copied to clipboard
open override fun getNode(p: Point?): N?

{@inheritDoc}

getNodes
Link copied to clipboard
open override fun getNodes(rect: Rectangle?): List<N>?

{@inheritDoc}

getRenderedShape
Link copied to clipboard
open override fun getRenderedShape(node: N): Shape

{@inheritDoc}

getToolTipImage
Link copied to clipboard
open override fun getToolTipImage(node: N): CPImage?

Creates a new image and render the tooltip used for probing into it.

getToolTipPreferredLocation
Link copied to clipboard
open override fun getToolTipPreferredLocation(node: N): Point?

Returns the preferred location of the probing tooltip for the specified node.

repaint
Link copied to clipboard
open override fun repaint()
screenToWorldX
Link copied to clipboard
open override fun screenToWorldX(x: Int): Double

{@inheritDoc}

screenToWorldY
Link copied to clipboard
open override fun screenToWorldY(y: Int): Double

{@inheritDoc}

setDirty
Link copied to clipboard
fun setDirty()
setDirtyShapes
Link copied to clipboard
fun setDirtyShapes()
setLicenseModel
Link copied to clipboard
open override fun setLicenseModel(licenseModel: LicenseModel?)
updateModelDimension
Link copied to clipboard
open override fun updateModelDimension()
waitUntilReady
Link copied to clipboard
open override fun waitUntilReady()

Wait until all processing are completed.

worldToScreen
Link copied to clipboard
open override fun worldToScreen(node: N?): Shape?

{@inheritDoc}

open override fun worldToScreen(shape: Shape): Shape
worldToScreenPrecise
Link copied to clipboard
open override fun worldToScreenPrecise(r: Rectangle2D): Rectangle2D

{@inheritDoc}

worldToScreenRectangle
Link copied to clipboard
open override fun worldToScreenRectangle(rectangle: Rectangle2D): Rectangle

{@inheritDoc}

worldToScreenX
Link copied to clipboard
open override fun worldToScreenX(x: Double): Int

{@inheritDoc}

worldToScreenY
Link copied to clipboard
open override fun worldToScreenY(y: Double): Int

{@inheritDoc}

zoom
Link copied to clipboard
open override fun zoom(animate: Boolean, x1: Double, x2: Double, y1: Double, y2: Double)

{@inheritDoc}

zoomIn
Link copied to clipboard
open override fun zoomIn()
zoomOut
Link copied to clipboard
open override fun zoomOut()