UIManager
类:UI管理器类
Methods
addControl(control, option)
添加组件
Parameters:
| Name | Type | Description | 
|---|---|---|
| control | Object | UI控件,对应Glodon.Bimface.Tiles.UI下的组件相关类 | 
| option | Object | 添加组件的选项 | 
getAllControls()
获取所有组件
Returns:
| Type | Description | 
|---|---|
| Array | 组件对象列表 | 
getControl(condition)
根据筛选条件获取组件对象
Parameters:
| Name | Type | Description | 
|---|---|---|
| condition | Object | 筛选条件 | 
Returns:
| Type | Description | 
|---|---|
| Object | UI控件,对应Glodon.Bimface.Tiles.UI下的组件相关类 | 
getInfoBar()
获取经纬度高程信息窗口对象
Returns:
| Type | Description | 
|---|---|
| Glodon.Bimface.Plugins.InfoBar | 经纬度高程信息窗口对象 | 
getScaleBar()
获取比例尺对象
Returns:
| Type | Description | 
|---|---|
| Glodon.Bimface.Plugins.ScaleBar | 比例尺对象 | 
removeControl(control)
移除指定组件
Parameters:
| Name | Type | Description | 
|---|---|---|
| control | Object | UI控件,对应Glodon.Bimface.Tiles.UI下的组件相关类 |