public class DefaultNutsTextManager extends Object implements net.thevpc.nuts.NutsTextManager
| Constructor and Description |
|---|
DefaultNutsTextManager(net.thevpc.nuts.NutsWorkspace ws,
DefaultNutsTextManagerModel shared) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsTextManager |
addCodeFormat(net.thevpc.nuts.NutsCodeFormat format) |
net.thevpc.nuts.NutsText |
annotation(String image) |
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 |
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.NutsTextAnchor |
forAnchor(String anchorName) |
net.thevpc.nuts.NutsText |
forBlank() |
net.thevpc.nuts.NutsTextCode |
forCode(String lang,
String text) |
net.thevpc.nuts.NutsTextCommand |
forCommand(net.thevpc.nuts.NutsTerminalCommand command) |
net.thevpc.nuts.NutsTextLink |
forLink(net.thevpc.nuts.NutsText value) |
net.thevpc.nuts.NutsTextList |
forList(Collection<net.thevpc.nuts.NutsText> nodes) |
net.thevpc.nuts.NutsTextList |
forList(net.thevpc.nuts.NutsText... nodes) |
net.thevpc.nuts.NutsTextNumbering |
forNumbering() |
net.thevpc.nuts.NutsTextPlain |
forPlain(String t) |
net.thevpc.nuts.NutsTextStyled |
forStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle decorations) |
net.thevpc.nuts.NutsTextStyled |
forStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles decorations) |
net.thevpc.nuts.NutsTextStyled |
forStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle textNodeStyle)
this is the default theme!
|
net.thevpc.nuts.NutsTextStyled |
forStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsTextStyled |
forStyled(String other,
net.thevpc.nuts.NutsTextStyle decorations) |
net.thevpc.nuts.NutsTextStyled |
forStyled(String other,
net.thevpc.nuts.NutsTextStyles decorations) |
net.thevpc.nuts.NutsTextNumbering |
forTitleNumberSequence(String pattern) |
net.thevpc.nuts.NutsCodeFormat |
getCodeFormat(String kind) |
net.thevpc.nuts.NutsCodeFormat[] |
getCodeFormats() |
net.thevpc.nuts.NutsSession |
getSession() |
net.thevpc.nuts.NutsTextFormatTheme |
getTheme() |
net.thevpc.nuts.NutsText |
literal(String image) |
net.thevpc.nuts.NutsText |
numberLiteral(String image) |
net.thevpc.nuts.NutsText |
optionName(String image) |
net.thevpc.nuts.NutsText |
parse(String t) |
net.thevpc.nuts.NutsTextParser |
parser() |
net.thevpc.nuts.NutsTextManager |
removeCodeFormat(net.thevpc.nuts.NutsCodeFormat format) |
net.thevpc.nuts.NutsText |
reservedWord(String image) |
net.thevpc.nuts.NutsCodeFormat |
resolveBlocTextFormatter(String kind) |
net.thevpc.nuts.NutsText |
separator(String image) |
DefaultNutsTextManager |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsTextManager |
setTheme(net.thevpc.nuts.NutsTextFormatTheme theme) |
net.thevpc.nuts.NutsTextManager |
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 DefaultNutsTextManager(net.thevpc.nuts.NutsWorkspace ws,
DefaultNutsTextManagerModel shared)
public net.thevpc.nuts.NutsTextBuilder builder()
builder in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText parse(String t)
parse in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText title(net.thevpc.nuts.NutsText t,
int level)
public net.thevpc.nuts.NutsTextParser parser()
parser in interface net.thevpc.nuts.NutsTextManagerpublic 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.NutsTextManagerpublic net.thevpc.nuts.NutsText bg(String t, int level)
public DefaultNutsTextManager setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText bg(net.thevpc.nuts.NutsText t,
int variant)
public net.thevpc.nuts.NutsText forBlank()
forBlank in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText comments(String image)
public net.thevpc.nuts.NutsText toText(Object t)
toText in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText literal(String image)
public net.thevpc.nuts.NutsText stringLiteral(String image)
public net.thevpc.nuts.NutsTextPlain forPlain(String t)
forPlain in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText numberLiteral(String image)
public net.thevpc.nuts.NutsTextList forList(net.thevpc.nuts.NutsText... nodes)
forList in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText reservedWord(String image)
public net.thevpc.nuts.NutsTextList forList(Collection<net.thevpc.nuts.NutsText> nodes)
forList in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText annotation(String image)
public net.thevpc.nuts.NutsTextStyled forStyled(String other, net.thevpc.nuts.NutsTextStyle decorations)
forStyled in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText separator(String image)
public net.thevpc.nuts.NutsTextStyled forStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyle decorations)
forStyled in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText commandName(String image)
public net.thevpc.nuts.NutsTextStyled forStyled(String other, net.thevpc.nuts.NutsTextStyles decorations)
forStyled in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText subCommand1Name(String image)
public net.thevpc.nuts.NutsTextStyled forStyled(net.thevpc.nuts.NutsString other,
net.thevpc.nuts.NutsTextStyles decorations)
forStyled in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText subCommand2Name(String image)
public net.thevpc.nuts.NutsTextStyled forStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyles styles)
forStyled in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText optionName(String image)
public net.thevpc.nuts.NutsTextCommand forCommand(net.thevpc.nuts.NutsTerminalCommand command)
forCommand in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsText userInput(String image)
public net.thevpc.nuts.NutsTextAnchor forAnchor(String anchorName)
forAnchor in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsCodeFormat resolveBlocTextFormatter(String kind)
public net.thevpc.nuts.NutsTextLink forLink(net.thevpc.nuts.NutsText value)
forLink in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextCode forCode(String lang, String text)
forCode in interface net.thevpc.nuts.NutsTextManagerpublic 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 net.thevpc.nuts.NutsTextStyled forStyled(net.thevpc.nuts.NutsText other,
net.thevpc.nuts.NutsTextStyle textNodeStyle)
forStyled in interface net.thevpc.nuts.NutsTextManagerother - othertextNodeStyle - textNodeStylepublic net.thevpc.nuts.NutsTextNumbering forNumbering()
forNumbering in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextNumbering forTitleNumberSequence(String pattern)
forTitleNumberSequence in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextFormatTheme getTheme()
getTheme in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextManager setTheme(net.thevpc.nuts.NutsTextFormatTheme theme)
setTheme in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextManager setTheme(String theme)
setTheme in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsCodeFormat getCodeFormat(String kind)
getCodeFormat in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextManager addCodeFormat(net.thevpc.nuts.NutsCodeFormat format)
addCodeFormat in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsTextManager removeCodeFormat(net.thevpc.nuts.NutsCodeFormat format)
removeCodeFormat in interface net.thevpc.nuts.NutsTextManagerpublic net.thevpc.nuts.NutsCodeFormat[] getCodeFormats()
getCodeFormats in interface net.thevpc.nuts.NutsTextManagerCopyright © 2021 vpc open source initiative. All rights reserved.