Class FormattedStem


  • public class FormattedStem
    extends FormattedStems<String>

    Created by Jeff Gaynor
    on 9/16/21 at 6:45 AM

    • Constructor Detail

      • FormattedStem

        public FormattedStem()
    • Method Detail

      • maxLength

        public int maxLength()
      • minLength

        public int minLength()
      • formatRow

        public List<String> formatRow​(int rowNumber,
                                      int maxColWidth)
        Takes a row and creates the individual elements in it. These then can be just glommed together to make the whole row with whatever spacing or indenting that is needed.
        Parameters:
        rowNumber -
        Returns:
      • print

        public void print​(PrintStream printStream,
                          int offset)
      • main

        public static void main​(String[] args)
      • populateTest

        public static FormattedStem populateTest​(int rowCount,
                                                 int colCount)