public class DefaultNTreeFormat extends DefaultFormatBase<NTreeFormat> implements NTreeFormat
| Modifier and Type | Field and Description |
|---|---|
static NTreeLinkFormat |
LINK_ASCII_FORMATTER |
static NTreeLinkFormat |
LINK_SPACE_FORMATTER |
static NTreeLinkFormat |
LINK_UNICODE_FORMATTER |
NTreeNodeFormat |
TO_STRING_FORMATTER |
| Constructor and Description |
|---|
DefaultNTreeFormat(NWorkspace workspace) |
DefaultNTreeFormat(NWorkspace workspace,
NTreeModel tree) |
DefaultNTreeFormat(NWorkspace workspace,
NTreeModel tree,
NTreeNodeFormat formatter,
NTreeLinkFormat linkFormatter) |
| Modifier and Type | Method and Description |
|---|---|
DefaultNTreeFormat |
addMultilineProperty(String property,
String separator) |
boolean |
configureFirst(NCmdLine cmdLine) |
NTreeLinkFormat |
getLinkFormat() |
NTreeModel |
getModel() |
NTreeNodeFormat |
getNodeFormat() |
int |
getSupportLevel(NSupportLevelContext context) |
Object |
getValue() |
boolean |
isEffectiveOmitRoot() |
boolean |
isOmitRoot() |
void |
print(NPrintStream out) |
DefaultNTreeFormat |
setLinkFormat(NTreeLinkFormat linkFormatter) |
DefaultNTreeFormat |
setNodeFormat(NTreeNodeFormat formatter) |
void |
setOmitRoot(boolean hideRoot) |
DefaultNTreeFormat |
setValue(Object value) |
String |
toString() |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconfigure, of, setNtfofformat, formatPlain, isNtf, of, of, print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnconfigure, configure, configureLastpublic static final NTreeLinkFormat LINK_ASCII_FORMATTER
public static final NTreeLinkFormat LINK_SPACE_FORMATTER
public static final NTreeLinkFormat LINK_UNICODE_FORMATTER
public final NTreeNodeFormat TO_STRING_FORMATTER
public DefaultNTreeFormat(NWorkspace workspace)
public DefaultNTreeFormat(NWorkspace workspace, NTreeModel tree)
public DefaultNTreeFormat(NWorkspace workspace, NTreeModel tree, NTreeNodeFormat formatter, NTreeLinkFormat linkFormatter)
public NTreeNodeFormat getNodeFormat()
getNodeFormat in interface NTreeFormatpublic DefaultNTreeFormat setNodeFormat(NTreeNodeFormat formatter)
setNodeFormat in interface NTreeFormatpublic NTreeLinkFormat getLinkFormat()
getLinkFormat in interface NTreeFormatpublic DefaultNTreeFormat setLinkFormat(NTreeLinkFormat linkFormatter)
setLinkFormat in interface NTreeFormatpublic NTreeModel getModel()
getModel in interface NTreeFormatpublic DefaultNTreeFormat setValue(Object value)
setValue in interface NContentTypeFormatsetValue in interface NTreeFormatpublic boolean isEffectiveOmitRoot()
public boolean isOmitRoot()
public void setOmitRoot(boolean hideRoot)
public String toString()
toString in interface NFormattoString in class DefaultFormatBase<NTreeFormat>public void print(NPrintStream out)
print in interface NFormatprint in class DefaultFormatBase<NTreeFormat>public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic Object getValue()
getValue in interface NContentTypeFormatpublic DefaultNTreeFormat addMultilineProperty(String property, String separator)
public int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentCopyright © 2025 vpc open source initiative. All rights reserved.