Uses of Interface
picocli.CommandLine.Help.Ansi.IStyle
-
Packages that use CommandLine.Help.Ansi.IStyle Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletion
functionality.picocli.codegen.docgen.manpage -
-
Uses of CommandLine.Help.Ansi.IStyle in picocli
Classes in picocli that implement CommandLine.Help.Ansi.IStyle Modifier and Type Class Description (package private) static class
CommandLine.Help.Ansi.Palette256Color
Defines a palette map of 216 colors: 6 * 6 * 6 cube (216 colors): 16 + 36 * r + 6 * g + b (0 <= r, g, b <= 5).static class
CommandLine.Help.Ansi.Style
A set of pre-defined ANSI escape code styles and colors, and a set of convenience methods for parsing text with embedded markup style names, as well as convenience methods for converting styles to strings with embedded escape codes.Fields in picocli declared as CommandLine.Help.Ansi.IStyle Modifier and Type Field Description private static CommandLine.Help.Ansi.IStyle
CommandLine.Help.ColorScheme. EMPTY_STYLE
Fields in picocli with type parameters of type CommandLine.Help.Ansi.IStyle Modifier and Type Field Description private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. commandStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. commandStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. errorStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. errorStyles
private java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. markupMap
private java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. markupMap
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. optionParamStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. optionParamStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. optionStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. optionStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. parameterStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. parameterStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. stackTraceStyles
private java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. stackTraceStyles
Methods in picocli that return CommandLine.Help.Ansi.IStyle Modifier and Type Method Description static CommandLine.Help.Ansi.IStyle
CommandLine.Help.Ansi.Style. bg(java.lang.String str)
Parses the specified style markup and returns the associated style.static CommandLine.Help.Ansi.IStyle
CommandLine.Help.Ansi.Style. fg(java.lang.String str)
Parses the specified style markup and returns the associated style.static CommandLine.Help.Ansi.IStyle[]
CommandLine.Help.Ansi.Style. parse(java.lang.String commaSeparatedCodes)
Parses the specified comma-separated sequence of style descriptors and returns the associated styles.CommandLine.Help.Ansi.IStyle[]
CommandLine.Help.ColorScheme. parse(java.lang.String commaSeparatedCodes)
Converts the specified markup styles to an array ofCommandLine.Help.Ansi.IStyle
objects.CommandLine.Help.Ansi.IStyle
CommandLine.Help.ColorScheme. resetStyle()
Returns the style that "resets" the style state to neutral.Methods in picocli that return types with arguments of type CommandLine.Help.Ansi.IStyle Modifier and Type Method Description java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. commandStyles()
Returns the registered styles for commands in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. commandStyles()
Returns the registered styles for commands in this color scheme.java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. customMarkupMap()
Returns the custom mapping from markup names (the names of theCommandLine.Help.Ansi.Style
enum constants, like bold, italic, fg_blue, bg_green, etc) toCommandLine.Help.Ansi.IStyle
objects in this color scheme.java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. customMarkupMap()
Returns the custom mapping from markup names (the names of theCommandLine.Help.Ansi.Style
enum constants, like bold, italic, fg_blue, bg_green, etc) toCommandLine.Help.Ansi.IStyle
objects in this color scheme.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. errorStyles()
Returns the registered styles for errors in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. errorStyles()
Returns the registered styles for errors in this color scheme.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. optionParamStyles()
Returns the registered styles for option parameters in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. optionParamStyles()
Returns the registered styles for option parameters in this color scheme.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. optionStyles()
Returns the registered styles for options in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. optionStyles()
Returns the registered styles for options in this color scheme.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. parameterStyles()
Returns the registered styles for positional parameters in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. parameterStyles()
Returns the registered styles for positional parameters in this color scheme.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme.Builder. stackTraceStyles()
Returns the registered styles for stack traces in this color scheme builder.java.util.List<CommandLine.Help.Ansi.IStyle>
CommandLine.Help.ColorScheme. stackTraceStyles()
Returns the registered styles for stack traces in this color scheme.Methods in picocli with parameters of type CommandLine.Help.Ansi.IStyle Modifier and Type Method Description private CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. addAll(java.util.List<CommandLine.Help.Ansi.IStyle> styles, CommandLine.Help.Ansi.IStyle... add)
CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. commands(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for commands in this color scheme builder and returns this builder.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. errors(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for errors in this color scheme builder and returns this builder.static java.lang.String
CommandLine.Help.Ansi.Style. off(CommandLine.Help.Ansi.IStyle... styles)
Returns the concatenated ANSI escape codes for turning all specified styles off.static java.lang.String
CommandLine.Help.Ansi.Style. on(CommandLine.Help.Ansi.IStyle... styles)
Returns the concatenated ANSI escape codes for turning all specified styles on.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. optionParams(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for option parameters in this color scheme builder and returns this builder.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. options(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for options in this color scheme and returns this color scheme.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. parameters(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for positional parameters in this color scheme builder and returns this builder.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. stackTraces(CommandLine.Help.Ansi.IStyle... styles)
Adds the specified styles to the registered styles for stack traces in this color scheme builder and returns this builder.Method parameters in picocli with type arguments of type CommandLine.Help.Ansi.IStyle Modifier and Type Method Description private CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. addAll(java.util.List<CommandLine.Help.Ansi.IStyle> styles, CommandLine.Help.Ansi.IStyle... add)
CommandLine.Help.Ansi.Text
CommandLine.Help.Ansi. apply(java.lang.String plainText, java.util.List<CommandLine.Help.Ansi.IStyle> styles)
Deprecated.useCommandLine.Help.ColorScheme.apply(String, List)
insteadCommandLine.Help.Ansi.Text
CommandLine.Help.ColorScheme. apply(java.lang.String plainText, java.util.List<CommandLine.Help.Ansi.IStyle> styles)
Returns a new Text object where all the specified styles are applied to the full length of the specified plain text.CommandLine.Help.ColorScheme.Builder
CommandLine.Help.ColorScheme.Builder. customMarkupMap(java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle> newValue)
Sets the custom mapping from markup names (the names of theCommandLine.Help.Ansi.Style
enum constants, like bold, italic, fg_blue, bg_green, etc) toCommandLine.Help.Ansi.IStyle
objects in this color scheme.CommandLine.Help.Ansi.Text
CommandLine.Help.DefaultParamLabelRenderer. renderParameterLabel(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi ansi, java.util.List<CommandLine.Help.Ansi.IStyle> styles)
CommandLine.Help.Ansi.Text
CommandLine.Help.IParamLabelRenderer. renderParameterLabel(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi ansi, java.util.List<CommandLine.Help.Ansi.IStyle> styles)
Returns a text rendering of the option parameter or positional parameter; returns an empty string""
if the option is a boolean and does not take a parameter.private void
CommandLine.Help.ColorScheme.Builder. replace(java.util.List<CommandLine.Help.Ansi.IStyle> styles, java.lang.String property)
-
Uses of CommandLine.Help.Ansi.IStyle in picocli.codegen.docgen.manpage
Fields in picocli.codegen.docgen.manpage declared as CommandLine.Help.Ansi.IStyle Modifier and Type Field Description (package private) static CommandLine.Help.Ansi.IStyle
ManPageGenerator. BOLD
(package private) static CommandLine.Help.Ansi.IStyle
ManPageGenerator. HIGHLIGHT
(package private) static CommandLine.Help.Ansi.IStyle
ManPageGenerator. ITALIC
Methods in picocli.codegen.docgen.manpage that return types with arguments of type CommandLine.Help.Ansi.IStyle Modifier and Type Method Description private static java.util.Map<java.lang.String,CommandLine.Help.Ansi.IStyle>
ManPageGenerator. createMarkupMap()
-