Interface IRenderable

All Superinterfaces:
IClusterable, Serializable

public interface IRenderable
extends IClusterable

Interface for lightweight cell renders. If you are concerned about server state size, have larger trees with read-only cells, implementing this interface and using it instead of e.g. Label can decrease the memory footprint of tree table.

Matej Knopp

Method Summary
 void render(TreeNode node, Response response)
          Renders the content of the cell to the response.

Method Detail


void render(TreeNode node,
            Response response)
Renders the content of the cell to the response.

node - The node for the row. Will be null for header
response - Response where the renderer is supposed to write the content.

Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.