Package com.itextpdf.layout.renderer
Class Grid.RowCellComparator
- java.lang.Object
-
- com.itextpdf.layout.renderer.Grid.RowCellComparator
-
- All Implemented Interfaces:
java.util.Comparator<GridCell>
- Enclosing class:
- Grid
private static final class Grid.RowCellComparator extends java.lang.Object implements java.util.Comparator<GridCell>
This comparator sorts cells so ones with both fixed row and column positions would go first, then cells with fixed row and then all other cells.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RowCellComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
calculateModifiers(GridCell value)
int
compare(GridCell lhs, GridCell rhs)
-