public class Ci_HelpTable extends Ci_Help
| Modifier and Type | Field and Description |
|---|---|
protected AT_ColumnWidthCalculator |
cwc
Table width calculated.
|
protected TA_Grid |
grid
The grid for the table.
|
| Constructor and Description |
|---|
Ci_HelpTable(SkbShell skbShell)
Returns an new 'help' command interpreter for table output with default grid and columns set to width of 15 and 70.
|
Ci_HelpTable(SkbShell skbShell,
TA_Grid grid)
Returns an new 'help' command interpreter for table output.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generalHelp(AsciiTable at)
Processes general help with no specific command requested.
|
int |
interpretCommand(String command,
LineParser lp,
MessageMgr mm)
Interprets the given command.
|
Ci_HelpTable |
setWidth(AT_ColumnWidthCalculator cwc)
Sets the table with.
|
protected void |
specificHelp(AsciiTable at,
String toHelp)
Processes general help with no specific command requested.
|
getCommands, getCommandStringsprotected TA_Grid grid
protected AT_ColumnWidthCalculator cwc
public Ci_HelpTable(SkbShell skbShell)
skbShell - the calling shellpublic Ci_HelpTable(SkbShell skbShell, TA_Grid grid)
skbShell - the calling shellgrid - a grid for the tablepublic Ci_HelpTable setWidth(AT_ColumnWidthCalculator cwc)
cwc - table width calculator to be usedpublic int interpretCommand(String command, LineParser lp, MessageMgr mm)
CommandInterpreterinterpretCommand in interface CommandInterpreterinterpretCommand in class Ci_Helpcommand - command for interpretationlp - a parser with the whole command linemm - the message manager to use for reporting errors, warnings, and infosprotected void specificHelp(AsciiTable at,
String toHelp)
at - table to add help information totoHelp - the command to help withprotected void generalHelp(AsciiTable at)
at - table to add help information toCopyright © 2010–2017. All rights reserved.