adaptj.util.text
Class HelpDisplayManager

java.lang.Object
  |
  +--adaptj.util.text.HelpDisplayManager

public class HelpDisplayManager
extends java.lang.Object


Field Summary
static int LEFT_WIDTH
           
static int RIGHT_WIDTH
           
 
Constructor Summary
HelpDisplayManager()
           
HelpDisplayManager(int leftWidth, int rightWidth)
           
HelpDisplayManager(int leftWidth, int rightWidth, java.io.PrintStream out)
           
HelpDisplayManager(java.io.PrintStream out)
           
 
Method Summary
 void displayHeader(java.lang.String name, java.lang.String description)
           
 void displayOptionHelp(java.lang.String option, java.lang.String description)
           
 void endTable()
           
 java.lang.String getEndTableString()
           
 Strings getOptionHelpStrings(java.lang.String option, java.lang.String description)
           
 java.lang.String getStartTableString()
           
static java.lang.String getStringOf(char c, int width)
           
 void startTable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEFT_WIDTH

public static final int LEFT_WIDTH
See Also:
Constant Field Values

RIGHT_WIDTH

public static final int RIGHT_WIDTH
See Also:
Constant Field Values
Constructor Detail

HelpDisplayManager

public HelpDisplayManager()

HelpDisplayManager

public HelpDisplayManager(int leftWidth,
                          int rightWidth)

HelpDisplayManager

public HelpDisplayManager(java.io.PrintStream out)

HelpDisplayManager

public HelpDisplayManager(int leftWidth,
                          int rightWidth,
                          java.io.PrintStream out)
Method Detail

displayHeader

public void displayHeader(java.lang.String name,
                          java.lang.String description)

startTable

public void startTable()

getStartTableString

public java.lang.String getStartTableString()

displayOptionHelp

public void displayOptionHelp(java.lang.String option,
                              java.lang.String description)

getOptionHelpStrings

public Strings getOptionHelpStrings(java.lang.String option,
                                    java.lang.String description)

endTable

public void endTable()

getEndTableString

public java.lang.String getEndTableString()

getStringOf

public static java.lang.String getStringOf(char c,
                                           int width)