public class DefaultNTextArtTreeRenderer extends Object implements net.thevpc.nuts.text.NTextArtTreeRenderer, net.thevpc.nuts.text.NTextArtTextRenderer
| Modifier and Type | Field and Description |
|---|---|
static net.thevpc.nuts.text.NTreeLinkFormat |
LINK_ASCII_FORMATTER |
static net.thevpc.nuts.text.NTreeLinkFormat |
LINK_SPACE_FORMATTER |
static net.thevpc.nuts.text.NTreeLinkFormat |
LINK_UNICODE_FORMATTER |
net.thevpc.nuts.text.NTreeNodeFormat |
TO_STRING_FORMATTER |
| Constructor and Description |
|---|
DefaultNTextArtTreeRenderer(String name) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNTextArtTreeRenderer |
addMultilineProperty(String property,
String separator) |
String |
getMultilineSeparator(net.thevpc.nuts.text.NText key) |
net.thevpc.nuts.text.NTreeNodeFormat |
getNodeFormat() |
DefaultNTextArtTreeRenderer |
infinite(boolean infinite) |
boolean |
isEffectiveOmitRoot(net.thevpc.nuts.text.NTreeNode tree) |
boolean |
isInfinite() |
boolean |
isOmitRoot() |
net.thevpc.nuts.text.NTreeLinkFormat |
linkFormat() |
DefaultNTextArtTreeRenderer |
linkFormat(net.thevpc.nuts.text.NTreeLinkFormat linkFormatter) |
String |
name() |
DefaultNTextArtTreeRenderer |
nodeFormat(net.thevpc.nuts.text.NTreeNodeFormat formatter) |
net.thevpc.nuts.text.NTextArtTreeRenderer |
omitRoot(boolean hideRoot) |
net.thevpc.nuts.text.NText |
render(net.thevpc.nuts.text.NText text) |
net.thevpc.nuts.text.NText |
render(net.thevpc.nuts.text.NTreeNode tree) |
DefaultNTextArtTreeRenderer |
setFormatter(net.thevpc.nuts.text.NTreeNodeFormat formatter) |
String |
toString() |
public static final net.thevpc.nuts.text.NTreeLinkFormat LINK_ASCII_FORMATTER
public static final net.thevpc.nuts.text.NTreeLinkFormat LINK_SPACE_FORMATTER
public static final net.thevpc.nuts.text.NTreeLinkFormat LINK_UNICODE_FORMATTER
public final net.thevpc.nuts.text.NTreeNodeFormat TO_STRING_FORMATTER
public DefaultNTextArtTreeRenderer(String name)
public String name()
name in interface net.thevpc.nuts.text.NTextArtRendererpublic DefaultNTextArtTreeRenderer setFormatter(net.thevpc.nuts.text.NTreeNodeFormat formatter)
public boolean isInfinite()
isInfinite in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic DefaultNTextArtTreeRenderer infinite(boolean infinite)
infinite in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic net.thevpc.nuts.text.NTreeNodeFormat getNodeFormat()
public DefaultNTextArtTreeRenderer nodeFormat(net.thevpc.nuts.text.NTreeNodeFormat formatter)
nodeFormat in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic net.thevpc.nuts.text.NTreeLinkFormat linkFormat()
linkFormat in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic DefaultNTextArtTreeRenderer linkFormat(net.thevpc.nuts.text.NTreeLinkFormat linkFormatter)
linkFormat in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic boolean isEffectiveOmitRoot(net.thevpc.nuts.text.NTreeNode tree)
public boolean isOmitRoot()
isOmitRoot in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic net.thevpc.nuts.text.NTextArtTreeRenderer omitRoot(boolean hideRoot)
omitRoot in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic net.thevpc.nuts.text.NText render(net.thevpc.nuts.text.NText text)
render in interface net.thevpc.nuts.text.NTextArtTextRendererpublic net.thevpc.nuts.text.NText render(net.thevpc.nuts.text.NTreeNode tree)
render in interface net.thevpc.nuts.text.NTextArtTreeRendererpublic DefaultNTextArtTreeRenderer addMultilineProperty(String property, String separator)
public String getMultilineSeparator(net.thevpc.nuts.text.NText key)
Copyright © 2026 vpc open source initiative. All rights reserved.