facets.core.app
Class TextTreeView
java.lang.Object
facets.util.Tracer
facets.util.StatefulCore
facets.core.superficial.app.SelectionView
facets.core.app.TreeView
facets.core.app.TextTreeView
- All Implemented Interfaces:
- SView, Stateful, Titled, java.io.Serializable
public class TextTreeView
- extends TreeView
TreeView
that converts TypedNode
s to (typically HTML) text.
- See Also:
- Serialized Form
Fields inherited from interface facets.core.superficial.app.SView |
NO_VIEW |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface facets.util.Titled |
title |
TextTreeView
public TextTreeView(java.lang.String title)
nodeRenderText
public final java.lang.String nodeRenderText(TypedNode node)
- Description copied from class:
TreeView
- The text to be rendered by the viewer for a node.
Default returns node type and title.
- Overrides:
nodeRenderText
in class TreeView
- Parameters:
node
- to be rendered
nodeText
public static java.lang.String nodeText(TypedNode node)
newPathNodeText
protected java.lang.String newPathNodeText(TypedNode[] path,
java.lang.String text)
newHtmlPathSelection
public static PathSelection newHtmlPathSelection(PathSelection selectionThen,
java.lang.String path)
- Defines a
PathSelection
based on an HTML path.
- Parameters:
selectionThen
- identifies the HTML page containing the pathpath
- value of HREF attribute within the page