Class Rows

java.lang.Object
joptsimple.internal.Rows

public class Rows extends Object
  • Field Details

    • overallWidth

      private final int overallWidth
    • columnSeparatorWidth

      private final int columnSeparatorWidth
    • rows

      private final List<Row> rows
    • widthOfWidestOption

      private int widthOfWidestOption
    • widthOfWidestDescription

      private int widthOfWidestDescription
  • Constructor Details

    • Rows

      public Rows(int overallWidth, int columnSeparatorWidth)
  • Method Details

    • add

      public void add(String option, String description)
    • add

      private void add(Row row)
    • reset

      public void reset()
    • fitToWidth

      public void fitToWidth()
    • render

      public String render()
    • optionWidth

      private int optionWidth()
    • descriptionWidth

      private int descriptionWidth()
    • pad

      private StringBuilder pad(StringBuilder buffer, String s, int length)