Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java @ 801:d766fe2d917a
More javadoc.
gnv-artifacts/trunk@883 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Apr 2010 16:53:43 +0000 |
parents | 6cff63d0c434 |
children | 4abe172be970 |
comparison
equal
deleted
inserted
replaced
800:db5b04ecb426 | 801:d766fe2d917a |
---|---|
95 ps.addRing(new CompactXYItems(vertices.toNativeArray())); | 95 ps.addRing(new CompactXYItems(vertices.toNativeArray())); |
96 vertices.reset(); | 96 vertices.reset(); |
97 } // for all in common open | 97 } // for all in common open |
98 } // if map defined for key | 98 } // if map defined for key |
99 | 99 |
100 if (ps.getItemCount() > 0) { | 100 if (ps.getItemCount() > 0) { |
101 series.add(ps); | 101 series.add(ps); |
102 if (attributeGenerator != null) { | 102 if (attributeGenerator != null) { |
103 Object attribute = attributeGenerator | 103 Object attribute = attributeGenerator |
104 .generateAttribute(key.i, key.j); | 104 .generateAttribute(key.i, key.j); |
105 | 105 |
106 if (attribute != null) { | 106 if (attribute != null) { |
107 ps.setAttribute("label", attribute); | 107 ps.setAttribute("label", attribute); |
108 } | 108 } |
109 } | 109 } |
110 ps.setAttribute("line.width", LINE_WIDTH); | 110 ps.setAttribute("line.width", LINE_WIDTH); |
111 } | 111 } |
112 } // for all pairs | 112 } // for all pairs |
113 | 113 |
114 return series; | 114 return series; |
115 } | 115 } |
116 } | 116 } |