PivotInspectorViewImpl
Pivot inspector view.
Properties
height: number (opens in a new tab)
height
default: undefined
model: PivotInspector readonly
Inspector Model
default: undefined
visible: boolean (opens in a new tab) readonly
visible
default: undefined
width: number (opens in a new tab)
width
default: undefined
x: number (opens in a new tab)
x
default: undefined
y: number (opens in a new tab)
y
default: undefined
Methods
clearSplitGhostResize(): void (opens in a new tab)
์คํ๋ฆฌํฐ ๊ณ ์คํธ ๋ฆฌ์ฌ์ด์ฆ ์ข ๋ฃ
close(): void (opens in a new tab)
๋ชจ๋ฌ ์ธ์คํํฐ ๋ซ๊ธฐ
computeDockSide(b, parentW): 'left' | 'right'
bounds๊ฐ ์ข/์ฐ ๋ชจ์๋ฆฌ์ ๋ฟ์ผ๋ฉด ํด๋น side, ์๋๋ฉด null. UndockTracker ๋ฑ ์ธ๋ถ ๋๋๊ทธ ํธ๋์ปค๊ฐ dock ์ ํ์ ํ์ ํ ๋ ์ฌ์ฌ์ฉํ๋ค.
| Parameter | Type |
|---|---|
| b | IRect |
| parentW | number (opens in a new tab) |
dispose(): null
๊ฐ์ฒด๋ฅผ ํด์ ํ๊ณ null์ ๋ฐํํ๋ค.
์ฌ์ฉ ์: this._obj = this._obj.dispose();
returnย null
open(): void (opens in a new tab)
๋ชจ๋ฌ ์ธ์คํํฐ ์ด๊ธฐ
removeDockPreview(ghost): void (opens in a new tab)
dock preview ghost ์ ๊ฑฐ.
| Parameter | Type |
|---|---|
| ghost | HTMLDivElement (opens in a new tab) |
setFloatBounds(bounds): this
Floating ๋ชจ๋์ผ ๋ ์์น/ํฌ๊ธฐ ์ ์ฉ. control ์ขํ๊ณ ๊ธฐ์ค. ๋ํน ํญ(view.width)์ ์์์ํค์ง ์๋๋ก dom style๋ง ์กฐ์ํ๋ค.
| Parameter | Type |
|---|---|
| bounds | IRect |
setPosition(position): this
Inspector ๋ฐฐ์น ์์น ์ค์ . 'left' | 'right' (docked) | 'float' (์์ ์ด๋/๋ฆฌ์ฌ์ด์ฆ).
| Parameter | Type |
|---|---|
| position | any (opens in a new tab) |
startSplitGhostResize(startWidth): void (opens in a new tab)
์คํ๋ฆฌํฐ ๊ณ ์คํธ ๋ฆฌ์ฌ์ด์ฆ ์์
| Parameter | Type |
|---|---|
| startWidth | number (opens in a new tab) |
updateDockPreview(doc, ghost, side, parentW, parentH): HTMLDivElement (opens in a new tab)
dock preview ghost๋ฅผ side์ ๋ง์ถฐ ๊ฐฑ์ /์ ๊ฑฐํ๊ณ ํ์ฌ ghost๋ฅผ ๋ฐํํ๋ค.
| Parameter | Type |
|---|---|
| doc | Document (opens in a new tab) |
| ghost | HTMLDivElement (opens in a new tab) |
| side | 'left' | 'right' |
| parentW | number (opens in a new tab) |
| parentH | number (opens in a new tab) |
updateSplitGhostResize(previewWidth): void (opens in a new tab)
์คํ๋ฆฌํฐ ๊ณ ์คํธ ๋ฆฌ์ฌ์ด์ฆ ๊ฐฑ์
| Parameter | Type |
|---|---|
| previewWidth | number (opens in a new tab) |