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

Method useTemplate

ij/src/main/java/ij/gui/Plot.java:614–616  ·  view source on GitHub ↗

Adjusts the format with another plot as a template, using the current (usually default) templateFlags of this plot. plot may be null; then the call has no effect.

(Plot plot)

Source from the content-addressed store, hash-verified

612 * (usually default) templateFlags of this plot.
613 * <code>plot</code> may be null; then the call has no effect. */
614 public void useTemplate(Plot plot) {
615 useTemplate(plot, templateFlags);
616 }
617
618 /** Adjusts the format (style) with another plot as a template. Flags determine what to
619 * copy from the template; these can be X_RANGE, Y_RANGE, COPY_SIZE, COPY_LABELS, COPY_AXIS_STYLE,

Callers 3

runMethod · 0.95
fromPlotMethod · 0.80
dialogItemChangedMethod · 0.80

Calls 10

setPlotObjectStyleMethod · 0.95
getPlotObjectStyleMethod · 0.95
setSizeMethod · 0.95
deepCloneMethod · 0.65
setFontMethod · 0.65
getFontMethod · 0.65
hasFlagMethod · 0.65
addMethod · 0.65
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected