org.xwiki.rendering.macro.dashboard
Interface GadgetRenderer


@ComponentRole
public interface GadgetRenderer

Decorates the passed gadget and renders it as a full piece of XDOM, a single list of blocks that can be added in the tree after.

Since:
3.0rc1
Version:
$Id$

Method Summary
 List<org.xwiki.rendering.block.Block> decorateGadget(Gadget gadget)
          Decorates the passed gadget and renders it as a list of XDOM blocks.
 

Method Detail

decorateGadget

List<org.xwiki.rendering.block.Block> decorateGadget(Gadget gadget)
Decorates the passed gadget and renders it as a list of XDOM blocks.

Parameters:
gadget - the gadget to render
Returns:
the list of blocks resulted from rendering the passed gadget and decorating it (with containers, etc)


Copyright © 2004-2012 XWiki. All Rights Reserved.