org.olat.core.gui.components.download
Class DownloadComponentRenderer

java.lang.Object
  extended by org.olat.core.gui.components.download.DownloadComponentRenderer
All Implemented Interfaces:
ComponentRenderer

public class DownloadComponentRenderer
extends java.lang.Object
implements ComponentRenderer

Description:
This is the renderer for the DownloadComponent. The first optional render argument is interpreted as a CSS class that will be added in addition to the icon css class of the component (if set).

Initial Date: 09.12.2009

Author:
gnaegi

Constructor Summary
DownloadComponentRenderer()
           
 
Method Summary
 void render(Renderer renderer, StringOutput sb, Component source, URLBuilder ubu, Translator translator, RenderResult renderResult, java.lang.String[] args)
          calls must be threadsafe
 void renderBodyOnLoadJSFunctionCall(Renderer renderer, StringOutput sb, Component source, RenderingState rstate)
          contributes a line to the following code: ...

Specified by:
renderBodyOnLoadJSFunctionCall in interface ComponentRenderer
See Also:
ComponentRenderer.renderBodyOnLoadJSFunctionCall(org.olat.core.gui.render.Renderer, org.olat.core.gui.render.StringOutput, org.olat.core.gui.components.Component, org.olat.core.gui.render.RenderingState)

renderHeaderIncludes

public void renderHeaderIncludes(Renderer renderer,
                                 StringOutput sb,
                                 Component source,
                                 URLBuilder ubu,
                                 Translator translator,
                                 RenderingState rstate)
Specified by:
renderHeaderIncludes in interface ComponentRenderer
See Also:
ComponentRenderer.renderHeaderIncludes(org.olat.core.gui.render.Renderer, org.olat.core.gui.render.StringOutput, org.olat.core.gui.components.Component, org.olat.core.gui.render.URLBuilder, org.olat.core.gui.translator.Translator, org.olat.core.gui.render.RenderingState)