Class RenderableAsBlock
- java.lang.Object
-
- org.apache.tapestry5.internal.util.RenderableAsBlock
-
- All Implemented Interfaces:
Block
,RenderCommand
public class RenderableAsBlock extends java.lang.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)
java.lang.String
toString()
-
-
-
Constructor Detail
-
RenderableAsBlock
public RenderableAsBlock(Renderable renderable)
-
-
Method Detail
-
render
public void render(MarkupWriter writer, RenderQueue queue)
- Specified by:
render
in interfaceRenderCommand
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-