RoomEditorToolbar

.SpatialRelation. RoomEditorToolbar

构造房间编辑器工具条

Constructor

new Glodon.Bimface.Plugins.SpatialRelation.RoomEditorToolbar(roomEditorToolbarConfig)

Parameters:
Name Type Description
roomEditorToolbarConfig Glodon.Bimface.Plugins.SpatialRelation.RoomEditorToolbarConfig

构造房间编辑器工具条配置项

Methods

addEventListener(event, callback)

注册监听事件

Parameters:
Name Type Description
event Glodon.Bimface.Plugins.SpatialRelation.RoomEditorToolbarEvent

房间编辑器的监听事件

callback function

监听事件的回调函数

exit()

退出房间编辑状态

hide()

隐藏房间编辑工具栏

removeEventListener(event, callback)

注销监听事件

Parameters:
Name Type Description
event Glodon.Bimface.Plugins.SpatialRelation.RoomEditorToolbarEvent

房间编辑器的监听事件

callback function

监听事件的回调函数

show()

显示房间编辑工具栏

update()

更新房间编辑结果