Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BooleanViewAnimator<V>

Type parameters

Hierarchy

  • ViewAnimator<V, boolean | null | undefined, boolean | string | null | undefined>
    • BooleanViewAnimator

Callable

  • BooleanViewAnimator(): undefined | null | boolean
  • BooleanViewAnimator(newState: undefined | null | string | boolean, precedenceOrTiming: undefined | number | boolean | AnyTiming): V
  • BooleanViewAnimator(newState: undefined | null | string | boolean, timing?: boolean | AnyTiming, precedence?: number): V
  • Returns undefined | null | boolean

  • Parameters

    • newState: undefined | null | string | boolean
    • precedenceOrTiming: undefined | number | boolean | AnyTiming

    Returns V

  • Parameters

    • newState: undefined | null | string | boolean
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns V

Index

Constructors

constructor

  • new BooleanViewAnimator<V>(owner: V, animatorName: undefined | string): BooleanViewAnimator<V>
  • Type parameters

    Parameters

    • owner: V
    • animatorName: undefined | string

    Returns BooleanViewAnimator<V>

Properties

Readonly animatorFlags

animatorFlags: number

Readonly inherit

inherit: string | boolean

Readonly interpolator

interpolator: null | Interpolator<undefined | null | boolean>

Readonly name

name: string

Readonly ownLook

ownLook: null | Look<undefined | null | boolean, never>

Readonly ownState

ownState: undefined | null | boolean

Readonly ownValue

ownValue: undefined | null | boolean

Readonly owner

owner: V

Readonly precedence

precedence: number

subAnimators

subAnimators: null | ViewAnimator<View, undefined | null | boolean, never>[]

Readonly superAnimator

superAnimator: null | ViewAnimator<View, undefined | null | boolean, never>

Readonly superLook

superLook: null | Look<undefined | null | boolean, never>

Readonly superName

superName: undefined | string

Readonly superState

superState: undefined | null | boolean

Readonly superValue

superValue: undefined | null | boolean

Readonly timing

timing: null | Timing

Optional updateFlags

updateFlags: number

Accessors

look

  • get look(): null | Look<T, never>
  • Returns null | Look<T, never>

state

  • get state(): T
  • Returns T

updatedValue

  • get updatedValue(): undefined | T
  • Returns undefined | T

value

  • get value(): T
  • Returns T

Methods

addSubAnimator

  • addSubAnimator(subAnimator: ViewAnimator<View, undefined | null | boolean, never>): void
  • Parameters

    Returns void

applyLook

  • applyLook(look: Look<undefined | null | boolean, never>, timing: boolean | Timing): void
  • Parameters

    • look: Look<undefined | null | boolean, never>
    • timing: boolean | Timing

    Returns void

applyTheme

  • Parameters

    Returns void

bindSuperAnimator

  • bindSuperAnimator(): void
  • Returns void

didMount

  • didMount(): void
  • Returns void

didSetLook

  • didSetLook(newLook: null | Look<undefined | null | boolean, never>, oldLook: null | Look<undefined | null | boolean, never>, timing: boolean | Timing): void
  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • oldLook: null | Look<undefined | null | boolean, never>
    • timing: boolean | Timing

    Returns void

didSetPrecedence

  • didSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected didSetState

  • didSetState(newState: undefined | null | boolean, oldState: undefined | null | boolean): void
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean

    Returns void

didSetValue

  • didSetValue(newValue: undefined | null | boolean, oldValue: undefined | null | boolean): void
  • Parameters

    • newValue: undefined | null | boolean
    • oldValue: undefined | null | boolean

    Returns void

didStartAnimating

  • didStartAnimating(): void
  • Returns void

didStopAnimating

  • didStopAnimating(): void
  • Returns void

didUnmount

  • didUnmount(): void
  • Returns void

equalState

  • equalState(newState: undefined | null | boolean, oldState: undefined | null | boolean): boolean
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean

    Returns boolean

fromAny

  • fromAny(value: undefined | null | string | boolean): undefined | null | boolean
  • Parameters

    • value: undefined | null | string | boolean

    Returns undefined | null | boolean

getState

  • getState(): boolean
  • Returns boolean

getStateOr

  • getStateOr<E>(elseState: E): boolean | E
  • Type parameters

    • E

    Parameters

    • elseState: E

    Returns boolean | E

getValue

  • getValue(): boolean
  • Returns boolean

getValueOr

  • getValueOr<E>(elseValue: E): boolean | E
  • Type parameters

    • E

    Parameters

    • elseValue: E

    Returns boolean | E

isAnimating

  • isAnimating(): boolean
  • Returns boolean

isDefined

  • isDefined(value: undefined | null | boolean): boolean
  • Parameters

    • value: undefined | null | boolean

    Returns boolean

isInherited

  • isInherited(): boolean
  • Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

isUpdated

  • isUpdated(): boolean
  • Returns boolean

mount

  • mount(): void
  • Returns void

onAnimate

  • onAnimate(t: number): void
  • Parameters

    • t: number

    Returns void

onAnimateInherited

  • onAnimateInherited(t: number): void
  • Parameters

    • t: number

    Returns void

onBegin

  • onBegin(value: undefined | null | boolean): void
  • Parameters

    • value: undefined | null | boolean

    Returns void

onEnd

  • onEnd(value: undefined | null | boolean): void
  • Parameters

    • value: undefined | null | boolean

    Returns void

onInterrupt

  • onInterrupt(value: undefined | null | boolean): void
  • Parameters

    • value: undefined | null | boolean

    Returns void

onMount

  • onMount(): void
  • Returns void

onSetLook

  • onSetLook(newLook: null | Look<undefined | null | boolean, never>, oldLook: null | Look<undefined | null | boolean, never>, timing: boolean | Timing): void
  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • oldLook: null | Look<undefined | null | boolean, never>
    • timing: boolean | Timing

    Returns void

onSetPrecedence

  • onSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected onSetState

  • onSetState(newState: undefined | null | boolean, oldState: undefined | null | boolean): void
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean

    Returns void

onSetValue

  • onSetValue(newValue: undefined | null | boolean, oldValue: undefined | null | boolean): void
  • Parameters

    • newValue: undefined | null | boolean
    • oldValue: undefined | null | boolean

    Returns void

onStartAnimating

  • onStartAnimating(): void
  • Returns void

onStopAnimating

  • onStopAnimating(): void
  • Returns void

onUnmount

  • onUnmount(): void
  • Returns void

removeSubAnimator

  • removeSubAnimator(subAnimator: ViewAnimator<View, undefined | null | boolean, never>): void
  • Parameters

    Returns void

setAnimatedState

  • setAnimatedState(newState: undefined | null | boolean, oldState: undefined | null | boolean, timing: Timing): void
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean
    • timing: Timing

    Returns void

setAnimatorFlags

  • setAnimatorFlags(animatorFlags: number): void
  • Parameters

    • animatorFlags: number

    Returns void

setImmediateState

  • setImmediateState(newState: undefined | null | boolean, oldState: undefined | null | boolean): void
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean

    Returns void

setInherit

  • setInherit(inherit: string | boolean): void
  • Parameters

    • inherit: string | boolean

    Returns void

setInherited

  • setInherited(inherited: boolean): void
  • Parameters

    • inherited: boolean

    Returns void

setIntermediateValue

  • setIntermediateValue(newValue: undefined | null | boolean, newState?: null | boolean): void
  • Parameters

    • newValue: undefined | null | boolean
    • Optional newState: null | boolean

    Returns void

setLook

  • setLook(newLook: null | Look<undefined | null | boolean, never>, precedenceOrTiming: undefined | number | boolean | AnyTiming): void
  • setLook(newLook: null | Look<undefined | null | boolean, never>, timing?: boolean | AnyTiming, precedence?: number): void
  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • precedenceOrTiming: undefined | number | boolean | AnyTiming

    Returns void

  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns void

setOwnLook

  • setOwnLook(newLook: null | Look<undefined | null | boolean, never>, timing?: boolean | AnyTiming): void
  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • Optional timing: boolean | AnyTiming

    Returns void

setOwnState

  • setOwnState(newState: undefined | null | string | boolean, timing?: boolean | AnyTiming): void
  • Parameters

    • newState: undefined | null | string | boolean
    • Optional timing: boolean | AnyTiming

    Returns void

setPrecedence

  • setPrecedence(newPrecedence: number): void
  • Parameters

    • newPrecedence: number

    Returns void

setState

  • setState(newState: undefined | null | string | boolean, precedenceOrTiming: undefined | number | boolean | AnyTiming): void
  • setState(newState: undefined | null | string | boolean, timing?: boolean | AnyTiming, precedence?: number): void
  • Parameters

    • newState: undefined | null | string | boolean
    • precedenceOrTiming: undefined | number | boolean | AnyTiming

    Returns void

  • Parameters

    • newState: undefined | null | string | boolean
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns void

setValue

  • setValue(newValue: undefined | null | boolean, oldValue?: null | boolean): void
  • Parameters

    • newValue: undefined | null | boolean
    • Optional oldValue: null | boolean

    Returns void

Protected startAnimating

  • startAnimating(): void
  • Returns void

Protected stopAnimating

  • stopAnimating(): void
  • Returns void

takeUpdatedValue

  • takeUpdatedValue(): undefined | null | boolean
  • Returns undefined | null | boolean

takeValue

  • takeValue(): undefined | null | boolean
  • Returns undefined | null | boolean

takesPrecedence

  • takesPrecedence(precedence: number): boolean
  • Parameters

    • precedence: number

    Returns boolean

toString

  • toString(): string
  • Returns string

unbindSuperAnimator

  • unbindSuperAnimator(): void
  • Returns void

unmount

  • unmount(): void
  • Returns void

willMount

  • willMount(): void
  • Returns void

willSetLook

  • willSetLook(newLook: null | Look<undefined | null | boolean, never>, oldLook: null | Look<undefined | null | boolean, never>, timing: boolean | Timing): void
  • Parameters

    • newLook: null | Look<undefined | null | boolean, never>
    • oldLook: null | Look<undefined | null | boolean, never>
    • timing: boolean | Timing

    Returns void

willSetPrecedence

  • willSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected willSetState

  • willSetState(newState: undefined | null | boolean, oldState: undefined | null | boolean): void
  • Parameters

    • newState: undefined | null | boolean
    • oldState: undefined | null | boolean

    Returns void

willSetValue

  • willSetValue(newValue: undefined | null | boolean, oldValue: undefined | null | boolean): void
  • Parameters

    • newValue: undefined | null | boolean
    • oldValue: undefined | null | boolean

    Returns void

willStartAnimating

  • willStartAnimating(): void
  • Returns void

willStopAnimating

  • willStopAnimating(): void
  • Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Static define

  • Type parameters

    • V_12: View<V_12>

    • T_12

    • U_12 = never

    • I_1 = {}

    Parameters

    Returns ViewAnimatorConstructor<V_12, T_12, U_12, I_1>

  • Type parameters

    • V_13: View<V_13>

    • T_13

    • U_13 = never

    Parameters

    Returns ViewAnimatorConstructor<V_13, T_13, U_13, {}>

Static getClass

  • Parameters

    • type: unknown

    Returns null | ViewAnimatorClass

Generated using TypeDoc