44 |
protected Map<Integer, AttributeMetaData> visibleAMD = null; |
protected Map<Integer, AttributeMetaData> visibleAMD = null; |
45 |
/** Holds the data source for the table as {@code FeatureSource}. */ |
/** Holds the data source for the table as {@code FeatureSource}. */ |
46 |
protected FeatureSource featureSource = null; |
protected FeatureSource featureSource = null; |
47 |
|
/** Contains the complete {@link AttributeMetaData}-Map of the styled layer. */ |
48 |
|
protected Map<Integer, AttributeMetaData> origAMD = null; |
49 |
/** Holds the current filter on the table */ |
/** Holds the current filter on the table */ |
50 |
protected Filter filter = null; |
protected Filter filter = null; |
51 |
|
|
97 |
|
|
98 |
this.featureSource = fs; |
this.featureSource = fs; |
99 |
this.filter = filter; |
this.filter = filter; |
100 |
|
this.origAMD = amd; |
101 |
this.visibleAMD = null; |
this.visibleAMD = null; |
102 |
|
|
103 |
FeatureCollection fc = null; |
FeatureCollection fc = null; |
168 |
*/ |
*/ |
169 |
public void setFilter(Filter filter) { |
public void setFilter(Filter filter) { |
170 |
try{ |
try{ |
171 |
setFeatureSource(this.featureSource, this.visibleAMD, filter); |
setFeatureSource(this.featureSource, this.origAMD, filter); |
172 |
} catch (Exception err) { |
} catch (Exception err) { |
173 |
throw new RuntimeException(err); |
throw new RuntimeException(err); |
174 |
} |
} |