NodeInspector

A panel with a TreeView at the top, showing the hierarchical scene graph starting at rootNode. At the bottom is details of the currently selected TreeItem.

NOTE. Data in the TreeView can become stale (no attempt is made to rebuild children as the scene graph changes).

rootNode can be set to any Node, but is often set to Scene.root.

This may be helpful for debugging. It is also a fairly simple example of using a TreeView with custom TreeCells, and dynamically building TreeItem.children when a TreeItem is expanded.

See NodeInspectorDock in the glok-dock subproject for a Dock containing a NodeInspector.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The color to highlight the node when the "eye" icon is clicked.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun refresh()