Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 2477:936e3e6cd9b9
Issue 502.
Create label to show coordinates for each y axis in the chart.
flys-client/trunk@4220 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 12 Apr 2012 09:49:41 +0000 |
parents | ea6065c2dabe |
children | c48e3df12c4a |
comparison
equal
deleted
inserted
replaced
2476:e8c4f8f2220e | 2477:936e3e6cd9b9 |
---|---|
197 * receiving such an event. | 197 * receiving such an event. |
198 * | 198 * |
199 * @param event The OutputParameterChangeEvent. | 199 * @param event The OutputParameterChangeEvent. |
200 */ | 200 */ |
201 public void onOutputParameterChanged(OutputParameterChangeEvent event) { | 201 public void onOutputParameterChanged(OutputParameterChangeEvent event) { |
202 updateChartInfo(); | |
202 updateChartPanel(); | 203 updateChartPanel(); |
203 } | 204 } |
204 | 205 |
205 | 206 |
206 /** | 207 /** |
516 if (chartInfo == null) { | 517 if (chartInfo == null) { |
517 return null; | 518 return null; |
518 } | 519 } |
519 | 520 |
520 return chartInfo.getTransformer(pos); | 521 return chartInfo.getTransformer(pos); |
522 } | |
523 | |
524 | |
525 /** | |
526 * Returns the Transform2D count | |
527 * | |
528 * @return the Transformer2D count | |
529 */ | |
530 public int getTransformerCount() { | |
531 if (chartInfo == null) { | |
532 return 0; | |
533 } | |
534 | |
535 return chartInfo.getTransformerCount(); | |
521 } | 536 } |
522 | 537 |
523 | 538 |
524 /** | 539 /** |
525 * Creates a new chart panel with default size. | 540 * Creates a new chart panel with default size. |