com.supermap.desktop.core.utilties
类 SnapSettingUtilities
- java.lang.Object
-
- com.supermap.desktop.core.utilties.SnapSettingUtilities
-
public class SnapSettingUtilities extends java.lang.Object
捕捉设置公共类
-
-
构造器概要
构造器 构造器和说明 SnapSettingUtilities()
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static com.supermap.mapping.SnapSetting
getSnapSetting()
获取当前捕捉设置static boolean
isSnapForLayout()
捕捉设置是否应用于布局static com.supermap.mapping.SnapSetting
parseSnapSetting()
从SnapSetting.xml文件中获取SnapSetting节点,并通过该节点构造一个SnapSetting类static void
resetSnapSettingFile(com.supermap.mapping.SnapSetting snapSetting)
重置SnapSetting.xml文件static void
setSnapForLayout(boolean isSnapForLayout)
设置捕捉设置是否应用于布局static void
setSnapSetting(com.supermap.mapping.SnapSetting snapSetting)
设置捕捉设置
-
-
-
方法详细资料
-
getSnapSetting
public static com.supermap.mapping.SnapSetting getSnapSetting()
获取当前捕捉设置- 返回:
- 捕捉设置
-
setSnapSetting
public static void setSnapSetting(com.supermap.mapping.SnapSetting snapSetting)
设置捕捉设置- 参数:
snapSetting
- 捕捉设置
-
parseSnapSetting
public static com.supermap.mapping.SnapSetting parseSnapSetting()
从SnapSetting.xml文件中获取SnapSetting节点,并通过该节点构造一个SnapSetting类- 返回:
-
resetSnapSettingFile
public static void resetSnapSettingFile(com.supermap.mapping.SnapSetting snapSetting)
重置SnapSetting.xml文件- 参数:
snapSetting
-
-
isSnapForLayout
public static boolean isSnapForLayout()
捕捉设置是否应用于布局- 返回:
-
setSnapForLayout
public static void setSnapForLayout(boolean isSnapForLayout)
设置捕捉设置是否应用于布局- 参数:
isSnapForLayout
-
-
-