Class RenderableAsBlock
- java.lang.Object
-
- org.apache.tapestry5.internal.util.RenderableAsBlock
-
- All Implemented Interfaces:
Block
,RenderCommand
public class RenderableAsBlock extends Object implements Block, RenderCommand
Allows anyRenderable
object to act as aBlock
. Basically, dressed up the Renderable with the Block interface, and delegates theRenderable
interface to the underlying renderable object.
-
-
Constructor Summary
Constructors Constructor Description RenderableAsBlock(Renderable renderable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(MarkupWriter writer, RenderQueue queue)
String
toString()
-
-
-
Constructor Detail
-
RenderableAsBlock
public RenderableAsBlock(Renderable renderable)
-
-
Method Detail
-
render
public void render(MarkupWriter writer, RenderQueue queue)
- Specified by:
render
in interfaceRenderCommand
-
-