MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / scaleComponents

Method scaleComponents

ij/src/main/java/ij/gui/GUI.java:232–239  ·  view source on GitHub ↗
(final Container container, final float scale)

Source from the content-addressed store, hash-verified

230 }
231
232 private static void scaleComponents(final Container container, final float scale) {
233 for (final Component child : container.getComponents()) {
234 if (child instanceof Container)
235 scaleComponents((Container) child, scale);
236 else
237 scaleComponent(child, scale);
238 }
239 }
240
241 private static void scaleComponent(final Component component, final float scale) {
242 Font font = component.getFont();

Callers 1

scaleMethod · 0.95

Calls 1

scaleComponentMethod · 0.95

Tested by

no test coverage detected