Class TabularTableSection
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.util.commenttable.TabularTableSection
-
- All Implemented Interfaces:
CommentTableSection
public class TabularTableSection extends java.lang.Object implements CommentTableSection
-
-
Constructor Summary
Constructors Constructor Description TabularTableSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabularTableSectionaddRow(java.lang.String... rowEntries)intgetColumnCount()intgetColumnWidth(int columnId)int[]getColumnWidths()java.util.List<java.lang.String>getLines()intgetPreferedWidth()intgetRowCount()
-
-
-
Method Detail
-
addRow
@NotNull @Contract(mutates="this", pure=false, value="null -> fail; !null -> this") public TabularTableSection addRow(@NotNull java.lang.String... rowEntries)
-
getColumnWidth
@Contract(pure=true) public int getColumnWidth(int columnId)
-
getColumnCount
@Contract(pure=true) public int getColumnCount()
-
getColumnWidths
@NotNull @Contract(pure=true, value="-> new") public int[] getColumnWidths()
-
getRowCount
@Contract(pure=true) public int getRowCount()
-
getPreferedWidth
@Contract(pure=true) public int getPreferedWidth()
- Specified by:
getPreferedWidthin interfaceCommentTableSection
-
getLines
@NotNull @Contract(pure=true, value="-> new") public java.util.List<java.lang.String> getLines()- Specified by:
getLinesin interfaceCommentTableSection
-
-