com.supermap.data.conversion
类 ExportSettings

java.lang.Object
  继承者 com.supermap.data.conversion.ExportSettings

public class ExportSettings
extends java.lang.Object

导出设置信息集合类。该类是导出设置信息 ExportSetting 类对象的集合。


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

构造方法详细信息

ExportSettings

public ExportSettings()
构造一个新的 ExportSettings 对象。

方法详细信息

getCount

public int getCount()
返回给定的导出设置信息集合中元素的总数。

返回:
给定的导出设置信息集合中元素的总数。

get

public ExportSetting get(int index)
根据给定的索引值 index 返回导出设置信息集合对象中的导出设置信息对象。

参数:
index - 指定的索引值,index 从 0 开始。
返回:
导出设置信息集合对象中的导出设置信息对象。

add

public int add(ExportSetting exportSetting)
向导出设置信息集合中添加一个导出设置信息对象。

参数:
exportSetting - 待添加的导出设置信息对象。
返回:
添加子项的索引值。

insert

public boolean insert(int index,
                      ExportSetting exportSetting)
根据指定的索引值向导出设置信息集合中插入一个导出设置信息对象。

参数:
index - 将要插入元素的索引值。
exportSetting - 要插入的导出设置信息对象。
返回:
一个布尔值,true 表示插入成功。

remove

public boolean remove(int index)
从导出设置信息集合对象中移除指定的索引处的子项。

参数:
index - 将要删除元素的索引。
返回:
一个布尔值,true 表示删除成功,false 表示失败。

clear

public void clear()
从导出设置信息集合对象中移除全部子项。