Area
Extends:
Direct Subclass:
Indirect Subclass:
Base class for all editors
Static Method Summary
Static Public Methods | ||
public static |
|
|
public static |
getActiveArea(type: *): * Get active area as defined by push_ctx_active and pop_ctx_active. |
|
public static |
makeAreasEnum(): * |
|
public static |
newSTRUCT(): * |
|
public static |
register(cls: *) |
|
public static |
unregister(cls: *) |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
borderLock: * |
|
public |
flag: * |
|
public get |
floating: * |
|
public set |
|
|
public |
helppicker: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
owning_sarea: * |
|
public |
pos: * |
|
public |
saved_uidata: * |
|
public |
size: * |
|
public |
switcher: * |
Private Members | ||
private |
_area_id: * |
Method Summary
Public Methods | ||
public |
|
|
public |
buildDataPath(): * |
|
public |
copy(): * |
|
public |
draw() |
|
public |
getBarHeight(): * |
|
public |
getKeyMaps(): Array<KeyMap> Return a list of keymaps used by this editor |
|
public |
|
|
public |
init() |
|
public |
loadData(obj: *) |
|
public |
loadJSON(obj: *): * |
|
public |
loadSTRUCT(reader: *) |
|
public |
loadSTRUCT(reader: *) |
|
public |
makeAreaSwitcher(container: *): * |
|
public |
makeHeader(container: *, add_note_area: boolean, make_draggable: boolean): * |
|
public |
called when editors are swapped with another editor type |
|
public |
|
|
public |
|
|
public |
called when editors are swapped with another editor type |
|
public |
on_fileload(isActiveEditor: *) |
|
public |
on_resize(size: *, oldsize: *) |
|
public |
pop_ctx_active(dontSetLastRef: boolean) see push_ctx_active |
|
public |
push_ctx_active(dontSetLastRef: boolean) |
|
public |
saveData(): {"_area_id": *, "areaName": *} |
|
public |
setCSS() |
|
public |
toJSON(): * |
|
public |
update() |
Private Methods | ||
private |
_getSavedUIData(): * |
|
private |
|
|
private |
|
Static Public Methods
public static define(): {"tagname": string, "areaname": *, "flag": *, "uiname": *, "icon": *} source
public static getActiveArea(type: *): * source
Get active area as defined by push_ctx_active and pop_ctx_active.
Type should be an Area subclass, if undefined the last accessed area will be returned.
Params:
Name | Type | Attribute | Description |
type | * |
Return:
* |
public static register(cls: *) source
Params:
Name | Type | Attribute | Description |
cls | * |
public static unregister(cls: *) source
Params:
Name | Type | Attribute | Description |
cls | * |
Public Constructors
public constructor() source
Public Members
public borderLock: * source
public flag: * source
public get floating: * source
public set floating source
public helppicker: * source
public owning_sarea: * source
public pos: * source
public saved_uidata: * source
public size: * source
public switcher: * source
Private Members
private _area_id: * source
Public Methods
public afterSTRUCT() source
public draw() source
public getScreen() source
public init() source
public loadData(obj: *) source
Params:
Name | Type | Attribute | Description |
obj | * |
public loadSTRUCT(reader: *) source
Params:
Name | Type | Attribute | Description |
reader | * |
public loadSTRUCT(reader: *) source
Params:
Name | Type | Attribute | Description |
reader | * |
public makeAreaSwitcher(container: *): * source
Params:
Name | Type | Attribute | Description |
container | * |
Return:
* |
public makeHeader(container: *, add_note_area: boolean, make_draggable: boolean): * source
Return:
* |
public on_area_blur() source
public on_area_focus() source
public on_fileload(isActiveEditor: *) source
Params:
Name | Type | Attribute | Description |
isActiveEditor | * |
public on_resize(size: *, oldsize: *) source
Params:
Name | Type | Attribute | Description |
size | * | ||
oldsize | * |
public pop_ctx_active(dontSetLastRef: boolean) source
see push_ctx_active
Params:
Name | Type | Attribute | Description |
dontSetLastRef | boolean |
|
public push_ctx_active(dontSetLastRef: boolean) source
Params:
Name | Type | Attribute | Description |
dontSetLastRef | boolean |
|