Interface IBoundMomentum

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public bounce?: any

[Config Option] (Object)

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public minVelocity?: number

[Config Option] (Number)

optional public mixins?: any

[Config Option] (Object)

optional public momentum?: 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 startVelocity?: number

[Config Option] (Number)

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 destroy()

[Method]

optional public getBounce(): any

[Method] Returns the value of bounce

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 getMaxMomentumValue(): number

[Method] Returns the value of maxMomentumValue

Returns

number

Number

optional public getMinMomentumValue(): number

[Method] Returns the value of minMomentumValue

Returns

number

Number

optional public getMinVelocity(): number

[Method] Returns the value of minVelocity

Returns

number

Number

optional public getMomentum(): any

[Method] Returns the value of momentum

Returns

any

Object

optional public getStartTime(): number

[Method] Returns the value of startTime

Returns

number

Number

optional public getStartValue(): number

[Method] Returns the value of startValue

Returns

number

Number

optional public getStartVelocity(): number

[Method] Returns the value of startVelocity

Returns

number

Number

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 setBounce(bounce?: any)

[Method] Sets the value of bounce

Parameters

  • bounce?: any optional

    Object The new value.

optional public setMaxMomentumValue(maxMomentumValue?: number)

[Method] Sets the value of maxMomentumValue

Parameters

  • maxMomentumValue?: number optional

    Number The new value.

optional public setMinMomentumValue(minMomentumValue?: number)

[Method] Sets the value of minMomentumValue

Parameters

  • minMomentumValue?: number optional

    Number The new value.

optional public setMinVelocity(minVelocity?: number)

[Method] Sets the value of minVelocity

Parameters

  • minVelocity?: number optional

    Number The new value.

optional public setMomentum(momentum?: any)

[Method] Sets the value of momentum

Parameters

  • momentum?: any optional

    Object The new value.

optional public setStartTime(startTime?: number)

[Method] Sets the value of startTime

Parameters

  • startTime?: number optional

    Number The new value.

optional public setStartValue(startValue?: number)

[Method] Sets the value of startValue

Parameters

  • startValue?: number optional

    Number The new value.

optional public setStartVelocity(startVelocity?: number)

[Method] Sets the value of startVelocity

Parameters

  • startVelocity?: number optional

    Number The new value.