[Schmitzm-commits] r741 - trunk/src/schmitzm/jfree/feature/style
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Mar 3 11:49:29 CET 2010
Author: mojays
Date: 2010-03-03 11:49:28 +0100 (Wed, 03 Mar 2010)
New Revision: 741
Modified:
trunk/src/schmitzm/jfree/feature/style/FeatureBasicChartStyle.java
trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
trunk/src/schmitzm/jfree/feature/style/FeatureScatterChartStyle.java
Log:
added missing method implementations (attention: implementation still empty!)
Modified: trunk/src/schmitzm/jfree/feature/style/FeatureBasicChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureBasicChartStyle.java 2010-03-03 10:32:14 UTC (rev 740)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureBasicChartStyle.java 2010-03-03 10:49:28 UTC (rev 741)
@@ -36,6 +36,8 @@
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.general.Dataset;
import org.jfree.data.xy.XYDataset;
+import org.opengis.feature.simple.SimpleFeature;
+import org.opengis.feature.simple.SimpleFeatureType;
import schmitzm.jfree.chart.style.BasicChartStyle;
import schmitzm.jfree.chart.style.ChartStyle;
@@ -316,8 +318,33 @@
* {@link FeatureCollection}) and calls {@link #applyToDataset(Dataset)}.
*/
@Override
- public JFreeChart applyToFeatureCollection(FeatureCollection fc) {
+ public JFreeChart applyToFeatureCollection(FeatureCollection<SimpleFeatureType, SimpleFeature> fc) {
Dataset dataset = FeatureChartUtil.createDataset(fc,this);
return applyToDataset(dataset);
}
+
+ @Override
+ public String getAttributeAggregationWeightAttributeName(int idx) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public boolean isNoDataWeightValue(int idx, Object value) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public void setAttributeAggregationWeightAttributeName(int idx,
+ String weightAttribName) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setNoDataWeightValues(int idx, Set<Object> noDataValues) {
+ // TODO Auto-generated method stub
+
+ }
}
Modified: trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java 2010-03-03 10:32:14 UTC (rev 740)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java 2010-03-03 10:49:28 UTC (rev 741)
@@ -726,6 +726,30 @@
throw new UnsupportedOperationException(
"FeatureChartStyle.Dummy does not implement applyToFeatureCollection(..)");
}
+
+ @Override
+ public String getAttributeAggregationWeightAttributeName(int idx) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public boolean isNoDataWeightValue(int idx, Object value) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public void setAttributeAggregationWeightAttributeName(int idx,
+ String weightAttribName) {
+ // TODO Auto-generated method stub
+ }
+
+ @Override
+ public void setNoDataWeightValues(int idx, Set<Object> noDataValues) {
+ // TODO Auto-generated method stub
+
+ }
}
/**
@@ -743,7 +767,7 @@
* true hat
* @see #setNoDataWeightValues(idx, Set) to set NoDataValues for this attribute.<br/>
**/
- public String setAttributeAggregationWeightAttributeName(int idx, String weightAttribName);
+ public void setAttributeAggregationWeightAttributeName(int idx, String weightAttribName);
/**
* Checks whether the given value is one of the "No data" values for the
Modified: trunk/src/schmitzm/jfree/feature/style/FeatureScatterChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureScatterChartStyle.java 2010-03-03 10:32:14 UTC (rev 740)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureScatterChartStyle.java 2010-03-03 10:49:28 UTC (rev 741)
@@ -335,4 +335,29 @@
Dataset dataset = FeatureChartUtil.createDataset(fc,this);
return applyToDataset(dataset);
}
+
+ @Override
+ public String getAttributeAggregationWeightAttributeName(int idx) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public boolean isNoDataWeightValue(int idx, Object value) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ @Override
+ public void setAttributeAggregationWeightAttributeName(int idx,
+ String weightAttribName) {
+ // TODO Auto-generated method stub
+
+ }
+
+ @Override
+ public void setNoDataWeightValues(int idx, Set<Object> noDataValues) {
+ // TODO Auto-generated method stub
+
+ }
}
More information about the Schmitzm-commits
mailing list