Lines Matching defs:metrics
62 private FontMetrics metrics;
215 metrics = comp.getFontMetrics(getFont());
226 w = metrics.stringWidth(text) + XPAD;
253 y = textY - (metrics.getAscent() + YPAD/2);
254 h = metrics.getHeight() + YPAD;
560 int width = metrics.stringWidth(text.substring(
580 int beginW = metrics.stringWidth(text.substring(0, scrollPos));
591 int lw = metrics.stringWidth(str.substring(0, lower));
592 int uw = metrics.stringWidth(str.substring(0, upper));
600 int width = metrics.stringWidth(str.substring(0, cur));
625 int lw = metrics.stringWidth(str.substring(lower, len));
626 int uw = metrics.stringWidth(str.substring(upper, len));
633 int width = metrics.stringWidth(str.substring(cur, len));
679 metrics.stringWidth(text.substring(scrollPos,
698 int yoff = h - YPAD/2 - metrics.getDescent();
710 xoff += metrics.stringWidth(text.substring(scrollPos,
720 xoff += metrics.stringWidth(text.substring(
727 int selectW = metrics.stringWidth(selectStr);