Abstract
Protected
_layoutProtected
_measuredProtected
_needsProtected
_needsProtected
_needsProtected
Readonly
_parentProtected
_readyRectangle Box occupies in canvas/etc
Protected
childrenReadonly
idGets the box's desired region, or undefined
Returns the root box
Gets visible state
Sets visible state
Debug log from this box context
Protected
layoutCalls notifyChildLayoutNeeded
Protected
layoutOptional
_parent: LayoutOptional
parent: LayoutProtected
measureApplies actual size, returning true if size is different than before
_needsLayout
to false.visual
to m
measureApply
on each childforce
, sets needsDrawing
to true, and notifies root of measureApplied
Measurement for box
Protected
measurePrepare for measuring
Protected
measureMeasure the box
Measure state
Optional
parent: MeasurementParent size
Start of measuring
opts.measurements
measureStart
on each childOptions
Force measurement
Optional
parent: MeasurementParent's measurement
Measurement
Sends a message to all child boxes.
This first calls onNotify
on this instance,
before calling notify()
on each child.
Protected
onNotification a child box has been added
Throws if
Protected
onSets _ready
to ready
. If includeChildren
is true,
setReady
is called on each child
Update
this.updateBegin()
to initialise measurement statemeasureStart()
and then measureApply
if possibleupdateDone
when finishedForce update
Protected
Abstract
updateGets initial state for a run of measurements & layout.
Called when update() is called
Protected
Abstract
update
Box