TabContainer
Extends:
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
setDefault(e: *): * |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
background: * |
|
public |
|
|
public get |
|
|
public set |
|
|
public |
horiz: * |
|
public |
|
|
public get |
movableTabs: * |
|
public set |
|
|
public |
|
|
public |
|
|
public |
tabs: {} |
|
public |
tbar: * |
Private Members | ||
private |
|
|
private |
_last_horiz: * |
|
private |
|
|
private |
_style: * |
|
private |
_tab: * |
Method Summary
Public Methods | ||
public |
clear() |
|
public |
|
|
public |
getActive(): * |
|
public |
getTab(name_or_id: *): * |
|
public |
getTabCount(): * |
|
public |
icontab(icon: *, id: *, tooltip: *): * |
|
public |
init() |
|
public |
loadData(json: *) |
|
public |
moveTab(tab: *, i: *) |
|
public |
removeTab(tab: *) |
|
public |
saveData(): * |
|
public |
setActive(tab: *) |
|
public |
setCSS() |
|
public |
|
|
public |
update() |
|
public |
|
|
public |
|
|
public |
|
Private Methods | ||
private |
_ensureNoModal(): * |
|
private |
|
|
private |
_startMove(tab: *, event: *): * |
Public Constructors
public constructor() source
Public Members
public background: * source
public get hideScrollBars: * source
public set hideScrollBars source
public horiz: * source
public get movableTabs: * source
public set movableTabs source
public tabs: {} source
public tbar: * source
Private Members
private _last_bar_pos: * source
private _last_horiz: * source
private _style: * source
private _tab: * source
Public Methods
public clear() source
public enableDrag() source
public icontab(icon: *, id: *, tooltip: *): * source
Params:
Name | Type | Attribute | Description |
icon | * | ||
id | * | ||
tooltip | * |
Return:
* |
public init() source
public loadData(json: *) source
Params:
Name | Type | Attribute | Description |
json | * |
public moveTab(tab: *, i: *) source
Params:
Name | Type | Attribute | Description |
tab | * | ||
i | * |
public removeTab(tab: *) source
Params:
Name | Type | Attribute | Description |
tab | * |
public setActive(tab: *) source
Params:
Name | Type | Attribute | Description |
tab | * |
public setCSS() source
public tab(name: *, id: *, tooltip: *, movable: boolean): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
id | * |
|
|
tooltip | * |
|
|
movable | boolean |
|
Return:
* |
public update() source
public updateBarPos() source
public updateHoriz() source
public updateStyle() source
Private Methods
private _remakeStyle() source
private _startMove(tab: *, event: *): * source
Params:
Name | Type | Attribute | Description |
tab | * |
|
|
event | * |
Return:
* |