Row index to ensure visibility.
Update tree decorations.
Apply font styles to the tree.
the original css properties.
the optional fontData
.
Create the container attributes for the widget.
Decorate the tree caption.
the tree node.
the additional attributes.
Decorate the tree node icon.
the tree node.
the icon.
Decorate the node style.
the tree node.
the optional CSS properties.
the CSS styles if available.
Deflate the tree node for storage.
the tree node.
Actually focus the tree node.
Actually handle the double-click mouse event on the expansion toggle.
the double-click mouse event.
Actually render the node row.
Actually toggle the tree node.
the mouse click event.
Get the container tree node.
the tree node for the container if available.
Get the tree decoration data for the given key.
the tree node.
the tree decoration data key.
the tree decoration data at the given key.
Get the tree node decorations.
the tree node.
the list of tree decoration data.
Determine the classes to use for an icon
the icon name or list of icon names.
additional CSS classes.
the icon class name.
Get the tree node to focus.
the node to focus if available.
Get the scroll container.
Get the scrollToRow
.
the scrollToRow
if available.
Handle the single-click mouse event.
the tree node if available.
the mouse single-click event.
Handle the context menu click event.
the tree node if available.
the right-click mouse event.
Handle the double-click mouse event.
the tree node if available.
the double-click mouse event.
Handle the down arrow
keyboard event.
Handle the enter key
keyboard event.
enter
opens the tree node.the enter key
keyboard event.
Handle the double-click mouse event on the expansion toggle.
Handle the left arrow
keyboard event.
Handle the right arrow
keyboard event.
Handle the space key
keyboard event.
the space key
keyboard event.
Handle the up arrow
keyboard event.
Determine if the tree modifier aware event has a ctrlcmd
mask.
the tree modifier aware event.
true
if the tree modifier aware event contains the ctrlcmd
mask.
Determine if the tree modifier aware event has a shift
mask.
the tree modifier aware event.
true
if the tree modifier aware event contains the shift
mask.
Determine if the tree node contains trailing suffixes.
the tree node.
true
if the tree node contains trailing suffices.
Determine if the tree node is expandable.
the tree node.
true
if the tree node is expandable.
If the node is a composite, a toggle will be rendered. Otherwise we need to add the width and the left, right padding => 18px
Render the React widget in the DOM.
Render the node row.
Render the tree widget.
Restore the state.
the old state object.
Scroll to the selected tree node.
Store the tree state.
The effective handler of an unmodified single-click event.
Convert the tree node to context menu arguments.
the selectable tree node.
Update the node given the caption and highlight.
the caption.
the tree decoration caption highlight.
Toggle the node.
Update the global selection for the tree.
Update the scrollToRow
.
Store the last scroll state.