public class DefaultNutsTexts extends Object implements net.thevpc.nuts.NutsTexts
| Constructor and Description |
|---|
DefaultNutsTexts(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsTexts |
addCodeHighlighter(net.thevpc.nuts.NutsCodeHighlighter format) |
net.thevpc.nuts.NutsText |
annotation(String image) |
net.thevpc.nuts.NutsText |
applyStyles(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle... styles) |
net.thevpc.nuts.NutsText |
applyStyles(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsText |
applyStyles(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle... styles) |
net.thevpc.nuts.NutsText |
applyStyles(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsText |
bg(net.thevpc.nuts.NutsText t,
int variant) |
net.thevpc.nuts.NutsText |
bg(String t,
int level) |
net.thevpc.nuts.NutsTextBuilder |
builder() |
net.thevpc.nuts.NutsText |
commandName(String image) |
net.thevpc.nuts.NutsText |
comments(String image) |
net.thevpc.nuts.NutsTextAnchor |
createAnchor(String start,
String separator,
String end,
String value) |
net.thevpc.nuts.NutsTextCode |
createCode(String start,
String kind,
String separator,
String end,
String text) |
net.thevpc.nuts.NutsTextCommand |
createCommand(String start,
net.thevpc.nuts.NutsTerminalCommand command,
String separator,
String end) |
net.thevpc.nuts.NutsTextLink |
createLink(String start,
String separator,
String end,
net.thevpc.nuts.NutsText value) |
net.thevpc.nuts.NutsTextStyled |
createStyled(net.thevpc.nuts.NutsText child,
net.thevpc.nuts.NutsTextStyles textStyles,
boolean completed) |
net.thevpc.nuts.NutsTextStyled |
createStyled(String start,
String end,
net.thevpc.nuts.NutsText child,
net.thevpc.nuts.NutsTextStyles textStyle,
boolean completed) |
net.thevpc.nuts.NutsText |
createStyledOrPlain(net.thevpc.nuts.NutsText child,
net.thevpc.nuts.NutsTextStyles textStyles,
boolean completed) |
net.thevpc.nuts.NutsText |
createTitle(String start,
int level,
net.thevpc.nuts.NutsText child,
boolean complete) |
net.thevpc.nuts.NutsText |
fg(net.thevpc.nuts.NutsText t,
int level) |
net.thevpc.nuts.NutsText |
fg(String t,
int level) |
net.thevpc.nuts.NutsCodeHighlighter |
getCodeHighlighter(String kind) |
net.thevpc.nuts.NutsCodeHighlighter[] |
getCodeHighlighters() |
net.thevpc.nuts.NutsSession |
getSession() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
net.thevpc.nuts.NutsTextFormatTheme |
getTheme() |
net.thevpc.nuts.NutsText |
literal(String image) |
net.thevpc.nuts.NutsText |
numberLiteral(String image) |
net.thevpc.nuts.NutsTextAnchor |
ofAnchor(String anchorName) |
net.thevpc.nuts.NutsText |
ofBlank() |
net.thevpc.nuts.NutsTextCode |
ofCode(String lang,
String text) |
net.thevpc.nuts.NutsTextCommand |
ofCommand(net.thevpc.nuts.NutsTerminalCommand command) |
net.thevpc.nuts.NutsTextLink |
ofLink(net.thevpc.nuts.NutsText value) |
net.thevpc.nuts.NutsTextList |
ofList(Collection<net.thevpc.nuts.NutsText> nodes) |
net.thevpc.nuts.NutsTextList |
ofList(net.thevpc.nuts.NutsText... nodes) |
net.thevpc.nuts.NutsTextNumbering |
ofNumbering() |
net.thevpc.nuts.NutsTextNumbering |
ofNumbering(String pattern) |
net.thevpc.nuts.NutsTextPlain |
ofPlain(String t) |
net.thevpc.nuts.NutsTextStyled |
ofStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle styles) |
net.thevpc.nuts.NutsTextStyled |
ofStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsTextStyled |
ofStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle styles)
this is the default theme!
|
net.thevpc.nuts.NutsTextStyled |
ofStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsTextStyled |
ofStyled(String other,
net.thevpc.nuts.NutsTextStyle styles) |
net.thevpc.nuts.NutsTextStyled |
ofStyled(String other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsText |
optionName(String image) |
net.thevpc.nuts.NutsText |
parse(String t) |
net.thevpc.nuts.NutsTextParser |
parser() |
net.thevpc.nuts.NutsTexts |
removeCodeHighlighter(String id) |
net.thevpc.nuts.NutsText |
reservedWord(String image) |
net.thevpc.nuts.NutsCodeHighlighter |
resolveCodeHighlighter(String kind) |
net.thevpc.nuts.NutsText |
separator(String image) |
DefaultNutsTexts |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsTexts |
setTheme(net.thevpc.nuts.NutsTextFormatTheme theme) |
net.thevpc.nuts.NutsTexts |
setTheme(String theme) |
net.thevpc.nuts.NutsText |
stringLiteral(String image) |
net.thevpc.nuts.NutsText |
subCommand1Name(String image) |
net.thevpc.nuts.NutsText |
subCommand2Name(String image) |
net.thevpc.nuts.NutsText |
title(net.thevpc.nuts.NutsText t,
int level) |
net.thevpc.nuts.NutsText |
toText(Object t) |
net.thevpc.nuts.NutsText |
userInput(String image) |
public net.thevpc.nuts.NutsText title(net.thevpc.nuts.NutsText t,
int level)
public net.thevpc.nuts.NutsText fg(String t, int level)
public net.thevpc.nuts.NutsText fg(net.thevpc.nuts.NutsText t,
int level)
public net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsTextspublic DefaultNutsTexts setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextBuilder builder()
builder in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText ofBlank()
ofBlank in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText toText(Object t)
toText in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextPlain ofPlain(String t)
ofPlain in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextList ofList(net.thevpc.nuts.NutsText... nodes)
ofList in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextList ofList(Collection<net.thevpc.nuts.NutsText> nodes)
ofList in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(String other, net.thevpc.nuts.NutsTextStyles styles)
ofStyled in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles styles)
ofStyled in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles)
ofStyled in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText applyStyles(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles)
applyStyles in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText applyStyles(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle... styles)
applyStyles in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText applyStyles(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles styles)
applyStyles in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText applyStyles(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle... styles)
applyStyles in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(String other, net.thevpc.nuts.NutsTextStyle styles)
ofStyled in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle styles)
ofStyled in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextStyled ofStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle styles)
ofStyled in interface net.thevpc.nuts.NutsTextsother - otherstyles - textNodeStylepublic net.thevpc.nuts.NutsTextCommand ofCommand(net.thevpc.nuts.NutsTerminalCommand command)
ofCommand in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextCode ofCode(String lang, String text)
ofCode in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextNumbering ofNumbering()
ofNumbering in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextNumbering ofNumbering(String pattern)
ofNumbering in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextAnchor ofAnchor(String anchorName)
ofAnchor in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextLink ofLink(net.thevpc.nuts.NutsText value)
ofLink in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextFormatTheme getTheme()
getTheme in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTexts setTheme(net.thevpc.nuts.NutsTextFormatTheme theme)
setTheme in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTexts setTheme(String theme)
setTheme in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsCodeHighlighter getCodeHighlighter(String kind)
getCodeHighlighter in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTexts addCodeHighlighter(net.thevpc.nuts.NutsCodeHighlighter format)
addCodeHighlighter in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTexts removeCodeHighlighter(String id)
removeCodeHighlighter in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsCodeHighlighter[] getCodeHighlighters()
getCodeHighlighters in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText parse(String t)
parse in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsTextParser parser()
parser in interface net.thevpc.nuts.NutsTextspublic net.thevpc.nuts.NutsText bg(String t, int level)
public net.thevpc.nuts.NutsText bg(net.thevpc.nuts.NutsText t,
int variant)
public net.thevpc.nuts.NutsText comments(String image)
public net.thevpc.nuts.NutsText literal(String image)
public net.thevpc.nuts.NutsText stringLiteral(String image)
public net.thevpc.nuts.NutsText numberLiteral(String image)
public net.thevpc.nuts.NutsText reservedWord(String image)
public net.thevpc.nuts.NutsText annotation(String image)
public net.thevpc.nuts.NutsText separator(String image)
public net.thevpc.nuts.NutsText commandName(String image)
public net.thevpc.nuts.NutsText subCommand1Name(String image)
public net.thevpc.nuts.NutsText subCommand2Name(String image)
public net.thevpc.nuts.NutsText optionName(String image)
public net.thevpc.nuts.NutsText userInput(String image)
public net.thevpc.nuts.NutsCodeHighlighter resolveCodeHighlighter(String kind)
public net.thevpc.nuts.NutsText createStyledOrPlain(net.thevpc.nuts.NutsText child,
net.thevpc.nuts.NutsTextStyles textStyles,
boolean completed)
public net.thevpc.nuts.NutsTextStyled createStyled(net.thevpc.nuts.NutsText child,
net.thevpc.nuts.NutsTextStyles textStyles,
boolean completed)
public net.thevpc.nuts.NutsTextStyled createStyled(String start, String end, net.thevpc.nuts.NutsText child, net.thevpc.nuts.NutsTextStyles textStyle, boolean completed)
public net.thevpc.nuts.NutsTextCode createCode(String start, String kind, String separator, String end, String text)
public net.thevpc.nuts.NutsTextCommand createCommand(String start, net.thevpc.nuts.NutsTerminalCommand command, String separator, String end)
public net.thevpc.nuts.NutsTextLink createLink(String start, String separator, String end, net.thevpc.nuts.NutsText value)
public net.thevpc.nuts.NutsTextAnchor createAnchor(String start, String separator, String end, String value)
public net.thevpc.nuts.NutsText createTitle(String start, int level, net.thevpc.nuts.NutsText child, boolean complete)
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.