Lines Matching defs:thumbBounds

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.width - 3, 1 );
254 g.drawLine( 1, 1, 1, thumbBounds.height - 2 );
256 bumps.setBumpArea( thumbBounds.width - 6, thumbBounds.height - 7 );
260 thumbBounds.width -= 2;
269 thumbBounds.height += 2;
273 g.fillRect( 0, 0, thumbBounds.width - 1, thumbBounds.height - 2 );
276 g.drawRect( 0, 0, thumbBounds.width - 1, thumbBounds.height - 2 );
279 g.drawLine( 1, 1, thumbBounds.width - 3, 1 );
280 g.drawLine( 1, 1, 1, thumbBounds.height - 3 );
282 bumps.setBumpArea( thumbBounds.width - 7, thumbBounds.height - 6 );
286 thumbBounds.height -= 2;
290 g.translate( -thumbBounds.x, -thumbBounds.y );
294 Rectangle thumbBounds) {
297 g.translate(thumbBounds.x, thumbBounds.y);
301 thumbBounds.width += 2;
309 g.fillRect(0, 0, thumbBounds.width - 2,thumbBounds.height - 1);
313 g.drawRect(0, 0, thumbBounds.width - 2, thumbBounds.height - 1);
316 g.drawLine(1, 1, thumbBounds.width - 3, 1);
317 g.drawLine(1, 1, 1, thumbBounds.height - 2);
320 thumbBounds.width - 4,
321 thumbBounds.height - 3, false);
323 int gripSize = thumbBounds.width - 8;
324 if (gripSize > 2 && thumbBounds.height >= 10) {
326 int gripY = thumbBounds.height / 2 - 2;
338 thumbBounds.width -= 2;
346 thumbBounds.height += 2;
351 g.fillRect(0, 0, thumbBounds.width - 1,thumbBounds.height - 2);
355 g.drawRect(0, 0, thumbBounds.width - 1, thumbBounds.height - 2);
358 g.drawLine(1, 1, thumbBounds.width - 2, 1);
359 g.drawLine(1, 1, 1, thumbBounds.height - 3);
362 thumbBounds.width - 3,
363 thumbBounds.height - 4, true);
365 int gripSize = thumbBounds.height - 8;
366 if (gripSize > 2 && thumbBounds.width >= 10) {
368 int gripX = thumbBounds.width / 2 - 2;
381 thumbBounds.height -= 2;
385 g.translate( -thumbBounds.x, -thumbBounds.y );