Interface IDelayedTask

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public platformConfig?: any

[Config Option] (Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public cancel()

[Method] Cancel the last queued timeout

optional public delay(delay?: number, newFn?: any, newScope?: any, newArgs?: Array<any>)

[Method] Cancels any pending timeout and queues a new one

Parameters

  • delay?: number optional

    Number The milliseconds to delay

  • newFn?: any optional

    Function Overrides the original function passed when instantiated.

  • newScope?: any optional

    Object Overrides the original scope passed when instantiated. Remember that if no scope is specified, this will refer to the browser window.

  • newArgs?: Array<any> optional

    Array Overrides the original args passed when instantiated.

optional public destroy()

[Method]

optional public getArgs(): any

[Method] Returns the value of args

Returns

any

Object

optional public getDelay(): any

[Method] Returns the value of delay

Returns

any

Object

optional public getFn(): any

[Method] Returns the value of fn

Returns

any

Object

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInterval(): any

[Method] Returns the value of interval

Returns

any

Object

optional public getScope(): any

[Method] Returns the value of scope

Returns

any

Object

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public setArgs(args?: any)

[Method] Sets the value of args

Parameters

  • args?: any optional

    Object The new value.

optional public setDelay(delay?: any)

[Method] Sets the value of delay

Parameters

  • delay?: any optional

    Object The new value.

optional public setFn(fn?: any)

[Method] Sets the value of fn

Parameters

  • fn?: any optional

    Object The new value.

optional public setInterval(interval?: any)

[Method] Sets the value of interval

Parameters

  • interval?: any optional

    Object The new value.

optional public setScope(scope?: any)

[Method] Sets the value of scope

Parameters

  • scope?: any optional

    Object The new value.