1 package ini
.trakem2
.display
;
5 public class FallLine
{
8 final ZDisplayable source
;
17 public FallLine(Display display
, ZDisplayable source
) {
18 this.display
= display
;
20 this.target
= this.current
= display
.getLayer();
23 public Layer
getLayer() { return current
; }
25 public boolean isSource(ZDisplayable zd
) { return source
== zd
; }
27 public void go(Layer target
) {
28 this.current
= this.target
;
30 source
.setPosition(this);