Searched refs:getFontMetrics (Results 1 - 25 of 189) sorted by relevance

12345678

/openjdk7/jdk/test/java/awt/FontClass/
H A DFontAccess.java46 System.out.println(g.getFontMetrics());
H A DBigMetrics.java41 FontMetrics fm = tk.getFontMetrics(f);
/openjdk7/jdk/test/java/awt/font/StyledMetrics/
H A DBoldSpace.java50 FontMetrics fm = g.getFontMetrics();
59 fm = g.getFontMetrics();
71 fm = g.getFontMetrics();
82 fm = g.getFontMetrics();
93 fm = g.getFontMetrics();
/openjdk7/jdk/test/sun/java2d/SunGraphicsEnvironment/
H A DTestSGEuseAlternateFontforJALocales.java80 FontMetrics cnMetrics = g2d.getFontMetrics(courierNew);
81 FontMetrics diMetrics = g2d.getFontMetrics(dialogInput);
82 FontMetrics mmMetrics = g2d.getFontMetrics(msMincho);
83 FontMetrics mgMetrics = g2d.getFontMetrics(msGothic);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DLabelView.java168 protected FontMetrics getFontMetrics() { method in class:LabelView
171 return (c != null) ? c.getFontMetrics(font) :
172 Toolkit.getDefaultToolkit().getFontMetrics(font);
H A DPasswordView.java138 return x + g.getFontMetrics().charWidth(c);
160 FontMetrics m = f.getFontMetrics(f.getFont());
192 int charWidth = f.getFontMetrics(f.getFont()).charWidth(echoChar);
226 FontMetrics m = f.getFontMetrics(f.getFont());
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXLabelPeer.java44 FontMetrics getFontMetrics() method in class:XLabelPeer
48 else return getFontMetrics(getPeerFont());
70 FontMetrics fm = getFontMetrics();
96 FontMetrics fm = g.getFontMetrics();
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DLineView.java171 FontMetrics fm = (c != null) ? c.getFontMetrics(f) :
172 Toolkit.getDefaultToolkit().getFontMetrics(f);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWTextFieldPeer.java39 FontMetrics fm = getFontMetrics(((TextField)target).getFont());
70 FontMetrics fm = getFontMetrics(((TextField)target).getFont());
H A DWFontMetrics.java192 static FontMetrics getFontMetrics(Font font) { method in class:WFontMetrics
H A DWListPeer.java105 fm = getFontMetrics( li.getFont() );
127 fm = getFontMetrics( li.getFont() );
189 fm = getFontMetrics( ((List)target).getFont() );
H A DWChoicePeer.java40 FontMetrics fm = getFontMetrics(((Choice)target).getFont());
147 FontMetrics fm = getFontMetrics(c.getFont());
/openjdk7/jdk/test/java/awt/Graphics2D/DrawString/
H A DScaledLCDTextMetrics.java58 FontMetrics fm1 = g2.getFontMetrics();
64 FontMetrics fm2 = g2.getFontMetrics();
/openjdk7/jdk/test/java/awt/PrintJob/Text/
H A DStringWidth.java49 FontMetrics plainFm = pg.getFontMetrics(plain);
50 FontMetrics boldFm = pg.getFontMetrics(bold);
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontStrike.java52 abstract StrikeMetrics getFontMetrics(); method in class:FontStrike
H A DPhysicalStrike.java101 StrikeMetrics getFontMetrics() { method in class:PhysicalStrike
104 physicalFont.getFontMetrics(pScalerContext);
H A DNullFontScaler.java38 StrikeMetrics getFontMetrics(long pScalerContext) { method in class:NullFontScaler
H A DPhysicalFont.java85 abstract StrikeMetrics getFontMetrics(long pScalerContext); method in class:PhysicalFont
/openjdk7/jdk/src/share/classes/javax/accessibility/
H A DAccessibleComponent.java126 public FontMetrics getFontMetrics(Font f); method in interface:AccessibleComponent
/openjdk7/jdk/test/java/awt/font/TextLayout/
H A DTestKerning.java82 FontMetrics fm1 = g.getFontMetrics();
86 FontMetrics fm2 = g.getFontMetrics();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthMenuItemLayoutHelper.java158 getFontMetrics().getFont(), getFontMetrics(),
160 getTextSize().setHeight(getFontMetrics().getHeight());
194 gu.layoutText(context, getFontMetrics(), getText(), getIcon(),
303 gu.layoutText(context, getFontMetrics(), getText(), getIcon(),
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrike.java195 StrikeMetrics getFontMetrics() { method in class:NativeStrike
198 strikeMetrics = nativeFont.getFontMetrics(pScalerContext);
323 StrikeMetrics getFontMetrics() { method in class:DelegateStrike
326 strikeMetrics = super.getFontMetrics();
329 strikeMetrics = delegateStrike.getFontMetrics();
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/
H A DStatusBar.java63 FontMetrics fm = getFontMetrics(getFont());
72 FontMetrics fm = getFontMetrics(getFont());
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DInternalDialog.java94 int textHeight = g.getFontMetrics(font).getAscent();
113 FontMetrics fm = g.getFontMetrics(font);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DSourceCodePanel.java89 FontMetrics fm = getFontMetrics(getFont());
127 rowHeight = getFontMetrics(f).getHeight();
144 width += GraphicsUtilities.getStringWidth(str, getFontMetrics(getFont())) + LINE_NO_SPACE;
148 Dimension d = new Dimension(width, numLines * getFontMetrics(getFont()).getHeight());

Completed in 1789 milliseconds

12345678