| org.araneaframework.uilib.tree.TreeRenderer
TreeRenderer | public interface TreeRenderer extends Serializable(Code) | | Tree widget renderer.
author: Alar Kvell (alar@araneaframework.org) since: 1.0.7 |
Method Summary | |
void | renderChildEnd(Writer out, TreeNodeContext node, TreeNodeContext childNode) Renders HTML immediately after each child node. | void | renderChildStart(Writer out, TreeNodeContext node, TreeNodeContext childNode) Renders HTML immediately before each child node. | void | renderChildrenEnd(Writer out, TreeNodeContext node) Renders HTML after all child nodes have been rendered. | void | renderChildrenStart(Writer out, TreeNodeContext node) Renders HTML after DisplayWidget and before child nodes. | void | renderDisplayPrefix(Writer out, TreeNodeContext node, boolean current) Renders HTML before DisplayWidget's toggle link. | void | renderToggleLink(Writer out, TreeNodeContext node) Renders toggle link after display prefix and before DisplayWidget. | void | renderTreeEnd(Writer out, TreeNodeContext node) Renders HTML in the end of the whole tree. | void | renderTreeStart(Writer out, TreeNodeContext node) Renders HTML in the beginning of the whole tree. |
renderChildEnd | void renderChildEnd(Writer out, TreeNodeContext node, TreeNodeContext childNode) throws Exception(Code) | | Renders HTML immediately after each child node.
Parameters: node - parent node whose children are being rendered Parameters: childNode - child node that was just rendered |
renderChildStart | void renderChildStart(Writer out, TreeNodeContext node, TreeNodeContext childNode) throws Exception(Code) | | Renders HTML immediately before each child node.
Parameters: node - parent node whose children are being rendered Parameters: childNode - child node that is about to be rendered |
renderChildrenEnd | void renderChildrenEnd(Writer out, TreeNodeContext node) throws Exception(Code) | | Renders HTML after all child nodes have been rendered. Called only if there
are child nodes and they are not collapsed.
Parameters: node - tree node that is being rendered |
renderChildrenStart | void renderChildrenStart(Writer out, TreeNodeContext node) throws Exception(Code) | | Renders HTML after DisplayWidget and before child nodes. Called only if
there are child nodes and they are not collapsed.
Parameters: node - tree node that is being rendered |
renderDisplayPrefix | void renderDisplayPrefix(Writer out, TreeNodeContext node, boolean current) throws Exception(Code) | | Renders HTML before DisplayWidget's toggle link. Called for each
TreeNodeWidget, staring from TreeWidget. Usually overridden.
Parameters: node - tree node that is being rendered Parameters: current - if this TreeNodeWidget's DisplayWidget is about to be rendered |
renderToggleLink | void renderToggleLink(Writer out, TreeNodeContext node) throws Exception(Code) | | Renders toggle link after display prefix and before DisplayWidget. Called
only if TreeDataProvider exists.
Parameters: node - tree node that is being rendered |
renderTreeEnd | void renderTreeEnd(Writer out, TreeNodeContext node) throws Exception(Code) | | Renders HTML in the end of the whole tree.
Parameters: node - tree node that is being rendered |
renderTreeStart | void renderTreeStart(Writer out, TreeNodeContext node) throws Exception(Code) | | Renders HTML in the beginning of the whole tree.
Parameters: node - tree node that is being rendered |
|
|