code: @Override
  	public void render(RenderingInfo renderingInfo) {
  		if (renderingInfo == null) {
  			throw new NullPointerException("RenderingInfo cannot be null.");
  		}
  		if (!(renderingInfo.getWidget() instanceof HtmlContainer)) {
  			throw new IllegalArgumentException("This renderer requires a HtmlContainer to render in.");
  		}
  		layersModelContainer = (HtmlContainer) renderingInfo.getWidget();
  
  		// Delegate to the layers in layer order:
  		for (int i = 0; i < layersModel.getLayerCount(); i++) {
  			Layer layer = layersModel.getLayer(i);
  
  			// If we're in the middle of an animation and the layer does not support it, skip this layer:
  			if (navigating && !isAnimated(layer)) {
  				continue;
  			}
  
  			// Adjust the rendering info, to use a layer specific container widget:
  			RenderingInfo layerInfo = new RenderingInfo(getOrCreateLayerContainer(layer), renderingInfo.getView(),
  					renderingInfo.getTrajectory());
  			LayerRenderer layerRenderer = layerRenderers.get(layer);
  			layerRenderer.render(layerInfo);
  		}
  	}
docs: ------------------------------------------------------------------------