Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LayoutManager<V>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly rootViews

rootViews: readonly V[]

Readonly solver

Readonly viewManagerObservers

viewManagerObservers: readonly LayoutManagerObserver<View, LayoutManager<View>>[]

Methods

activateConstraint

  • activateConstraint(constraint: Constraint): void
  • Parameters

    Returns void

activateConstraintVariable

  • Parameters

    Returns void

addViewManagerObserver

Protected createSolver

  • Returns ConstraintSolver

deactivateConstraint

  • deactivateConstraint(constraint: Constraint): void
  • Parameters

    Returns void

deactivateConstraintVariable

  • Parameters

    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

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 onRemoveRootView

  • onRemoveRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

Protected onRemoveViewManagerObserver

removeRootView

  • removeRootView(rootView: V): void
  • Parameters

    • rootView: V

    Returns void

removeViewManagerObserver

setConstraintVariable

  • Parameters

    Returns void

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

Static global

  • Type parameters

    Returns LayoutManager<V>

Generated using TypeDoc