pureweb.client. CustomRenderer

The CustomRenderer class is an extensible 'skeleton' implementation of ViewRenderer which allows an external implementation to be injected. The beginRendering and doneRendering methods must be called by the implementation on either side of the custom rendering code in the external implementation of renderBytes.

Method Summary

init
Initializes the renderer.

Constructor

new CustomRenderer(target, impl)

Initializes a new instance of CustomRenderer.
Parameters:
Name Type Description
target pureweb.client.View The view that will be rendered to.
impl Object The renderer implementation object

Extends

Members

<protected> logger → goog.debug.Logger

Define logger.

renderBytes

Called when bytes are received and should be rendered. It is HIGHLY RECOMMENDED that you override this in your implementation to render display data.

Inherited Methods

Method Detail

init()

Initializes the renderer.