Lines Matching refs:textRect
62 private Rectangle textRect;
87 textRect = new Rectangle();
286 //textRect.width = fm.stringWidth(text);
287 textRect.width = fm.stringWidth(text == null ? "" : text);
288 textRect.height = fm.getHeight();
290 textRect.x = Math.max(minTextX, size.width / 2 - textRect.width / 2);
291 textRect.y = (size.height - textRect.height) / 2;
315 paintText(g, textRect, label);
406 protected void paintText(Graphics g, Rectangle textRect, String text) {
414 BasicGraphicsUtils.drawStringUnderlineCharAt(g,text,mnemonicIndex , textRect.x , textRect.y + fm.getAscent() );
421 textRect.x, textRect.y + fm.getAscent());
424 textRect.x - 1, textRect.y + fm.getAscent() - 1);