Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/view
LayoutManager
Class LayoutManager<V>
Type parameters
V
:
View
=
View
Hierarchy
ViewManager
<
V
>
LayoutManager
Index
Constructors
constructor
Properties
root
Views
solver
view
Manager
Observers
Methods
activate
Constraint
activate
Constraint
Variable
add
View
Manager
Observer
create
Solver
deactivate
Constraint
deactivate
Constraint
Variable
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
View
did
Observe
did
Remove
Root
View
did
Remove
View
Manager
Observer
insert
Root
View
is
Attached
on
Add
View
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
View
on
Remove
Root
View
on
Remove
View
Manager
Observer
remove
Root
View
remove
View
Manager
Observer
set
Constraint
Variable
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
View
will
Observe
will
Remove
Root
View
will
Remove
View
Manager
Observer
global
Constructors
constructor
new
Layout
Manager<V>
(
)
:
LayoutManager
<
V
>
Type parameters
V
:
View
<
V
>
=
View
Returns
LayoutManager
<
V
>
Properties
Readonly
root
Views
root
Views
:
readonly
V
[]
Readonly
solver
solver
:
ConstraintSolver
Readonly
view
Manager
Observers
view
Manager
Observers
:
readonly
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
[]
Methods
activate
Constraint
activate
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
activate
Constraint
Variable
activate
Constraint
Variable
(
constraintVariable
:
ConstraintVariable
)
:
void
Parameters
constraintVariable:
ConstraintVariable
Returns
void
add
View
Manager
Observer
add
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
Protected
create
Solver
create
Solver
(
)
:
ConstraintSolver
Returns
ConstraintSolver
deactivate
Constraint
deactivate
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
deactivate
Constraint
Variable
deactivate
Constraint
Variable
(
constraintVariable
:
ConstraintVariable
)
:
void
Parameters
constraintVariable:
ConstraintVariable
Returns
void
Protected
did
Add
View
Manager
Observer
did
Add
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
Protected
did
Attach
did
Attach
(
)
:
void
Returns
void
Protected
did
Detach
did
Detach
(
)
:
void
Returns
void
Protected
did
Insert
Root
View
did
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Observe
did
Observe<T>
(
callback
:
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
=>
void
|
T
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
did
Remove
Root
View
did
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
did
Remove
View
Manager
Observer
did
Remove
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
insert
Root
View
insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
is
Attached
is
Attached
(
)
:
boolean
Returns
boolean
Protected
on
Add
View
Manager
Observer
on
Add
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
void
Returns
void
Protected
on
Detach
on
Detach
(
)
:
void
Returns
void
Protected
on
Insert
Root
View
on
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Remove
Root
View
on
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
on
Remove
View
Manager
Observer
on
Remove
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
remove
Root
View
remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
remove
View
Manager
Observer
remove
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
set
Constraint
Variable
set
Constraint
Variable
(
constraintVariable
:
ConstraintVariable
, state
:
number
)
:
void
Parameters
constraintVariable:
ConstraintVariable
state:
number
Returns
void
Protected
will
Add
View
Manager
Observer
will
Add
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
void
Returns
void
Protected
will
Detach
will
Detach
(
)
:
void
Returns
void
Protected
will
Insert
Root
View
will
Insert
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Observe
will
Observe<T>
(
callback
:
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
=>
void
|
T
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
|
T
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
|
T
Returns
undefined
|
T
Protected
will
Remove
Root
View
will
Remove
Root
View
(
rootView
:
V
)
:
void
Parameters
rootView:
V
Returns
void
Protected
will
Remove
View
Manager
Observer
will
Remove
View
Manager
Observer
(
viewManagerObserver
:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
)
:
void
Parameters
viewManagerObserver:
LayoutManagerObserver
<
View
,
LayoutManager
<
View
>
>
Returns
void
Static
global
global<V>
(
)
:
LayoutManager
<
V
>
Type parameters
V
:
View
<
V
>
Returns
LayoutManager
<
V
>
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Layout
Manager
constructor
root
Views
solver
view
Manager
Observers
activate
Constraint
activate
Constraint
Variable
add
View
Manager
Observer
create
Solver
deactivate
Constraint
deactivate
Constraint
Variable
did
Add
View
Manager
Observer
did
Attach
did
Detach
did
Insert
Root
View
did
Observe
did
Remove
Root
View
did
Remove
View
Manager
Observer
insert
Root
View
is
Attached
on
Add
View
Manager
Observer
on
Attach
on
Detach
on
Insert
Root
View
on
Remove
Root
View
on
Remove
View
Manager
Observer
remove
Root
View
remove
View
Manager
Observer
set
Constraint
Variable
will
Add
View
Manager
Observer
will
Attach
will
Detach
will
Insert
Root
View
will
Observe
will
Remove
Root
View
will
Remove
View
Manager
Observer
global
Generated using
TypeDoc