Searched defs:visibleRect (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DScrollable.java71 * @param visibleRect The view area visible within the viewport
78 int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction); argument
89 * @param visibleRect The view area visible within the viewport
96 int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction); argument
H A DJTextArea.java717 * @param visibleRect the view area visible within the viewport
728 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { argument
H A DJLayer.java573 public int getScrollableBlockIncrement(Rectangle visibleRect, argument
576 return ((Scrollable)getView()).getScrollableBlockIncrement(visibleRect,
579 return (orientation == SwingConstants.VERTICAL) ? visibleRect.height :
580 visibleRect.width;
639 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, argument
643 visibleRect, orientation, direction);
H A DJList.java2379 private void checkScrollableParameters(Rectangle visibleRect, int orientation) { argument
2380 if (visibleRect == null) {
2381 throw new IllegalArgumentException("visibleRect must be non-null");
2477 * @param visibleRect the view area visible within the viewport
2486 * @throws IllegalArgumentException if {@code visibleRect} is {@code null}, or
2490 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) argument
2492 checkScrollableParameters(visibleRect, orientation);
2495 int row = locationToIndex(visibleRect.getLocation());
2504 return (r == null) ? 0 : r.height - (visibleRect.y - r.y);
2513 if ((r.y == visibleRect
2636 getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) argument
[all...]
H A DJComponent.java4424 * <code>visibleRect</code>.
4427 * @param visibleRect a <code>Rectangle</code> computed as the
4433 static final void computeVisibleRect(Component c, Rectangle visibleRect) { argument
4438 visibleRect.setBounds(0, 0, bounds.width, bounds.height);
4440 computeVisibleRect(p, visibleRect);
4441 visibleRect.x -= bounds.x;
4442 visibleRect.y -= bounds.y;
4443 SwingUtilities.computeIntersection(0,0,bounds.width,bounds.height,visibleRect);
4452 * <code>visibleRect</code>.
4454 * @param visibleRect
4460 computeVisibleRect(Rectangle visibleRect) argument
[all...]
H A DJTree.java3432 * @param visibleRect the view area visible within the viewport
3440 public int getScrollableUnitIncrement(Rectangle visibleRect, argument
3445 (0, visibleRect.y);
3449 if(rowBounds.y != visibleRect.y) {
3452 return Math.max(0, (visibleRect.y - rowBounds.y));
3454 return (rowBounds.y + rowBounds.height - visibleRect.y);
3474 * width of <code>visibleRect</code>, based on <code>orientation</code>.
3476 * @param visibleRect the view area visible within the viewport
3484 public int getScrollableBlockIncrement(Rectangle visibleRect, argument
3486 return (orientation == SwingConstants.VERTICAL) ? visibleRect
[all...]
H A DJTable.java4775 * @param visibleRect the view area visible within the viewport
4783 public int getScrollableUnitIncrement(Rectangle visibleRect, argument
4794 leadingRow = getLeadingRow(visibleRect);
4795 leadingCol = getLeadingCol(visibleRect);
4809 leadingVisibleEdge = leadingEdge(visibleRect, orientation);
4872 * Returns <code>visibleRect.height</code> or
4873 * <code>visibleRect.width</code>,
4879 * @return <code>visibleRect.height</code> or
4880 * <code>visibleRect.width</code>
4884 public int getScrollableBlockIncrement(Rectangle visibleRect, argument
4924 getPreviousBlockIncrement(Rectangle visibleRect, int orientation) argument
5014 getNextBlockIncrement(Rectangle visibleRect, int orientation) argument
5077 getLeadingRow(Rectangle visibleRect) argument
5095 getLeadingCol(Rectangle visibleRect) argument
5113 getTrailingRow(Rectangle visibleRect) argument
5132 getTrailingCol(Rectangle visibleRect) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java2001 * @param visibleRect the view area visible within the viewport
2010 public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { argument
2013 return visibleRect.height / 10;
2015 return visibleRect.width / 10;
2031 * @param visibleRect the view area visible within the viewport
2040 public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { argument
2043 return visibleRect.height;
2045 return visibleRect.width;

Completed in 130 milliseconds