📄 captypemap.java
字号:
package com.esri.solutions.jitk.web.tasks.redlining.map;
import java.util.LinkedHashMap;
import javax.faces.model.SelectItem;
import com.esri.adf.web.data.symbol.WebSimpleLineSymbol;
@SuppressWarnings("serial")
public class CapTypeMap extends LinkedHashMap<Integer, String> {
public static String[] CAP_TYPE = {
WebSimpleLineSymbol.BUTT,
WebSimpleLineSymbol.ROUND,
WebSimpleLineSymbol.SQUARE
};
public CapTypeMap() {
super();
for(int i=0; i<CAP_TYPE.length; i++){
SelectItem selectItem = new SelectItem(CAP_TYPE[i], CAP_TYPE[i]);
this.put(new Integer(i), selectItem.getLabel());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -