Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/jfree/XYStyle.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | e4606eae8ea5 |
children | 094ed9d1f2ad 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/XYStyle.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/jfree/XYStyle.java Thu Jan 18 20:12:01 2018 +0100 @@ -49,7 +49,10 @@ * whether to draw lines and/or points. */ @Override - public XYLineAndShapeRenderer applyTheme(XYLineAndShapeRenderer r, int idx) { + public XYLineAndShapeRenderer applyTheme( + XYLineAndShapeRenderer r, + int idx + ) { this.renderer = r; if (shape != null) { r.setShape(shape); @@ -77,7 +80,8 @@ applyLineLabelBGColor(r, idx); // Point label styles - // TODO: Currently point label are annotations and are not drawn this way + // TODO: Currently point label are annotations and + // are not drawn this way /* applyShowPointLabelBG(r, idx); applyLinePointFont(r, idx); @@ -123,7 +127,8 @@ return; } boolean showLabelLine = theme.parseLabelShowBackground(); - ((EnhancedLineAndShapeRenderer)r).setShowLineLabelBG(idx, showLabelLine); + ((EnhancedLineAndShapeRenderer)r).setShowLineLabelBG( + idx, showLabelLine); } /** Tell the renderer which font (and -size and -style) to use for