| nextapp.echo2.webcontainer.DomUpdateSupport
All known Subclasses: nextapp.echo2.webcontainer.syncpeer.LabelPeer, nextapp.echo2.webcontainer.syncpeer.ContentPanePeer, nextapp.echo2.webcontainer.syncpeer.CompositePeer, nextapp.echo2.webcontainer.syncpeer.GridPeer, nextapp.echo2.webcontainer.syncpeer.TextComponentPeer, nextapp.echo2.webcontainer.syncpeer.TextFieldPeer, nextapp.echo2.webcontainer.syncpeer.RowPeer, nextapp.echo2.webcontainer.syncpeer.ButtonPeer, nextapp.echo2.webcontainer.syncpeer.ColumnPeer,
DomUpdateSupport | public interface DomUpdateSupport (Code) | | An optional interface which may be implemented by
ComponentSynchronizePeer s that support rendering directly
to HTML.
|
renderHtml | public void renderHtml(RenderContext rc, ServerComponentUpdate update, Node parentNode, Component component)(Code) | | Renders the component in its entirety as a child of the provided
parent Element . The implementation should additionally
render any child components, either by invoking their
renderHtml() methods if their peers also implement
DomUpdateSupport or by invoking their
ComponentSynchronizePeer.renderAdd() methods if they do
not.
The implementation must also perform any non-HTML-rendering operations
which are performed in the ComponentSynchronizePeer.renderAdd()
method, e.g., adding message parts that registering event listeners on
the client.
Parameters: rc - the relevant RenderContext Parameters: update - the ServerComponentUpdate for which thisrendering is being performed Parameters: parentNode - the parent DOM node to which this child should add HTML code Parameters: component - the Component to be rendered |
|
|