com.supermap.chart.conversion
类 ExportSettingCharts
- java.lang.Object
-
- com.supermap.chart.conversion.ExportSettingCharts
-
public class ExportSettingCharts extends Object
海图数据导出设置信息集合类。
-
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 int
add(ExportSettingChart exportSettingChart)
将指定的海图数据导出设置信息对象(ExportSettingChart
)添加到对象海图数据导出设置信息集合对象(ExportSettingCharts
)中。void
clear()
从海图数据导出设置信息集合对象(ExportSettingCharts
)中移除全部项。ExportSettingChart
get(int index)
根据给定的索引值 index 获取海图数据导出设置信息集合对象(ExportSettingCharts
)中的海图数据导出设置信息对象(ExportSettingChart
)。int
getCount()
返回给定的数据导出设置信息集合对象ExportSettingCharts
中元素的总数。boolean
insert(int index, ExportSettingChart exportSettingChart)
在海图数据导出设置信息集合对象(ExportSettingCharts
)的指定索引处插入指定的海图数据导出设置信息对象(ExportSettingChart
)。boolean
remove(int index)
从海图数据导出设置信息集合对象(ExportSettingCharts
)中移除指定索引处的项。
-
-
-
方法详细资料
-
getCount
public int getCount()
返回给定的数据导出设置信息集合对象ExportSettingCharts
中元素的总数。- 返回:
- 给定的数据导出设置信息集合对象中元素的个数。
- 默认值:
- 默认值为0。
-
get
public ExportSettingChart get(int index)
根据给定的索引值 index 获取海图数据导出设置信息集合对象(ExportSettingCharts
)中的海图数据导出设置信息对象(ExportSettingChart
)。- 参数:
index
- 指定的索引值。index 必须大于等 0 且小于 Count,否则抛出异常。- 返回:
- 指定索引值对应的海图数据导出设置信息对象。
- 默认值:
- 默认值为 null,表示海图数据导入设置信息集合对象中含有0个海图数据导入设置信息对象。
-
add
public int add(ExportSettingChart exportSettingChart)
将指定的海图数据导出设置信息对象(ExportSettingChart
)添加到对象海图数据导出设置信息集合对象(ExportSettingCharts
)中。- 参数:
exportSettingChart
- 指定的海图数据导出设置信息对象。- 返回:
- 新添加的海图数据导出设置信息对象所对应的索引值。
-
insert
public boolean insert(int index, ExportSettingChart exportSettingChart)
在海图数据导出设置信息集合对象(ExportSettingCharts
)的指定索引处插入指定的海图数据导出设置信息对象(ExportSettingChart
)。- 参数:
index
- 指定的索引值。exportSettingChart
- 指定的海图数据导出设置信息对象。- 返回:
- 一个布尔值,表示插入是否成功,如果插入成功,返回 true,否则返回 false。
-
remove
public boolean remove(int index)
从海图数据导出设置信息集合对象(ExportSettingCharts
)中移除指定索引处的项。- 参数:
index
- 指定的索引值。- 返回:
- 一个布尔值,表示移除是否成功,如果插入成功,返回 true,否则返回 false。
-
clear
public void clear()
从海图数据导出设置信息集合对象(ExportSettingCharts
)中移除全部项。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.