Lines Matching defs:bounds

165     protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) {
167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) {
199 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
206 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf);
215 middleXOfKnob = bounds.x - (getRightChildIndent() - 1);
221 final int middleYOfKnob = bounds.y + (bounds.height / 2);
225 final int height = icon.getIconHeight(); // use the icon height so we don't get drift we modify the bounds (by changing row height)
469 * see isLocationInExpandControl for bounds calc
472 final Rectangle bounds = getPathBounds(tree, path); // Gives us the y values, but x is adjusted for the contents
475 if (getExpandedIcon() != null) bounds.width = getExpandedIcon().getIconWidth();
476 else bounds.width = 8;
480 boxLeftX += (((path.getPathCount() + depthOffset - 2) * totalChildIndent) + getLeftChildIndent()) - bounds.width / 2;
482 boxLeftX += tree.getWidth() - 1 - ((path.getPathCount() - 2 + depthOffset) * totalChildIndent) - getLeftChildIndent() - bounds.width / 2;
484 bounds.x = boxLeftX;
485 return bounds;