Package | Description |
---|---|
org.apache.logging.log4j.core.tools.picocli |
Modifier and Type | Field and Description |
---|---|
protected List<CommandLine.Help.Ansi.Text> |
CommandLine.Help.TextTable.columnValues
The
char[] slots of the TextTable to copy text values into. |
Modifier and Type | Method and Description |
---|---|
CommandLine.Help.Ansi.Text |
CommandLine.Help.Ansi.Text.append(CommandLine.Help.Ansi.Text other)
Returns a new
Text instance with the specified text appended. |
CommandLine.Help.Ansi.Text |
CommandLine.Help.Ansi.Text.append(String string)
Returns a new
Text instance with the specified text appended. |
CommandLine.Help.Ansi.Text |
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.Ansi.Text |
CommandLine.Help.TextTable.cellAt(int row,
int col)
Deprecated.
use
CommandLine.Help.TextTable.textAt(int, int) instead |
CommandLine.Help.Ansi.Text |
CommandLine.Help.ColorScheme.commandText(String command)
Returns a Text with all command styles applied to the specified command string.
|
CommandLine.Help.Ansi.Text |
CommandLine.Help.ColorScheme.optionParamText(String optionParam)
Returns a Text with all optionParam styles applied to the specified optionParam string.
|
CommandLine.Help.Ansi.Text |
CommandLine.Help.ColorScheme.optionText(String option)
Returns a Text with all option styles applied to the specified option string.
|
CommandLine.Help.Ansi.Text |
CommandLine.Help.ColorScheme.parameterText(String parameter)
Returns a Text with all parameter styles applied to the specified parameter string.
|
CommandLine.Help.Ansi.Text[][] |
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.Ansi.Text[][] |
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.Ansi.Text |
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[] |
CommandLine.Help.Ansi.Text.splitLines() |
CommandLine.Help.Ansi.Text |
CommandLine.Help.Ansi.Text.substring(int start)
Returns a new
Text instance that is a substring of this Text. |
CommandLine.Help.Ansi.Text |
CommandLine.Help.Ansi.Text.substring(int start,
int end)
Returns a new
Text instance that is a substring of this Text. |
CommandLine.Help.Ansi.Text |
CommandLine.Help.TextTable.textAt(int row,
int col)
Returns the
Text slot at the specified row and column to write a text value into. |
Modifier and Type | Method and Description |
---|---|
void |
CommandLine.Help.TextTable.addRowValues(CommandLine.Help.Ansi.Text... values)
|
CommandLine.Help.Ansi.Text |
CommandLine.Help.Ansi.Text.append(CommandLine.Help.Ansi.Text other)
Returns a new
Text instance with the specified text appended. |
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 the
CommandLine.Help.TextTable . |
CommandLine.Help.TextTable.Cell |
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.
|
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.