本文整理了Java中org.geotools.styling.Rule.setElseFilter
方法的一些代码示例,展示了Rule.setElseFilter
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rule.setElseFilter
方法的具体详情如下:
包路径:org.geotools.styling.Rule
类名称:Rule
方法名:setElseFilter
暂无
代码示例来源:origin: geotools/geotools
rule.setFilter(filter);
} else if (childName.equalsIgnoreCase("ElseFilter")) {
rule.setElseFilter(true);
} else if (childName.equalsIgnoreCase("LegendGraphic")) {
findElements(((Element) child), graphicSt);
代码示例来源:origin: geotools/geotools
public Rule build() {
if (unset) {
return null;
}
if (symbolizerBuilder == null && symbolizers.size() == 0) {
symbolizerBuilder = new PointSymbolizerBuilder();
}
if (symbolizerBuilder != null) {
symbolizers.add(symbolizerBuilder.build());
}
Rule rule = sf.createRule();
rule.setName(name);
// TODO: rule's description cannot be set
rule.setTitle(title);
rule.setAbstract(ruleAbstract);
rule.setMinScaleDenominator(minScaleDenominator);
rule.setMaxScaleDenominator(maxScaleDenominator);
rule.setFilter(filter);
rule.setElseFilter(elseFilter);
rule.symbolizers().addAll(symbolizers);
GraphicLegend gl = legend.build();
if (gl != null) {
rule.setLegend(gl);
}
if (parent == null) {
reset();
}
return rule;
}
代码示例来源:origin: geotools/geotools
copy.setName(rule.getName());
copy.setFilter(filterCopy);
copy.setElseFilter(rule.isElseFilter());
copy.setMaxScaleDenominator(rule.getMaxScaleDenominator());
copy.setMinScaleDenominator(rule.getMinScaleDenominator());
代码示例来源:origin: geotools/geotools
rules[colors.length].setElseFilter(true);
代码示例来源:origin: geotools/geotools
rule.setElseFilter(r.boolOr("else", false));
代码示例来源:origin: org.geoserver/gs-kml
protected final Rule elseRule(Symbolizer... symbolizer) {
Rule rule = styleFactory.createRule();
rule.setElseFilter(true);
for (Symbolizer s : symbolizer) rule.symbolizers().add(s);
return rule;
}
代码示例来源:origin: org.geotools/gt-main
rule.setFilter(filter);
} else if (childName.equalsIgnoreCase("ElseFilter")) {
rule.setElseFilter(true);
} else if (childName.equalsIgnoreCase("LegendGraphic")) {
findElements(((Element) child), graphicSt);
代码示例来源:origin: org.geotools/gt-main
rules[colors.length].setElseFilter(true);
代码示例来源:origin: robward-scisys/sldeditor
Filter filterCopy = null;
copy.setFilter(filterCopy);
copy.setElseFilter(rule.isElseFilter());
代码示例来源:origin: org.geotools/gt-main
copy.setName(rule.getName());
copy.setFilter(filterCopy);
copy.setElseFilter(rule.isElseFilter());
copy.setMaxScaleDenominator(rule.getMaxScaleDenominator());
copy.setMinScaleDenominator(rule.getMinScaleDenominator());
代码示例来源:origin: stackoverflow.com
otherRule.setElseFilter(true);
代码示例来源:origin: org.geotools/gt-ysld
rule.setElseFilter(r.boolOr("else", false));
内容来源于网络,如有侵权,请联系作者删除!