Uses of Class
org.apache.logging.log4j.core.tools.picocli.CommandLine.Help.Ansi.Text
Packages that use CommandLine.Help.Ansi.Text
-
Uses of CommandLine.Help.Ansi.Text in org.apache.logging.log4j.core.tools.picocli
Fields in org.apache.logging.log4j.core.tools.picocli declared as CommandLine.Help.Ansi.TextModifier and TypeFieldDescription(package private) static CommandLine.Help.Ansi.Text
CommandLine.Help.Ansi.EMPTY_TEXT
Fields in org.apache.logging.log4j.core.tools.picocli with type parameters of type CommandLine.Help.Ansi.TextModifier and TypeFieldDescriptionprotected final List
<CommandLine.Help.Ansi.Text> CommandLine.Help.TextTable.columnValues
Thechar[]
slots of theTextTable
to copy text values into.Methods in org.apache.logging.log4j.core.tools.picocli that return CommandLine.Help.Ansi.TextModifier and TypeMethodDescriptionReturns a newText
instance with the specified text appended.CommandLine.Help.Ansi.Text.append
(CommandLine.Help.Ansi.Text other) Returns a newText
instance with the specified text appended.private CommandLine.Help.Ansi.Text
CommandLine.Help.appendOptionSynopsis
(CommandLine.Help.Ansi.Text optionText, Field field, String optionName, String prefix, String suffix) CommandLine.Help.Ansi.apply
(String plainText, 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.TextTable.cellAt
(int row, int col) Deprecated.CommandLine.Help.ColorScheme.commandText
(String command) Returns a Text with all command styles applied to the specified command string.private CommandLine.Help.Ansi.Text
CommandLine.Help.DefaultOptionRenderer.createLongOptionText
(Field field, CommandLine.Help.IParamLabelRenderer renderer, CommandLine.Help.ColorScheme scheme, String longOption) CommandLine.Help.ColorScheme.optionParamText
(String optionParam) Returns a Text with all optionParam styles applied to the specified optionParam string.CommandLine.Help.ColorScheme.optionText
(String option) Returns a Text with all option styles applied to the specified option string.CommandLine.Help.ColorScheme.parameterText
(String parameter) Returns a Text with all parameter styles applied to the specified parameter string.CommandLine.Help.DefaultOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.DefaultParameterRenderer.render
(CommandLine.Parameters params, Field field, CommandLine.Help.IParamLabelRenderer paramLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.IOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Returns a text representation of the specified Option and the Field that captures the option value.CommandLine.Help.IParameterRenderer.render
(CommandLine.Parameters parameters, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Returns a text representation of the specified Parameters and the Field that captures the parameter values.CommandLine.Help.MinimalOptionRenderer.render
(CommandLine.Option option, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.MinimalParameterRenderer.render
(CommandLine.Parameters param, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) private CommandLine.Help.Ansi.Text[][]
CommandLine.Help.DefaultOptionRenderer.renderDescriptionLines
(CommandLine.Option option, CommandLine.Help.ColorScheme scheme, String requiredOption, String shortOption, CommandLine.Help.Ansi.Text longOptionText, Object defaultValue) CommandLine.Help.DefaultParamLabelRenderer.renderParameterLabel
(Field field, CommandLine.Help.Ansi ansi, List<CommandLine.Help.Ansi.IStyle> styles) CommandLine.Help.IParamLabelRenderer.renderParameterLabel
(Field field, CommandLine.Help.Ansi ansi, 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.CommandLine.Help.Ansi.Text.splitLines()
CommandLine.Help.Ansi.Text.substring
(int start) Returns a newText
instance that is a substring of this Text.CommandLine.Help.Ansi.Text.substring
(int start, int end) Returns a newText
instance that is a substring of this Text.CommandLine.Help.TextTable.textAt
(int row, int col) Returns theText
slot at the specified row and column to write a text value into.Methods in org.apache.logging.log4j.core.tools.picocli with parameters of type CommandLine.Help.Ansi.TextModifier and TypeMethodDescriptionvoid
CommandLine.Help.TextTable.addRowValues
(CommandLine.Help.Ansi.Text... values) CommandLine.Help.Ansi.Text.append
(CommandLine.Help.Ansi.Text other) Returns a newText
instance with the specified text appended.private CommandLine.Help.Ansi.Text
CommandLine.Help.appendOptionSynopsis
(CommandLine.Help.Ansi.Text optionText, Field field, String optionName, String prefix, String suffix) private int
CommandLine.Help.TextTable.copy
(BreakIterator line, CommandLine.Help.Ansi.Text text, CommandLine.Help.Ansi.Text columnValue, int offset) private static int
CommandLine.Help.TextTable.copy
(CommandLine.Help.Ansi.Text value, CommandLine.Help.Ansi.Text destination, int offset) private static boolean
CommandLine.empty
(CommandLine.Help.Ansi.Text txt) void
CommandLine.Help.Ansi.Text.getStyledChars
(int from, int length, CommandLine.Help.Ansi.Text destination, int offset) Copies the specified substring of this Text into the specified destination, preserving the markup.void
CommandLine.Help.Layout.layout
(Field field, CommandLine.Help.Ansi.Text[][] cellValues) Copies the specified text values into the correct cells in theCommandLine.Help.TextTable
.private static int
CommandLine.Help.TextTable.length
(CommandLine.Help.Ansi.Text str) CommandLine.Help.TextTable.putValue
(int row, int col, CommandLine.Help.Ansi.Text value) Writes the specified value into the cell at the specified row and column and returns the last row and column written to.private CommandLine.Help.Ansi.Text[][]
CommandLine.Help.DefaultOptionRenderer.renderDescriptionLines
(CommandLine.Option option, CommandLine.Help.ColorScheme scheme, String requiredOption, String shortOption, CommandLine.Help.Ansi.Text longOptionText, Object defaultValue)
CommandLine.Help.TextTable.textAt(int, int)
instead