MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setFonts

Method setFonts

src/org/opensourcephysics/tools/FontSizer.java:122–128  ·  view source on GitHub ↗
(Object[] objectsToSize)

Source from the content-addressed store, hash-verified

120 }
121
122 public static int setFonts(Object[] objectsToSize) {
123 Font f = ((Component) objectsToSize[0]).getFont();
124 Font newFont = (f == null ? null : getResizedFont(f, level));
125 if (newFont != null && newFont != f && !newFont.equals(f))
126 setFonts(objectsToSize, level);
127 return level;
128 }
129
130 public static int setFonts(Container c) {
131

Callers 15

setFontLevelMethod · 0.95
getStyleDialogMethod · 0.95
DiagnosticsForThreadsMethod · 0.95
setFontLevelMethod · 0.95
getFileChooserMethod · 0.95
setFontLevelMethod · 0.95
saveTableDataToFileMethod · 0.95
actionPerformedMethod · 0.95
getHorzVariablesPopupMethod · 0.95
getVertVariablesPopupMethod · 0.95
menuSelectedMethod · 0.95
setFontLevelMethod · 0.95

Calls 7

getResizedFontMethod · 0.95
getFactorMethod · 0.95
setFontFactorMethod · 0.95
getFontMethod · 0.65
equalsMethod · 0.65
getComponentCountMethod · 0.65
getComponentMethod · 0.65

Tested by 1

propertyChangeMethod · 0.76