Abstract
Echo.Render.ComponentSync
Echo.Arc.ChildContainerPeer
, Echo.Arc.ComponentSync
, Echo.Render.RootSync
, Echo.Sync.ArrayContainer
, Echo.Sync.Button
, Echo.Sync.ContentPane
, Echo.Sync.Grid
, Echo.Sync.Label
, Echo.Sync.SplitPane
, Echo.Sync.TextComponent
, Echo.Sync.WindowPane
, Extras.Sync.AccordionPane
, Extras.Sync.BorderPane
, Extras.Sync.CalendarSelect
, Extras.Sync.ColorSelect
, Extras.Sync.Group
, Extras.Sync.Menu
, Extras.Sync.TabPane
, Extras.Sync.ToolTipContainer
, Extras.Sync.TransitionPane
Constructor Summary | |
---|---|
Public | Echo.Render.ComponentSync() Creates a new component synchronization peer. |
Class Field Summary | |
---|---|
Public | FOCUS_PERMIT_ARROW_UP Focus flag indicating up arrow keypress events should be handled by focus manager when the component is focused. |
Public | FOCUS_PERMIT_ARROW_DOWN Focus flag indicating down arrow keypress events should be handled by focus manager when the component is focused. |
Public | FOCUS_PERMIT_ARROW_LEFT Focus flag indicating left arrow keypress events should be handled by focus manager when the component is focused. |
Public | FOCUS_PERMIT_ARROW_RIGHT Focus flag indicating right arrow keypress events should be handled by focus manager when the component is focused. |
Public | FOCUS_PERMIT_ARROW_ALL Focus flag indicating all arrow keypress events should be handled by focus manager when the component is focused. |
Public | SIZE_HEIGHT Dimension value for getPreferredSize() indicating height should be calculated.
|
Public | SIZE_WIDTH Dimension value for getPreferredSize() indicating width should be calculated.
|
Internal | _peerId Unique peer identifier, for internal use only. |
Public | client The client supported by this peer. |
Public | component The component instance supported by this peer. |
Public | disposed Flag indicating that the component has been disposed, i. |
Instance Field Summary | |
---|---|
Public, Virtual | getFocusFlags Returns the focus flags for the component, one or more of the following values, ORed together. |
Public, Virtual | getPreferredSize (Optional) Returns the preferred rendered size of the component in pixels. |
Public, Virtual | renderFocus (Optional) Invoked when component is rendered focused. |
Public, Virtual | renderDisplay (Optional) Invoked when the component has been added to the hierarchy and first appears on screen, and when ancestors of the component (or the containing window) have resized. |
Instance Method Summary | |
---|---|
Public, Abstract | renderAdd() Renders the component to the DOM. |
Public, Abstract | renderDispose() Invoked when the rendered component is about to be removed from the DOM. |
Public, Abstract | renderUpdate() Renders an update to a component, e. |
update
(Echo.Update.ComponentUpdate)
- the update being renderedparentElement
(Element)
- the parent DOM element to which the component should be rendered.update
(Echo.Update.ComponentUpdate)
- the update being renderedrenderContext
object property.
The following properties of renderContext
may be configured by the
implementation, if desired:
displayRequired
: an array of child component objects whose synchronization peers should have their
renderDisplay() methods invoked once the update cycle is complete. The default value of null indicates the peers
of all descendant components and the updated component itself will have their renderDisplay() methods invoked.
Specifying an empty array will cause NO components to have their renderDisplay() methods invoked.
This property is generally used on container components (or application-rendered components) which may have property
updates that need not cause renderDisplay() to be invoked on their entire descendant tree for performance reasons.
update
(Echo.Update.ComponentUpdate)
- the update being rendered