Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/raster/Palette.java @ 449:c7ca2fce041f
Add only color to scale of vertical cross section which are in the chart.
gnv-artifacts/trunk@497 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 03 Jan 2010 15:57:02 +0000 |
parents | 3cb2bea50456 |
children | c8089cd7d777 |
comparison
equal
deleted
inserted
replaced
448:3cb2bea50456 | 449:c7ca2fce041f |
---|---|
71 return from; | 71 return from; |
72 } | 72 } |
73 | 73 |
74 public double getTo() { | 74 public double getTo() { |
75 return to; | 75 return to; |
76 } | |
77 | |
78 public Color getColor() { | |
79 return color; | |
76 } | 80 } |
77 | 81 |
78 public Entry locateEntry(double value) { | 82 public Entry locateEntry(double value) { |
79 Entry current = this; | 83 Entry current = this; |
80 while (current != null) { | 84 while (current != null) { |