Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WWAxisTypes.java @ 2407:dce0cc856357
'Bezugslinien': Added axis labels matching the displayed data.
flys-artifacts/trunk@4036 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 10 Feb 2012 16:00:57 +0000 |
parents | b56e8613ce0d |
children | 388cd6fc451b |
comparison
equal
deleted
inserted
replaced
2406:84cdde4bc482 | 2407:dce0cc856357 |
---|---|
19 } | 19 } |
20 | 20 |
21 public void classify(WW ww) { | 21 public void classify(WW ww) { |
22 if (!ww.startAtGauge()) inCm1 = false; | 22 if (!ww.startAtGauge()) inCm1 = false; |
23 if (!ww.endAtGauge()) inCm2 = false; | 23 if (!ww.endAtGauge()) inCm2 = false; |
24 } | |
25 | |
26 public boolean getInCm(int index) { | |
27 switch (index) { | |
28 case 0: return inCm1; | |
29 case 1: return inCm2; | |
30 default: return false; | |
31 } | |
24 } | 32 } |
25 | 33 |
26 public boolean getInCm1() { | 34 public boolean getInCm1() { |
27 return inCm1; | 35 return inCm1; |
28 } | 36 } |