Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.util
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 any `Renderable` object to act as a `Block`. Basically, dressed up the Renderable with the Block interface, and delegates the `Renderable` interface to the underlying renderable object.

Constructor Summary
`RenderableAsBlock(Renderable renderable)`

Method Summary
`void` | `render(MarkupWriter writer, RenderQueue queue)` Invokes `Renderable.render(org.apache.tapestry5.MarkupWriter)`.
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### RenderableAsBlock

    public RenderableAsBlock(Renderable renderable)

Method Detail

### render

    public void render(MarkupWriter writer,
                       RenderQueue queue)

  Invokes `Renderable.render(org.apache.tapestry5.MarkupWriter)`.

  Specified by:
    `render` in interface `RenderCommand`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.