Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java @ 9117:623b51bf03d7
Added datacage select and chart display for river bed collision counts loaded from database
author | mschaefer |
---|---|
date | Mon, 04 Jun 2018 17:31:51 +0200 |
parents | a165cd63099f |
children | e6b63b2b41b9 |
comparison
equal
deleted
inserted
replaced
9116:edc3958b3ed2 | 9117:623b51bf03d7 |
---|---|
412 } | 412 } |
413 | 413 |
414 public static NumberFormat getInfrastructureHeight(final CallContext context) { | 414 public static NumberFormat getInfrastructureHeight(final CallContext context) { |
415 return getFormatter(context.getMeta(), 2, 2); | 415 return getFormatter(context.getMeta(), 2, 2); |
416 } | 416 } |
417 | |
418 public static NumberFormat getCollisionCount(final CallContext context) { | |
419 return getFormatter(context.getMeta(), 0, 0); | |
420 } | |
421 | |
422 public static NumberFormat getCollisionGaugeW(final CallContext context) { | |
423 return getFormatter(context.getMeta(), 0, 2); // cm | |
424 } | |
417 } | 425 } |