| Modifier and Type | Method and Description |
|---|---|
JCol |
content(java.lang.Object content) |
JRow |
done() |
JPadding |
getPadding() |
JCol |
padding(JPadding padding) |
java.util.List<java.lang.String> |
render(JTheme theme,
int widthToUse)
Same as
render(JTheme, int, Integer) where the height is unknown and therefore only
the lines required by this column will be generated. |
java.util.List<java.lang.String> |
render(JTheme theme,
int widthToUse,
java.lang.Integer heightToUse)
Renders the column producing a list of Strings representing each line of the column.
|
JCol |
width(int width) |
public JCol(JRow row)
public JCol content(java.lang.Object content)
public JCol width(int width)
public JPadding getPadding()
public JRow done()
public java.util.List<java.lang.String> render(JTheme theme, int widthToUse)
render(JTheme, int, Integer) where the height is unknown and therefore only
the lines required by this column will be generated.theme - Theme to be used on this columnwidthToUse - How wide should this column berender(JTheme, int, Integer)public java.util.List<java.lang.String> render(JTheme theme, int widthToUse, java.lang.Integer heightToUse)
The produced lines only contain the left border.
This method guarantees that if the content is wider than widthToUse then it is
wrapped to respect the width. JSurroundingStyle.rightCharacter is used to fill in the
gaps.
theme - Theme to be used on this columnwidthToUse - How wide should this column beheightToUse - How high should this column bewrapLines(String, int)