type

TreeEvent

src @Js
class TreeEvent : Obj

TreeEvent are generated by TreeNode nodes.

fields

node

TreeNode this event was trigged on.

nodePos

Mouse position relative to node.

pagePos

Mouse position relative to page.

size

Size of node for this event.

tree

Parent Tree instance.

type

Event type.

methods

Slot Details

node

src TreeNode node { private set }

TreeNode this event was trigged on.

nodePos

src const Point nodePos

Mouse position relative to node.

pagePos

src const Point pagePos

Mouse position relative to page.

size

src const Size size

Size of node for this event.

toStr

src virtual override Str toStr()

tree

src Tree tree { private set }

Parent Tree instance.

type

src const Str type

Event type.