1487 |
count++; |
count++; |
1488 |
Object nextNode = getNextVisibleNode(node); |
Object nextNode = getNextVisibleNode(node); |
1489 |
if (nextNode != null) |
if (nextNode != null) |
1490 |
maxWidth = Math.max( |
maxWidth = Math.max(maxWidth, |
|
maxWidth, |
|
1491 |
(int) (getCellBounds(0, 0, nextNode).getWidth())); |
(int) (getCellBounds(0, 0, nextNode).getWidth())); |
1492 |
node = nextNode; |
node = nextNode; |
1493 |
} |
} |
2269 |
if (bounds.contains(click.x, click.y)) |
if (bounds.contains(click.x, click.y)) |
2270 |
inBounds = true; |
inBounds = true; |
2271 |
else if (hasControlIcons() |
else if (hasControlIcons() |
2272 |
&& (click.x < (bounds.x - rightChildIndent + 5) && click.x > (bounds.x |
&& (click.x < (bounds.x - rightChildIndent + 5) && |
2273 |
- rightChildIndent - 5))) |
click.x > (bounds.x - rightChildIndent - 5))) |
2274 |
cntlClick = true; |
cntlClick = true; |
2275 |
|
|
2276 |
if ((inBounds || cntlClick) && tree.isVisible(path)) |
if ((inBounds || cntlClick) && tree.isVisible(path)) |
2285 |
tree.expandPath(path); |
tree.expandPath(path); |
2286 |
} |
} |
2287 |
|
|
2288 |
if (tree.isEditable()) |
if (!cntlClick && tree.isEditable()) |
2289 |
startEditing(path, e); |
startEditing(path, e); |
2290 |
} |
} |
2291 |
} |
} |