Package edu.uiuc.ncsa.qdl.variables
Class FormattedStem
- java.lang.Object
-
- edu.uiuc.ncsa.qdl.variables.FormattedStems<String>
-
- edu.uiuc.ncsa.qdl.variables.FormattedStem
-
public class FormattedStem extends FormattedStems<String>
Created by Jeff Gaynor
on 9/16/21 at 6:45 AM
-
-
Constructor Summary
Constructors Constructor Description FormattedStem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatEntry(Object x)
List<String>
formatRow(int rowNumber, int maxColWidth)
Takes a row and creates the individual elements in it.String
get(int row, int column)
static void
main(String[] args)
int
maxLength()
int
minLength()
static FormattedStem
populateTest(int rowCount, int colCount)
void
print(PrintStream printStream, int offset)
String
put(int rowNumber, int colNumber, Object object)
returns what the formatted object is.-
Methods inherited from class edu.uiuc.ncsa.qdl.variables.FormattedStems
getPlaceholder, getRow, hasRow
-
-
-
-
Method Detail
-
formatEntry
protected String formatEntry(Object x)
- Overrides:
formatEntry
in classFormattedStems<String>
-
put
public String put(int rowNumber, int colNumber, Object object)
Description copied from class:FormattedStems
returns what the formatted object is.- Overrides:
put
in classFormattedStems<String>
- Returns:
-
get
public String get(int row, int column)
- Overrides:
get
in classFormattedStems<String>
-
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)
-
-