Searched refs:thumbBounds (Results 1 - 8 of 8) sorted by relevance
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollBarUI.java | 222 protected void paintThumb( Graphics g, JComponent c, Rectangle thumbBounds ) 229 oceanPaintThumb(g, c, thumbBounds); 235 g.translate( thumbBounds.x, thumbBounds.y ); 240 thumbBounds.width += 2; 247 g.fillRect( 0, 0, thumbBounds.width - 2, thumbBounds.height - 1 ); 250 g.drawRect( 0, 0, thumbBounds.width - 2, thumbBounds.height - 1 ); 253 g.drawLine( 1, 1, thumbBounds 293 oceanPaintThumb(Graphics g, JComponent c, Rectangle thumbBounds) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifScrollBarUI.java | 84 public void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) argument 87 if(thumbBounds.isEmpty() || !scrollbar.isEnabled()) { 91 int w = thumbBounds.width; 92 int h = thumbBounds.height; 94 g.translate(thumbBounds.x, thumbBounds.y); 106 g.translate(-thumbBounds.x, -thumbBounds.y);
|
/openjdk7/jdk/test/javax/swing/JScrollBar/6542335/ |
H A D | bug6542335.java | 48 final Rectangle[] thumbBounds = new Rectangle[1]; 79 thumbBounds[0] = new Rectangle(ui.getThumbBounds()); 95 if (!thumbBounds[0].equals(newThumbBounds)) { 96 throw new RuntimeException("Test failed.\nOld bounds: " + thumbBounds[0] +
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthScrollBarUI.java | 318 * @param thumbBounds bounding box for the thumb 321 Rectangle thumbBounds) { 322 SynthLookAndFeel.updateSubregion(context, g, thumbBounds); 324 context.getPainter().paintScrollBarThumbBackground(context, g, thumbBounds.x, 325 thumbBounds.y, thumbBounds.width, thumbBounds.height, 327 context.getPainter().paintScrollBarThumbBorder(context, g, thumbBounds.x, 328 thumbBounds.y, thumbBounds 320 paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds) argument [all...] |
H A D | SynthSliderUI.java | 868 * @param thumbBounds bounding box for the thumb 871 Rectangle thumbBounds) { 873 SynthLookAndFeel.updateSubregion(context, g, thumbBounds); 875 thumbBounds.x, thumbBounds.y, thumbBounds.width, 876 thumbBounds.height, orientation); 878 thumbBounds.x, thumbBounds.y, thumbBounds 870 paintThumb(SynthContext context, Graphics g, Rectangle thumbBounds) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsScrollBarUI.java | 162 protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { argument 183 xp.getSkin(sb, thumbPart).paintSkin(g, thumbBounds, state); 189 (v && (thumbBounds.height - gripperInsets.top - 191 (!v && (thumbBounds.width - gripperInsets.left - 194 thumbBounds.x + (thumbBounds.width - skin.getWidth()) / 2, 195 thumbBounds.y + (thumbBounds.height - skin.getHeight()) / 2, 199 super.paintThumb(g, c, thumbBounds);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicScrollBarUI.java | 427 Rectangle thumbBounds = getThumbBounds(); 428 if (thumbBounds.intersects(g.getClipBounds())) { 429 paintThumb(g, c, thumbBounds); 563 protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) argument 565 if(thumbBounds.isEmpty() || !scrollbar.isEnabled()) { 569 int w = thumbBounds.width; 570 int h = thumbBounds.height; 572 g.translate(thumbBounds.x, thumbBounds.y); 587 g.translate(-thumbBounds [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XTextAreaPeer.java | 908 Rectangle thumbBounds = getThumbBounds(); 909 paintThumb(g, c, thumbBounds); 912 public void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) argument 918 if (thumbBounds.isEmpty()) 919 thumbBounds = getTrackBounds(); 921 int w = thumbBounds.width; 922 int h = thumbBounds.height; 924 g.translate(thumbBounds.x, thumbBounds.y); 936 g.translate(-thumbBounds [all...] |
Completed in 56 milliseconds