public class LayoutUtilities
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
GEOSMARTER_TAG_PREFIX |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
checkAvailableLayoutName(java.lang.String newLayoutName, java.lang.String oldLayoutName)
检查名称是否合法
|
static boolean |
deleteMapLayout(java.lang.String[] layoutNames)
批量删除指定名称的布局
|
static java.lang.String |
getAvailableLayoutName(java.lang.String layoutName, boolean isNewWindow)
获取具有指定前缀的可用布局名称
|
static double |
getPixelLength(com.supermap.layout.MapLayout mapLayout)
计算一个屏幕像素在布局上的长度
|
public static final java.lang.String GEOSMARTER_TAG_PREFIX
public static boolean checkAvailableLayoutName(java.lang.String newLayoutName, java.lang.String oldLayoutName)
newLayoutName
- 新布局名称oldLayoutName
- 该布局旧名称public static java.lang.String getAvailableLayoutName(java.lang.String layoutName, boolean isNewWindow)
layoutName
- 指定前缀isNewWindow
- 是否是新窗口public static boolean deleteMapLayout(java.lang.String[] layoutNames)
layoutNames
- 布局名称public static double getPixelLength(com.supermap.layout.MapLayout mapLayout)
mapLayout
- 布局对象