|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.realspace.Layer3D com.supermap.realspace.Layer3DGroup
public class Layer3DGroup
图层分组类。
构造方法摘要 | |
---|---|
Layer3DGroup(java.lang.String groupName)
根据指定的参数来构造一个Layer3DGroup的新对象。 |
方法摘要 | |
---|---|
void |
add(Layer3D layer)
添加图层到当前分组,如果图层属于其他分组,则将从原分组移动到当前分组。 |
boolean |
contains(Layer3D layer)
判断指定图层对象在分组中是否存在。 |
void |
dispose()
释放Layer3DGroup对象占用的资源 。 |
Layer3D |
get(int index)
获取指定索引的图层对象。 |
java.lang.String |
getAvailableCaption(java.lang.String layerCaption)
获取当前图层分组中未被使用的图层显示名称,即不与同级的其他图层显示名称冲突的显示 。 |
int |
getCount()
获取当前的图层分组中图层对象的总数。 |
java.util.ArrayList<Layer3D> |
getDataLayers()
获取当前图层分组下的所有真实数据图层,不包含图层分组类型。 |
int |
indexOf(Layer3D layer)
获取指定图层对象在分组中的索引。 |
void |
insert(int index,
Layer3D layer)
将图层插入到当前分组,如果图层属于其他分组,则将从原分组移动到当前分组。 |
boolean |
remove(int index)
从图层集合中删除一个指定索引的图层对象。 |
boolean |
remove(Layer3D layer)
从图层集合中删除一个指定图层对象。 |
void |
unGroup()
拆分当前的分组,组里面的对象都移到当前分组的上层中。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public Layer3DGroup(java.lang.String groupName)
groupName
- 指定的图层分组名。方法详细信息 |
---|
public void dispose()
public int getCount()
public Layer3D get(int index)
index
- 指定3D图层索引号。
public void add(Layer3D layer)
layer
- 指定的图层对象。public void insert(int index, Layer3D layer)
index
- 指定的图层索引。layer
- 指定的图层对象。public boolean remove(Layer3D layer)
layer
- 指定的图层对象。
public boolean remove(int index)
index
- 指定的图层索引。
public void unGroup()
public int indexOf(Layer3D layer)
layer
- 指定的图层。
public boolean contains(Layer3D layer)
layer
- 指定的图层
public java.lang.String getAvailableCaption(java.lang.String layerCaption)
layerCaption
- 图层显示名称。
public java.util.ArrayList<Layer3D> getDataLayers()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |