com.supermap.chart.conversion
类 ImportSettingCharts

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

public class ImportSettingCharts
extends java.lang.Object

海图数据导入设置信息集合类。该类是海图数据导入设置信息对象(ImportSettingChart)的集合。


方法摘要
 int add(ImportSettingChart importSetting)
          在海图数据导入设置信息集合对象(ImportSettingCharts)中添加一个指定的(ImportSettingChart)对象。
 void clear()
          从海图数据导入设置信息集合对象(ImportSettingCharts)中移除全部项。
 ImportSettingChart get(int index)
          根据给定的索引值 index 获取海图数据导入设置信息集合对象(ImportSettingCharts)中的海图数据导入设置信息对象(ImportSettingChart)。
 int getCount()
          返回给定的海图数据导入设置信息集合对象(ImportSettingCharts)中元素的总数。
 boolean insert(int index, ImportSettingChart importSetting)
          在海图数据导入设置信息集合对象(ImportSettingCharts)的指定索引处插入指定的海图数据导入设置信息对象(ImportSettingChart)。
 boolean remove(int index)
          从海图数据导入设置信息集合对象(ImportSettingCharts)中移除指定索引处的项。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getCount

public int getCount()
返回给定的海图数据导入设置信息集合对象(ImportSettingCharts)中元素的总数。

返回:
给定的海图数据导入设置信息集合中元素的总数。

get

public ImportSettingChart get(int index)
根据给定的索引值 index 获取海图数据导入设置信息集合对象(ImportSettingCharts)中的海图数据导入设置信息对象(ImportSettingChart)。

参数:
index - 指定的索引值。
返回:
给定的索引处所对应的海图数据导入设置信息对象。
默认值:
默认值为 null,表示海图数据导入设置信息集合对象中含有0个海图数据导入设置信息对象。

add

public int add(ImportSettingChart importSetting)
在海图数据导入设置信息集合对象(ImportSettingCharts)中添加一个指定的(ImportSettingChart)对象。

参数:
importSetting - 指定的海图数据导入设置信息对象。
返回:
新添加的海图数据导入设置信息对象所对应的索引值。

insert

public boolean insert(int index,
                      ImportSettingChart importSetting)
在海图数据导入设置信息集合对象(ImportSettingCharts)的指定索引处插入指定的海图数据导入设置信息对象(ImportSettingChart)。

参数:
index - 指定的索引值。
importSetting - 指定的海图数据导入设置信息对象。
返回:
一个布尔值,表示插入是否成功,如果插入成功,返回 true,否则返回 false。

remove

public boolean remove(int index)
从海图数据导入设置信息集合对象(ImportSettingCharts)中移除指定索引处的项。

参数:
index - 指定的索引值。
返回:
一个布尔值,表示移除是否成功,如果插入成功,返回 true,否则返回 false。

clear

public void clear()
从海图数据导入设置信息集合对象(ImportSettingCharts)中移除全部项。