Echo.Render
Descendant Class Summary |
---|
Echo.Render.ComponentSync |
Echo.Render.RootSync |
Class Field Summary | |
---|---|
Internal | _loadedPeerCount Count of loaded/unloaded peers. |
Internal | _nextPeerId Next sequentially assigned unique peer identifier. |
Class Method Summary | |
---|---|
Internal | _componentDepthArraySort() An array sorting implementation to organize an array by component depth. |
Internal | _doRenderDisplay() Recursively invokes renderDisplay() method on a sub-hierarchy of the component hierarchy. |
Internal | _doRenderDisplayImpl() Recursive work method for _doRenderDisplay(). |
Internal | _getComponentDepth() Returns the depth of a specific component in the hierarchy. |
Internal | _loadPeer() Creates a component synchronization peer for a component. |
Public | notifyResize() Notifies child components that the parent component has been drawn or resized. |
Internal | _processDispose() Invokes renderDispose() on all removed children and descendants found in the specified update. |
Public | processUpdates() Processes all pending updates in the client's application's update manager. |
Public | registerPeer() Registers a component type name with an instantiable peer class. |
Public | renderComponentAdd() Renders a new component inside of a DOM element. |
Public | renderComponentDisplay() Manually invokes renderDisplay on a component (and its descendants) that was added to the hierarchy outside of processUpdates(). |
Public | renderComponentDispose() Disposes of a component and its descendants. |
Internal | _renderComponentDisposeImpl() Recursive implementation of renderComponentDispose. |
Internal | _setPeerDisposedState() Sets the peer disposed state of a component. |
Internal | _unloadPeer() Destroys a component synchronization peer for a specific components. |
Public | updateFocus() Focuses the currently focused component of the application. |
the
(Echo.Component)
- root component of the sub-hierarchy on which renderDisplay() should be invokedincludeSelf
(Boolean)
- flag indicating whether renderDisplay() should be invoked on the
specified component (if false, it will only be invoked on child components)component
(Echo.Component)
- the component on which to invoke renderDisplay()component
(Echo.Component)
- the component whose depth is to be calculatedclient
(Echo.Client)
- the relevant Clientcomponent
(Echo.Component)
- the componentIf your component requires virtual positioning (for IE6) you should invoke this method after informing the virtual positioning system to recalculate the size of your component.
parent
(Echo.Component)
- the component whose size changedupdate
(Echo.Update.ComponentUpdate)
- the updateclient
(Echo.Client)
- the clientcomponentName
(String)
- the component type namepeerObject
(Function)
- the peer class objectupdate
(Echo.Update.ComponentUpdate)
- the relevant ComponentUpdatecomponent
(Echo.Component)
- the component to addparentElement
(Element)
- the DOM element to which the rendered component should be addedparent
(Echo.Component)
- the parent component of the sub-hierarchy on which renderDisplay() should
be invoked (note that renderDisplay WILL be invoked on the parent as well
as its descendants)update
(Echo.Update.ComponentUpdate)
- the ComponentUpdate
for which this change is being performedcomponent
(Echo.Component)
- the Component
to be disposedupdate
(Echo.Update.ComponentUpdate)
- the ComponentUpdate
for which this change is being performedcomponent
(Echo.Component)
- the Component
to be disposedcomponent
(Echo.Component)
- the componentdisposed
(Boolean)
- the disposed state, true indicating the component has
been disposedcomponent
(Echo.Component)
- the componentclient
(Echo.Client)
- the client