public static interface CommandLine.Help.IParameterRenderer
Parameters
details, a custom IParameterRenderer
can be used to create textual representation of a Parameters field in a tabular format: one or more rows,
each containing one or more columns. The Layout
is responsible for placing these text
values in the TextTable
.Modifier and Type | Method and Description |
---|---|
CommandLine.Help.Ansi.Text[][] |
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[][] render(CommandLine.Parameters parameters, Field field, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme)
parameters
- the command line parameters to show online usage help forfield
- the field that will hold the value for the command line parametersparameterLabelRenderer
- responsible for rendering parameter labels to textscheme
- color scheme for applying ansi color styles to positional parameters Copyright © 1999-2023 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.