virtual class domkit::TreeEvent

sys::Obj
  domkit::TreeEvent

@Js

Source

TreeEvent are generated by TreeNode nodes.

node

TreeNode node { private set }

Source

TreeNode this event was trigged on.

nodePos

const Point nodePos

Source

Mouse position relative to node.

pagePos

const Point pagePos

Source

Mouse position relative to page.

size

const Size size

Source

Size of node for this event.

toStr

virtual override Str toStr()

Source

tree

Tree tree { private set }

Source

Parent Tree instance.

type

const Str type

Source

Event type.