Echo.Sync
ArrayContainer
Abstract
Class Hierarchy:
Direct Known Subclasses:
Echo.Sync.Column, Echo.Sync.Row

Abstract base class for column/row peers.

Instance Field Summary
Public, Abstract cellElementNodeName
The DOM element name of child container cells.
Public, Virtual prevFocusKey
The key code which should move focus to the previous child cell.
Public, Virtual prevFocusFlag
The Echo.
Public, Virtual nextFocusKey
The key code which should move focus to the next child cell.
Public, Virtual nextFocusFlag
The Echo.
Public, Virtual invertFocusRtl
Flag indicating whether focus key should be inverted when the component is rendered with an RTL layout direction.
Public, Virtual element
The root DOM element of the rendered array container.
Public, Virtual containerElement
The DOM element to which child elements should be added.
Public, Virtual spacingPrototype
Prototype Element to be cloned and added between cells of the array container.
Public, Virtual cellSpacing
Number of pixels to be rendered as spacing between child cells of the container.
Internal, Virtual _childIdToElementMap
Mapping between child render ids and child container cell elements.

Instance Method Summary
Public, Abstract renderChildLayoutData()
Abstract method which renders layout data on child cell element.
Public processKeyPress()
Processes a key press event.
Internal _renderAddChild()
Renders the specified child to the containerElement.
Public renderAddChildren()
Renders all children.
Public renderDispose()
Internal _renderRemoveChild()
Removes a child cell.
Public renderUpdate()

Methods inherited from class Echo.Render.ComponentSync
renderAdd, renderDispose, renderUpdate

Instance Method Detail
renderChildLayoutData
Abstract method which renders layout data on child cell element.
Parameters:
child (Echo.Component) - the child component
the (Element) - DOM element containing the child

processKeyPress
Processes a key press event. Provides support for adjusting focus via arrow keys.
Parameters:
e - the event

_renderAddChild
Renders the specified child to the containerElement.
Parameters:
the (Echo.Update.ComponentUpdate) - update
the (Echo.Component) - child component
index (Number) - the index of the child within the parent

renderAddChildren
Renders all children. Must be invoked by derived renderAdd() implementations.
Parameters:
the (Echo.Update.ComponentUpdate) - update

renderDispose

_renderRemoveChild
Removes a child cell.
Parameters:
the (Echo.Update.ComponentUpdate) - update
the (Echo.Component) - child to remove

renderUpdate