com.supermap.mobjects.situation
类 PlotSelection
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.mobjects.situation.PlotSelection
-
- 所有已实现的接口:
- IDisposable
public class PlotSelection extends com.supermap.data.InternalHandleDisposable
图元层选择集对象类。
-
-
构造器概要
构造器 构造器和说明 PlotSelection(PlotLayer plotLayer)
根据指定的参数来构造一个 PlotSelection 的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
add(int id)
添加选择对象。void
addRange(int[] ids)
添加选择对象。void
clear()
清空选择集。void
dispose()
释放对象int
getCount()
获取选择集的选择对象的总数。PlotLayer
getPlotLayer()
获取关联的图元层对象。ArrayList<PlotSymbol>
getPlotSymbols()
获取选择集的所有标号对象。void
remove(int id)
移除选择对象。void
removeRange(int[] ids)
移除选择对象。Recordset
toRecordset()
获取选择集的记录集对象。
-
-
-
构造器详细资料
-
PlotSelection
public PlotSelection(PlotLayer plotLayer)
根据指定的参数来构造一个 PlotSelection 的新对象。- 参数:
plotLayer
- 指定关联的图元层对象。
-
-
方法详细资料
-
getPlotLayer
public PlotLayer getPlotLayer()
获取关联的图元层对象。- 返回:
- 图元层对象。
-
getCount
public int getCount()
获取选择集的选择对象的总数。- 返回:
- 选择对象的总数。
-
clear
public void clear()
清空选择集。
-
add
public void add(int id)
添加选择对象。- 参数:
id
- 选择对象的id。
-
remove
public void remove(int id)
移除选择对象。- 参数:
id
- 选择对象的id。
-
addRange
public void addRange(int[] ids)
添加选择对象。- 参数:
ids
- 选择对象的id集合。
-
removeRange
public void removeRange(int[] ids)
移除选择对象。- 参数:
ids
- 选择对象的id集合。
-
toRecordset
public Recordset toRecordset()
获取选择集的记录集对象。- 返回:
- 选择集对象的记录集对象。
-
getPlotSymbols
public ArrayList<PlotSymbol> getPlotSymbols()
获取选择集的所有标号对象。- 返回:
- 选择集的所有标号对象。
-
dispose
public void dispose()
释放对象
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.