Searched refs:newFont (Results 1 - 10 of 10) sorted by relevance

/openjdk10/jdk/src/demo/share/jfc/SampleTree/
H A DSampleData.java62 public SampleData(Font newFont, Color newColor, String newString) { argument
63 font = newFont;
71 public void setFont(Font newFont) { argument
72 font = newFont;
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DSunFontManager.java596 Font2D newFont = findFont2D(family, style, NO_FALLBACK);
597 if (!(newFont instanceof PhysicalFont)) {
598 newFont = oldFont;
600 PhysicalFont physicalFont = (PhysicalFont)newFont;
751 PhysicalFont newFont = f;
790 newFont instanceof TrueTypeFont) {
792 TrueTypeFont newTTFont = (TrueTypeFont)newFont;
815 " with " + newFont.platName);
825 " with " + newFont.platName);
827 replaceFont(oldFont, newFont);
2577 replaceFont(PhysicalFont oldFont, PhysicalFont newFont) argument
[all...]
H A DCompositeFont.java319 void replaceComponentFont(PhysicalFont oldFont, PhysicalFont newFont) { argument
325 components[slot] = newFont;
327 componentNames[slot] = newFont.getFontName(null);
H A DFontFamily.java134 FileFont newFont = (FileFont)font;
135 File newDir = (new File(newFont.platName)).getParentFile();
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DListHelper.java229 void setFont(Font newFont) { argument
230 if (newFont != font) {
231 font = newFont;
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/font/
H A DCFontManager.java275 CFont newFont = new CFont((CFont)realFont, logicalFamilyName);
276 registerGenericFont(newFont, true);
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsInternalFrameTitlePane.java134 Font newFont = (titleFont != null) ? titleFont : getFont();
135 g.setFont(newFont);
138 FontMetrics fm = SwingUtilities2.getFontMetrics(frame, g, newFont);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java884 Font newFont = UIManager.getFont(b ? "FileChooser.listFont" : "List.font");
885 if (newFont != null && newFont != oldFont) {
886 list.setFont(newFont);
/openjdk10/jdk/src/java.desktop/share/classes/java/beans/
H A DMetaData.java825 Object newFont = c2.isFontSet() ? c2.getFont() : null;
826 if (!Objects.equals(oldFont, newFont)) {
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DComponent.java1884 Font oldFont, newFont;
1887 newFont = font = f;
1899 firePropertyChange("font", oldFont, newFont);

Completed in 154 milliseconds