Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DisplayManager<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

displayFrame

displayFrame: number

processTimer

processTimer: number

Readonly rootFlags

rootFlags: number

Readonly rootViews

rootViews: readonly V[]

updateDelay

updateDelay: number

Readonly viewManagerObservers

viewManagerObservers: readonly DisplayManagerObserver<View, DisplayManager<View>>[]

Static MaxProcessInterval

MaxProcessInterval: number

Static MaxUpdateDelay

MaxUpdateDelay: number

Static MinProcessInterval

MinProcessInterval: number

Static MinUpdateDelay

MinUpdateDelay: number

Accessors

powerFlags

  • get powerFlags(): number
  • Returns number

Methods

addViewManagerObserver

Protected attachEvents

  • attachEvents(): void
  • Returns void

Protected cancelUpdate

  • cancelUpdate(): void
  • Returns void

Protected detachEvents

  • detachEvents(): void
  • Returns void

Protected didAddViewManagerObserver

Protected didAttach

  • didAttach(): void
  • Returns void

Protected didDetach

  • didDetach(): void
  • Returns void

Protected didInsertRootView

  • didInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected didObserve

Protected didRemoveRootView

  • didRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected didRemoveViewManagerObserver

Protected didRequestUpdate

  • didRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void
  • Parameters

    • targetView: View
    • updateFlags: number
    • immediate: boolean

    Returns void

insertRootView

  • insertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

Protected onAddViewManagerObserver

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onInsertRootView

  • onInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onPower

  • onPower(): void
  • Returns void

Protected onRemoveRootView

  • onRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onRemoveViewManagerObserver

Protected onRequestUpdate

  • onRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void
  • Parameters

    • targetView: View
    • updateFlags: number
    • immediate: boolean

    Returns void

Protected onUnpower

  • onUnpower(): void
  • Returns void

Protected onVisibilityChange

  • onVisibilityChange(): void
  • Returns void

Protected powerRootView

  • powerRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected powerRootViews

  • powerRootViews(): void
  • Returns void

removeRootView

  • removeRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

removeViewManagerObserver

requestUpdate

  • requestUpdate(targetView: View, updateFlags: number, immediate: boolean): void
  • Parameters

    • targetView: View
    • updateFlags: number
    • immediate: boolean

    Returns void

Protected runDisplayPass

  • runDisplayPass(time?: number, immediate?: boolean): void
  • Parameters

    • Optional time: number
    • Optional immediate: boolean

    Returns void

Protected runImmediatePass

  • runImmediatePass(): void
  • Returns void

Protected runProcessPass

  • runProcessPass(immediate?: boolean): void
  • Parameters

    • Optional immediate: boolean

    Returns void

Protected scheduleUpdate

  • scheduleUpdate(): void
  • Returns void

setRootFlags

  • setRootFlags(rootFlags: number): void
  • Parameters

    • rootFlags: number

    Returns void

Protected unpowerRootView

  • unpowerRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected unpowerRootViews

  • unpowerRootViews(): void
  • Returns void

updatedViewContext

  • Parameters

    Returns ViewContext

Protected willAddViewManagerObserver

Protected willAttach

  • willAttach(): void
  • Returns void

Protected willDetach

  • willDetach(): void
  • Returns void

Protected willInsertRootView

  • willInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected willObserve

Protected willRemoveRootView

  • willRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected willRemoveViewManagerObserver

Protected willRequestUpdate

  • willRequestUpdate(targetView: View, updateFlags: number, immediate: boolean): void
  • Parameters

    • targetView: View
    • updateFlags: number
    • immediate: boolean

    Returns void

Static global

  • Type parameters

    Returns DisplayManager<V>

Generated using TypeDoc