Modifier and Type | Field | Description |
---|---|---|
protected CommandLine.Help.TextTable |
CommandLine.Help.Layout.table |
Modifier and Type | Method | Description |
---|---|---|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forColumns(CommandLine.Help.Ansi ansi,
CommandLine.Help.Column... columns) |
Constructs a
TextTable with the specified columns. |
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forColumnWidths(CommandLine.Help.Ansi ansi,
int... columnWidths) |
Constructs a new TextTable with columns with the specified width, all SPANning multiple columns on
overflow except the last column which WRAPS to the next row.
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forDefaultColumns(CommandLine.Help.Ansi ansi,
int usageHelpWidth) |
Constructs a TextTable with five columns as follows:
required option/parameter marker (width: 2, indent: 0, TRUNCATE on overflow)
short option name (width: 2, indent: 0, TRUNCATE on overflow)
comma separator (width: 1, indent: 0, TRUNCATE on overflow)
long option name(s) (width: 24, indent: 1, SPAN multiple columns on overflow)
description line(s) (width: 51, indent: 1, WRAP to next row on overflow)
|
static CommandLine.Help.TextTable |
CommandLine.Help.TextTable.forDefaultColumns(CommandLine.Help.Ansi ansi,
int longOptionsColumnWidth,
int usageHelpWidth) |
Constructs a TextTable with five columns as follows:
required option/parameter marker (width: 2, indent: 0, TRUNCATE on overflow)
short option name (width: 2, indent: 0, TRUNCATE on overflow)
comma separator (width: 1, indent: 0, TRUNCATE on overflow)
long option name(s) (width: 24, indent: 1, SPAN multiple columns on overflow)
description line(s) (width: 51, indent: 1, WRAP to next row on overflow)
|
CommandLine.Help.TextTable |
CommandLine.Help.TextTable.setAdjustLineBreaksForWideCJKCharacters(boolean adjustLineBreaksForWideCJKCharacters) |
Constructor | Description |
---|---|
Layout(CommandLine.Help.ColorScheme colorScheme,
CommandLine.Help.TextTable textTable) |
Constructs a Layout with the specified color scheme, the specified TextTable, the
default option renderer, and the
default parameter renderer.
|
Layout(CommandLine.Help.ColorScheme colorScheme,
CommandLine.Help.TextTable textTable,
CommandLine.Help.IOptionRenderer optionRenderer,
CommandLine.Help.IParameterRenderer parameterRenderer) |
Constructs a Layout with the specified color scheme, the specified TextTable, the
specified option renderer and the specified parameter renderer.
|
Copyright © 2017–2019. All rights reserved.