|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.layout.LayoutSelection
public class LayoutSelection
布局选择集类。
构造方法摘要 | |
---|---|
LayoutSelection()
构造一个新的布局选择集类对象。 |
|
LayoutSelection(LayoutSelection layoutSelection)
根据指定的布局选择集对象构造一个新的与其一致的布局选择集对象。 |
方法摘要 | |
---|---|
int |
add(int geometryID)
根据指定的 ID 向布局选择集对象中添加几何对象。 |
int |
addRange(int[] geometryIDs)
根据指定的 ID 数组向布局选择集对象中加入几何对象。 |
void |
clear()
将选布局选择集清空,这样被选中的对象将全部恢复到未选中状态。 |
void |
dispose()
释放该对象所占用的资源。 |
int |
get(int index)
返回布局选择集中指定几何对象的 ID。 |
int |
getCount()
返回布局选择集中几何对象的总数。 |
GeoStyle |
getStyle()
返回几何对象的风格。 |
boolean |
remove(int geometryID)
根据指定的 ID 从布局选择集中删除一个几何对象。 |
int |
removeRange(int index,
int count)
根据指定的首个要删除对象的索引号和指定的删除个数,从选布局择集中删除指定的若干几何对象,这些被删除的几何对象由原来的选中状态变为非选中状态。 |
void |
setStyle(GeoStyle geoStyle)
设置几何对象的风格。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public LayoutSelection()
public LayoutSelection(LayoutSelection layoutSelection)
layoutSelection
- 指定的布局选择集对象。方法详细信息 |
---|
public int getCount()
public int get(int index)
index
- 几何对象的索引号。
public GeoStyle getStyle()
public void setStyle(GeoStyle geoStyle)
geoStyle
- 几何对象的风格。public int add(int geometryID)
geometryID
- 添加到选择集对象中的布局中的几何对象的 ID。
public int addRange(int[] geometryIDs)
geometryIDs
- 指定的几何对象 ID 数组。
public boolean remove(int geometryID)
geometryID
- 要删除几何对象的 ID 号(其属性数据中 SmID 字段的值)。
public int removeRange(int index, int count)
index
- 要删除的第一个几何对象的索引号。count
- 要删除的几何对象的总数。
public void clear()
public void dispose()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |