本文整理汇总了Java中org.geotools.styling.TextSymbolizer.getOptions方法的典型用法代码示例。如果您正苦于以下问题:Java TextSymbolizer.getOptions方法的具体用法?Java TextSymbolizer.getOptions怎么用?Java TextSymbolizer.getOptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.geotools.styling.TextSymbolizer
的用法示例。
在下文中一共展示了TextSymbolizer.getOptions方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getMinimumVersion
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
@Override
public void getMinimumVersion(Object parentObj, Object sldObj,
List<VendorOptionPresent> vendorOptionsPresentList) {
if (sldObj instanceof TextSymbolizer) {
TextSymbolizer textSymbolizer = (TextSymbolizer) sldObj;
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
String vendorOptionAttributeKey = fieldMap.get(key);
if (options.containsKey(vendorOptionAttributeKey)) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj,
getVendorOptionInfo());
if (!vendorOptionsPresentList.contains(voPresent)) {
vendorOptionsPresentList.add(voPresent);
}
}
}
}
}
示例2: getMinimumVersion
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
@Override
public void getMinimumVersion(Object parentObj, Object sldObj,
List<VendorOptionPresent> vendorOptionsPresentList) {
if (sldObj instanceof TextSymbolizer) {
TextSymbolizer textSymbolizer = (TextSymbolizer) sldObj;
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
String vendorOptionAttributeKey = fieldMap.get(key);
if (options.containsKey(vendorOptionAttributeKey)) {
VendorOptionPresent voPresent = new VendorOptionPresent(sldObj,
getVendorOptionInfo());
vendorOptionsPresentList.add(voPresent);
}
}
}
}
示例3: populate
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
/**
* Populate.
*
* @param textSymbolizer the text symbolizer
*/
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.vendor.geoserver.VendorOptionInterface#populate(org.geotools.styling.TextSymbolizer)
*/
@Override
public void populate(TextSymbolizer textSymbolizer) {
if (textSymbolizer != null) {
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
internalPopulate(options, key, fieldMap.get(key));
}
}
}
示例4: updateSymbol
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
/**
* Update symbol.
*
* @param textSymbolizer the text symbolizer
*/
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.vendor.geoserver.VendorOptionInterface#updateSymbol(org.geotools.styling.TextSymbolizer)
*/
@Override
public void updateSymbol(TextSymbolizer textSymbolizer) {
if (textSymbolizer != null) {
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
internalUpdateSymbol(options, key, fieldMap.get(key));
}
}
}
示例5: populate
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
@Override
public void populate(TextSymbolizer textSymbolizer) {
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
internalPopulate(options, key, fieldMap.get(key));
}
}
示例6: updateSymbol
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
/**
* Update symbol.
*
* @param textSymbolizer the text symbolizer
*/
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.vendor.geoserver.VendorOptionInterface#updateSymbol(org.geotools.styling.TextSymbolizer)
*/
@Override
public void updateSymbol(TextSymbolizer textSymbolizer) {
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
internalUpdateSymbol(options, key, fieldMap.get(key));
}
}
示例7: populate
import org.geotools.styling.TextSymbolizer; //导入方法依赖的package包/类
/**
* Populate.
*
* @param textSymbolizer the text symbolizer
*/
/*
* (non-Javadoc)
*
* @see com.sldeditor.ui.detail.vendor.geoserver.VendorOptionInterface#populate(org.geotools.styling.TextSymbolizer)
*/
@Override
public void populate(TextSymbolizer textSymbolizer) {
Map<String, String> options = textSymbolizer.getOptions();
for (FieldIdEnum key : fieldMap.keySet()) {
internalPopulate(options, key, fieldMap.get(key));
}
}