当前位置: 首页>>代码示例>>Java>>正文


Java TextSymbolizer.getOptions方法代码示例

本文整理汇总了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);
                }
            }
        }
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:22,代码来源:VOGeoServerLabelling.java

示例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);
            }
        }
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:20,代码来源:VOGeoServerLabellingUnderline.java

示例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));
        }
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:21,代码来源:VOGeoServerTextSpacing.java

示例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));
        }
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:21,代码来源:VOGeoServerTextSpacing.java

示例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));
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:9,代码来源:VOGeoServerLabelling.java

示例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));
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:19,代码来源:VOGeoServerLabelling.java

示例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));
    }
}
 
开发者ID:robward-scisys,项目名称:sldeditor,代码行数:19,代码来源:VOGeoServerLabellingUnderline.java


注:本文中的org.geotools.styling.TextSymbolizer.getOptions方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。