TreeMapView

interface TreeMapView<N, Row, Column>

Main interface for the view part of TreeMap.

Parameters

the type of columns

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val background: MkColor?
Link copied to clipboard
abstract val component: CPComponent
Link copied to clipboard
Link copied to clipboard
abstract val headless: Headless
Link copied to clipboard
abstract 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.

Link copied to clipboard
abstract var isDirty: Boolean
Link copied to clipboard
abstract var isSelectionMode: Boolean
Link copied to clipboard
abstract var isShowTiming: Boolean

Sets whether information about refresh rate should be displayed.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
abstract var model: TreeMapModel<N, Row, Column>?

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var progressive: Progressive

Sets whether progressive display mode is enabled.

Link copied to clipboard
Link copied to clipboard
abstract val rubberBand: RubberBand
Link copied to clipboard
abstract val screenTransform: TwoDScreenTransform
Link copied to clipboard

Sets the tooltip used for selection.

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

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

Link copied to clipboard
Link copied to clipboard
abstract val viewport: Rectangle2D
Link copied to clipboard
abstract val world: Rectangle2D
Link copied to clipboard
abstract val xRangeModel: MutableBoundedInterval
Link copied to clipboard
abstract val yRangeModel: MutableBoundedInterval
Link copied to clipboard
abstract val zoomFactor: Float

Functions

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

Returns the node at the specified location on the screen.

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

Returns the nodes overlapping the specified rectangle.

Link copied to clipboard
abstract fun getRenderedShape(node: N): Shape?

Returns the shape of the node according to its rendered position in screen coordinates.

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

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

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

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

Link copied to clipboard
abstract fun repaint()
Link copied to clipboard
abstract fun screenToWorldX(x: Int): Double
Link copied to clipboard
abstract fun screenToWorldY(y: Int): Double
Link copied to clipboard
abstract fun setLicenseModel(licenseModel: LicenseModel?)
Link copied to clipboard
abstract fun updateModelDimension()
Link copied to clipboard
abstract fun waitUntilReady()

Wait until all processing are completed.

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

Returns the shape of the node according to its layout position in screen coordinates.

abstract fun worldToScreen(shape: Shape): Shape
Link copied to clipboard
abstract fun worldToScreenPrecise(rectangle: Rectangle2D): Rectangle2D

Convert the specified rectangle to screen coordinates.

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

Convert the specified rectangle to screen coordinates.

Link copied to clipboard
abstract fun worldToScreenX(x: Double): Int
Link copied to clipboard
abstract fun worldToScreenY(y: Double): Int
Link copied to clipboard
abstract fun zoom(animate: Boolean, x1: Double, x2: Double, y1: Double, y2: Double)
Link copied to clipboard
abstract fun zoomIn()
Link copied to clipboard
abstract fun zoomOut()