public class Jk3ColumnsText
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<dev.jeka.core.api.text.Jk3ColumnsText.Row> |
rows |
Modifier and Type | Method and Description |
---|---|
Jk3ColumnsText |
add(java.lang.String left,
java.lang.String right)
Adds a new row with the given left and right values.
|
static Jk3ColumnsText |
of(int leftSize,
int middleSize,
int maxSize)
Creates a new instance of Jk2ColumnsText with the given left size and maximum size.
|
static Jk3ColumnsText |
of(int leftSize,
int maxSize,
int middleSize,
java.lang.String delimiter)
Creates a new instance of Jk2ColumnsText with the given parameters.
|
Jk3ColumnsText |
setAdjustLeft(boolean adjustLeft)
Sets the adjustLeft flag.
|
java.lang.String |
toString() |
public static Jk3ColumnsText of(int leftSize, int maxSize, int middleSize, java.lang.String delimiter)
leftSize
- the size of the left columnmaxSize
- the maximum overall size of each row in the textdelimiter
- the delimiter used to separate the columnspublic static Jk3ColumnsText of(int leftSize, int middleSize, int maxSize)
of(int, int, int, String)
public Jk3ColumnsText add(java.lang.String left, java.lang.String right)
public Jk3ColumnsText setAdjustLeft(boolean adjustLeft)
Initial value is true
public java.lang.String toString()
toString
in class java.lang.Object