|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomUpdateSupport
An optional interface which may be implemented by
ComponentSynchronizePeer
s that support rendering directly
to HTML.
Method Summary | |
---|---|
void |
renderHtml(RenderContext rc,
nextapp.echo2.app.update.ServerComponentUpdate update,
org.w3c.dom.Node parentNode,
nextapp.echo2.app.Component component)
Renders the component in its entirety as a child of the provided parent Element . |
Method Detail |
---|
void renderHtml(RenderContext rc, nextapp.echo2.app.update.ServerComponentUpdate update, org.w3c.dom.Node parentNode, nextapp.echo2.app.Component component)
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.
rc
- the relevant RenderContext
update
- the ServerComponentUpdate
for which this
rendering is being performedparentNode
- the parent DOM node to which this child should
add HTML codecomponent
- the Component
to be rendered
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |