Toolbar
GetToolbar
툴바 가져오기
Example
Returns
Name | Type | Description |
---|---|---|
object | Object | 툴바 오브젝트 |
Show
툴바 보이기/숨기기
Example
Parameters
Name | Type | Description |
---|---|---|
visible | Boolean | 툴바 보이기/숨기기 |
SetPosition
Toolbar 위치 설정
Example
Parameters
Name | Type | Description |
---|---|---|
position | Enum | 툴바 위치 vizcore.UIElement.Enum.TOOLBAR_POS.TOP vizcore.UIElement.Enum.TOOLBAR_POS.BOTTOM vizcore.UIElement.Enum.TOOLBAR_POS.LEFT vizcore.UIElement.Enum.TOOLBAR_POS.RIGHT |
GetMenu
툴바 모든 메뉴 가져오기
Example
Returns
Name | Type | Description |
---|---|---|
objects | Array | 툴바 메뉴 오브젝트 배열 |
GetMenuById
ID에 해당하는 툴바 메뉴 반환
Example
Parameters
Name | Type | Description |
---|---|---|
id | string | 버튼 ID |
Returns
Name | Type | Description |
---|---|---|
object | Object | 버튼 오브젝트 |
SetMenu
툴바 메뉴 설정
Example
Parameters
Name | Type | Description |
---|---|---|
objects | Array | 툴바 메뉴 오브젝트 배열 |
UpdateMenu
툴바 메뉴 업데이트
Example
Parameters
Name | Type | Description |
---|---|---|
objects | Array | 버튼 오브젝트 배열 |
Add
버튼 생성
Example
Parameters
Name | Type | Description |
---|---|---|
objects | Array | 버튼 오브젝트 배열 |
AddSub
서브 버튼 추가
Example
Parameters
Name | Type | Description |
---|---|---|
parentID | String | 서브 버튼 추가할 부모 버튼 ID |
childInfo | Array | 서브 버튼 오브젝트 배열 |
position | int | 버튼의 추가될 위치 index 값 |
SetCheckButton
Button Check
Example
Parameters
Name | Type | Description |
---|---|---|
id | String | 버튼 ID |
check | Boolean | 버튼 체크/ 체크해제 |
SetCheckButtons
Button Check
Example
Parameters
Name | Type | Description |
---|---|---|
ids | Array | 버튼 ID 배열 |
check | Boolean | 버튼 체크/ 체크해제 |
SetCheckButtonImg
Button Check Image
Example
Parameters
Name | Type | Description |
---|---|---|
id | String | 버튼 ID |
check | Boolean | 버튼 체크/ 체크해제 |
SetVisibleButton
Button 보이기/ 숨기기
Example
Parameters
Name | Type | Description |
---|---|---|
id | String | 버튼 ID |
visible | boolean | 버튼 보이기/ 숨기기 |
SetEnableButton
Button 활성화/ 비활성화
Example
Parameters
Name | Type | Description |
---|---|---|
id | String | 버튼 ID |
enable | boolean | 버튼 활성화/ 비활성화 |