comparison artifacts/src/main/java/org/dive4elements/river/exports/AxisSection.java @ 9123:1cc7653ca84f

Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author gernotbelger
date Tue, 05 Jun 2018 19:21:16 +0200
parents 6dfc3a1fc70d
children
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
83 public void setFixed(boolean fixed) { 83 public void setFixed(boolean fixed) {
84 setBooleanValue(FIXATION_ATTR, fixed); 84 setBooleanValue(FIXATION_ATTR, fixed);
85 } 85 }
86 86
87 87
88 public Boolean isFixed() { 88 public boolean isFixed() {
89 return getBooleanValue(FIXATION_ATTR); 89 return getBooleanValue(FIXATION_ATTR, false);
90 } 90 }
91 91
92 92
93 public void setUpperRange(double upperRange) { 93 public void setUpperRange(double upperRange) {
94 setDoubleValue(UPPERRANGE_ATTR, upperRange); 94 setDoubleValue(UPPERRANGE_ATTR, upperRange);

http://dive4elements.wald.intevation.org