Searched defs:thumbBounds (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifScrollBarUI.java84 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/src/share/classes/javax/swing/plaf/metal/
H A DMetalScrollBarUI.java222 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/javax/swing/plaf/synth/
H A DSynthScrollBarUI.java318 * @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 DSynthSliderUI.java868 * @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 DWindowsScrollBarUI.java162 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 DBasicScrollBarUI.java427 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 DXTextAreaPeer.java908 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 45 milliseconds