Package picocli

Class CommandLine.Help.Column

  • Enclosing class:
    CommandLine.Help

    public static class CommandLine.Help.Column
    extends java.lang.Object
    Columns define the width, indent (leading number of spaces in a column before the value) and Overflow policy of a column in a TextTable.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CommandLine.Help.Column.Overflow
      Policy for handling text that is longer than the column width: span multiple columns, wrap to the next row, or simply truncate the portion that doesn't fit.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int indent
      Indent (number of empty spaces at the start of the column preceding the text value)
      CommandLine.Help.Column.Overflow overflow
      Policy that determines how to handle values larger than the column width.
      int width
      Column width in characters
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • width

        public final int width
        Column width in characters
      • indent

        public int indent
        Indent (number of empty spaces at the start of the column preceding the text value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object