MCPcopy Create free account
hub / github.com/rambaut/figtree / setRange

Method setRange

src/figtree/treeviewer/ScaleAxis.java:243–252  ·  view source on GitHub ↗

Set the range of the data

(double minValue, double maxValue)

Source from the content-addressed store, hash-verified

241 * Set the range of the data
242 */
243 public void setRange(double minValue, double maxValue) {
244 if (!Double.isNaN(minValue)) {
245 this.minData = minValue;
246 }
247 if (!Double.isNaN(maxValue)) {
248 this.maxData = maxValue;
249 }
250
251 isCalibrated = false;
252 }
253
254 /**
255 * Adds the range to the existing range, widening if neccessary

Callers 2

setupScaleAxisMethod · 0.45
createControlsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected