com.supermap.chart.conversion
类 ExportSettingCharts

java.lang.Object
  继承者 com.supermap.chart.conversion.ExportSettingCharts

public class ExportSettingCharts
extends java.lang.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)中移除指定索引处的项。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

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)中移除全部项。