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

Method setCounter

ij/src/main/java/ij/gui/PointRoi.java:648–652  ·  view source on GitHub ↗
(int counter)

Source from the content-addressed store, hash-verified

646 }
647
648 public void setCounter(int counter) {
649 this.counter = counter;
650 if (counter>nCounters-1 && nCounters<MAX_COUNTERS)
651 nCounters = counter + 1;
652 }
653
654 public boolean promptBeforeDeleting() {
655 if (promptBeforeDeletingCalled && getNCounters()==1)

Callers 2

setCounterMethod · 0.95
PointRoiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected