Handle the scroll event.
Store the last scroll state.
Render the node row.
Row index to ensure visibility.
Toggle the node.
Update tree decorations.
Apply font styles to the tree.
the original css properties.
the optional fontData
.
Create node attributes for the tree node given the node properties.
the tree node.
the node properties.
Create the node class names.
the tree node.
the node properties.
the list of tree node class names.
Create the tree node style.
the tree node.
the node properties.
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.
Force deep resizing and rendering of rows. https://github.com/bvaughn/react-virtualized/blob/master/docs/List.md#recomputerowheights-index-number
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.
Get the default node style.
the tree node.
the node properties.
the CSS properties if available.
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.
the down arrow
keyboard event.
The ARROW_LEFT key controls both the movement around the file tree and also the movement through the change chunks within a file.
If the selected tree node is a folder then the ARROW_LEFT key behaves exactly as it does in explorer. It collapses the tree node if the folder is expanded and it moves the selection up to the parent folder if the folder is collapsed (no-op if no parent folder, as group headers are not selectable). This behavior is the default behavior implemented in the TreeWidget super class.
If the selected tree node is a file then the ARROW_LEFT key moves up through the change chunks within each file. If the selected chunk is the first chunk in the file then the file selection is moved to the previous file (no-op if no previous file).
Note that when cursoring through change chunks, the ARROW_LEFT key cannot be used to move up through the parent folders of the file tree. If users want to do this, using keys only, then they must press ARROW_UP repeatedly until the selected node is the folder node and then press ARROW_LEFT.
The ARROW_RIGHT key controls both the movement around the file tree and also the movement through the change chunks within a file.
If the selected tree node is a folder then the ARROW_RIGHT key behaves exactly as it does in explorer. It expands the tree node if the folder is collapsed and it moves the selection to the first child node if the folder is expanded. This behavior is the default behavior implemented in the TreeWidget super class.
If the selected tree node is a file then the ARROW_RIGHT key moves down through the change chunks within each file. If the selected chunk is the last chunk in the file then the file selection is moved to the next file (no-op if no next file).
Handle the up arrow
keyboard event.
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.
Inflate the tree node from storage.
the tree node.
the optional tree node.
Determine if the tree node is expandable.
the tree node.
true
if the tree node is expandable.
Render the tree node caption given the node properties.
the tree node.
the node properties.
Render caption affixes for the given tree node.
the tree node.
the node properties.
the affix key.
Render the node expansion toggle.
the tree node.
the node properties.
Render the tree node given the node properties.
the tree node.
the node properties.
Render indent for the file tree based on the depth
the tree node.
Render the node given the tree node and node properties.
the tree node.
the node properties.
Render the tree node tail decorations.
the tree node.
the node properties.
Render the tree widget.
the tree model.
Restore the state.
the old state object.
Scroll to the selected tree node.
Store the tree state.
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.
Update the global selection for the tree.
Update the scrollToRow
.
the tree widget force update options.
Handle the double-click mouse event on the expansion toggle.