Package com.vladsch.flexmark.util.format
Class TableSection
- java.lang.Object
-
- com.vladsch.flexmark.util.format.TableSection
-
- Direct Known Subclasses:
TableCaptionSection
,TableSeparatorSection
public class TableSection extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
column
protected int
row
java.util.ArrayList<TableRow>
rows
TableSectionType
sectionType
-
Constructor Summary
Constructors Constructor Description TableSection(TableSectionType sectionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableCell
defaultCell()
TableRow
defaultRow()
TableRow
expandTo(int row)
TableRow
expandTo(int row, int column)
TableRow
expandTo(int row, int column, TableCell cell)
TableRow
expandTo(int row, TableCell cell)
TableRow
get(int row)
int
getColumn()
int
getMaxColumns()
int
getMinColumns()
int
getRow()
java.util.ArrayList<TableRow>
getRows()
void
nextRow()
void
normalize()
void
setCell(int row, int column, TableCell cell)
java.lang.String
toString()
-
-
-
Field Detail
-
sectionType
public final TableSectionType sectionType
-
rows
public final java.util.ArrayList<TableRow> rows
-
row
protected int row
-
column
protected int column
-
-
Constructor Detail
-
TableSection
public TableSection(TableSectionType sectionType)
-
-
Method Detail
-
getRows
public java.util.ArrayList<TableRow> getRows()
-
getRow
public int getRow()
-
getColumn
public int getColumn()
-
nextRow
public void nextRow()
-
setCell
public void setCell(int row, int column, TableCell cell)
-
normalize
public void normalize()
-
expandTo
public TableRow expandTo(int row)
-
expandTo
public TableRow expandTo(int row, int column)
-
defaultRow
public TableRow defaultRow()
-
defaultCell
public TableCell defaultCell()
-
get
public TableRow get(int row)
-
getMaxColumns
public int getMaxColumns()
-
getMinColumns
public int getMinColumns()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-