Top Fields Methods
com.vladsch.flexmark.util.format

public Interface TableRowManipulator

Imports
java.util.ArrayList

Field Summary

Modifier and TypeField and Description
public static final int

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

action performed: <0 number of rows deleted, 0 - no change to rows, >0 - number of rows added, or BREAK to stop processing rows
apply
(TableRow
row for the operation
row
,
int
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 skipped
allRowsIndex
,
ArrayList<TableRow>
rows for the section of the row
sectionRows
,
int
index for the row in the section's rows
sectionRowIndex
)

manipulate rows in a table

Field Detail

BREAKback to summary
public static final int BREAK

Method Detail

applyback to summary
public int apply(TableRow row, int allRowsIndex, ArrayList<TableRow> sectionRows, int sectionRowIndex)

manipulate rows in a table

Parameters
row:TableRow

row for the operation

allRowsIndex:int

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 skipped

sectionRows:ArrayList<TableRow>

rows for the section of the row

sectionRowIndex:int

index for the row in the section's rows

Returns:int

action performed: <0 number of rows deleted, 0 - no change to rows, >0 - number of rows added, or BREAK to stop processing rows