Package com.vladsch.flexmark.util.format
Interface TableRowManipulator
-
public interface TableRowManipulator
-
-
Field Summary
Fields Modifier and Type Field Description static int
BREAK
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
apply(TableRow row, int allRowsIndex, java.util.ArrayList<TableRow> sectionRows, int sectionRowIndex)
manipulate rows in a table
-
-
-
Field Detail
-
BREAK
static final int BREAK
- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
int apply(TableRow row, int allRowsIndex, java.util.ArrayList<TableRow> sectionRows, int sectionRowIndex)
manipulate rows in a table- Parameters:
row
- row for the operationallRowsIndex
- row's index in all rows of the request reflects indices at time of request, when rows are deleted those rows will not be processed and their indices will skippedsectionRows
- rows for the section of the rowsectionRowIndex
- index for the row in the section's rows- Returns:
- action performed: <0 number of rows deleted, 0 - no change to rows, >0 - number of rows added, or BREAK to stop processing rows
-
-