Home Reference Source
import {AreaWrangler} from './scripts/screen/area_wrangler.js'
public class | source

AreaWrangler

You can directly use an instance of this class. contextWrangler

Static Method Summary

Static Public Methods
public static
public static

lock(): *

public static

unlock(): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

lasts: *

public
public

stack: *[]

public

stacks: *

Private Members
private

Method Summary

Public Methods
public

copy(b: *): *

public

copyTo(ret: *)

public

getLastArea(type: *): *

public

lock(): *

public

makeSafeContext(ctx: *): *

public

pop(type: *, area: *)

public

push(type: *, area: *, pushLastRef: boolean)

public

reset(): *

public

unlock(): *

public

updateLastRef(type: *, area: *)

Private Methods
private

Static Public Methods

public static findInstance(): * source

Return:

*

public static lock(): * source

Return:

*

public static unlock(): * source

Return:

*

Public Constructors

public constructor() source

Public Members

public idgen: number source

public lastArea: * source

public lasts: * source

public locked: number source

public stack: *[] source

public stacks: * source

Private Members

private _last_screen_id: * source

Public Methods

public copy(b: *): * source

Params:

NameTypeAttributeDescription
b *

Return:

*

public copyTo(ret: *) source

Params:

NameTypeAttributeDescription
ret *

public getLastArea(type: *): * source

Params:

NameTypeAttributeDescription
type *

Return:

*

public lock(): * source

Return:

*

public makeSafeContext(ctx: *): * source

Params:

NameTypeAttributeDescription
ctx *

Return:

*

public pop(type: *, area: *) source

Params:

NameTypeAttributeDescription
type *
area *

public push(type: *, area: *, pushLastRef: boolean) source

Params:

NameTypeAttributeDescription
type *
area *
pushLastRef boolean
  • optional
  • default: true

public reset(): * source

Return:

*

public unlock(): * source

Return:

*

public updateLastRef(type: *, area: *) source

Params:

NameTypeAttributeDescription
type *
area *

Private Methods

private _checkWrangler(ctx: *): boolean source

Params:

NameTypeAttributeDescription
ctx *

Return:

boolean