SimpleTreeModelListener

class SimpleTreeModelListener(listener: (TreeModelEvent) -> Unit) : TreeModelListener(source)

A TreeModelListener that invokes listener on each event.

Parameters

listener

the listener to invoke on any event

Constructors

Link copied to clipboard
constructor(listener: (TreeModelEvent) -> Unit)

Functions

Link copied to clipboard
open override fun treeNodesChanged(event: TreeModelEvent)

Invoked after a node has changed.

Link copied to clipboard
open override fun treeNodesInserted(event: TreeModelEvent)

Invoked after a node has been inserted.

Link copied to clipboard
open override fun treeNodesRemoved(event: TreeModelEvent)

Invoked after a node has been removed.

Link copied to clipboard
open override fun treeStructureChanged(event: TreeModelEvent)

Invoked after the structure of the tree has changed.