17231724172517261727172817291730173117321733
} while (newSelectedNode != null && newSelectedNode.isDisabled()); if (newSelectedNode != null) { treeView.setSelectedPath(newSelectedNode.getPath()); treeView.scrollAreaToVisible(getNodeBounds(newSelectedNode)); consumed = true; } } break;
17531754175517561757175817591760176117621763
15471548154915501551155215531554155515561557
if (nodeBounds != null) { Bounds visibleSelectionBounds = treeView.getVisibleArea(nodeBounds); if (visibleSelectionBounds != null && visibleSelectionBounds.height < nodeBounds.height) { treeView.scrollAreaToVisible(nodeBounds); } } } }
18071808180918101811181218131814181518161817
&& treeView.getSelectMode() == TreeView.SelectMode.MULTI) { treeView.addSelectedPath(newSelectedNode.getPath()); } else { treeView.setSelectedPath(newSelectedNode.getPath()); } treeView.scrollAreaToVisible(getNodeBounds(newSelectedNode)); } consumed = true; } break;
18421843184418451846184718481849185018511852
15391540154115421543154415451546154715481549
17991800180118021803180418051806180718081809
18341835183618371838183918401841184218431844
18031804180518061807180818091810181118121813