Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ThemeManager<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly mood

Readonly rootViews

rootViews: readonly V[]

Readonly theme

Readonly viewManagerObservers

viewManagerObservers: readonly ThemeManagerObserver<View, ThemeManager<View>>[]

Methods

addViewManagerObserver

Protected applyTheme

  • Parameters

    Returns void

Protected didAddViewManagerObserver

Protected didApplyTheme

  • Parameters

    Returns void

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 initMood

  • Returns MoodVector<Feel>

Protected initTheme

  • Returns ThemeMatrix

insertRootView

  • insertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

isAttached

  • isAttached(): boolean
  • Returns boolean

Protected onAddViewManagerObserver

Protected onApplyTheme

  • Parameters

    Returns void

Protected onAttach

  • onAttach(): void
  • Returns void

Protected onDetach

  • onDetach(): void
  • Returns void

Protected onInsertRootView

  • onInsertRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onRemoveRootView

  • onRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onRemoveViewManagerObserver

removeRootView

  • removeRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

removeViewManagerObserver

setMood

  • Parameters

    Returns void

setTheme

  • Parameters

    Returns void

Protected willAddViewManagerObserver

Protected willApplyTheme

  • Parameters

    Returns void

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

Static global

  • Type parameters

    Returns ThemeManager<V>

Generated using TypeDoc