Searched defs:stringWidth (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java295 * @see #stringWidth(String)
329 * @see #stringWidth(String)
356 public int stringWidth(String str) { method in class:FontMetrics
384 * @see #stringWidth(String)
387 return stringWidth(new String(data, off, len));
410 * @see #stringWidth(String)
413 return stringWidth(new String(data, 0, off, len));
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFontMetrics.java169 public native int stringWidth(String str); method in class:WFontMetrics
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11FontMetrics.java175 public int stringWidth(String string) { method in class:X11FontMetrics
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontDesignMetrics.java459 public int stringWidth(String str) { method in class:FontDesignMetrics
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java234 // is implemented to call SwingUtilities2.stringWidth, the
236 // SwingUtilities2.stringWidth can be passed a null Component.
380 public static int stringWidth(JComponent c, FontMetrics fm, String string){ method in class:SwingUtilities2
397 return fm.stringWidth(string);
417 int textWidth = SwingUtilities2.stringWidth(c, fm, string);
439 availTextWidth -= SwingUtilities2.stringWidth(c, fm, clipString);
612 SwingUtilities2.stringWidth(c,fm,

Completed in 53 milliseconds