Package org.apache.ofbiz.widget.renderer
Interface TreeStringRenderer
- All Known Implementing Classes:
HtmlTreeRenderer
,MacroTreeRenderer
public interface TreeStringRenderer
Widget Library - Tree String Renderer interface
-
Method Summary
Modifier and TypeMethodDescriptiongetScreenStringRenderer
(Map<String, Object> context) void
renderImage
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Image image) void
renderLabel
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Label label) void
renderLastElement
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node) void
renderLink
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Link link) void
renderNodeBegin
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node, int depth) void
renderNodeEnd
(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node)
-
Method Details
-
renderNodeBegin
void renderNodeBegin(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node, int depth) throws IOException- Throws:
IOException
-
renderNodeEnd
void renderNodeEnd(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node) throws IOException- Throws:
IOException
-
renderLabel
void renderLabel(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Label label) throws IOException- Throws:
IOException
-
renderLink
void renderLink(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Link link) throws IOException- Throws:
IOException
-
renderImage
void renderImage(Appendable writer, Map<String, Object> context, ModelTree.ModelNode.Image image) throws IOException- Throws:
IOException
-
renderLastElement
void renderLastElement(Appendable writer, Map<String, Object> context, ModelTree.ModelNode node) throws IOException- Throws:
IOException
-
getScreenStringRenderer
-