Package com.itextpdf.layout.renderer
Class Grid.RowCellComparator
java.lang.Object
com.itextpdf.layout.renderer.Grid.RowCellComparator
- All Implemented Interfaces:
Comparator<GridCell>
- Enclosing class:
Grid
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 -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RowCellComparator
private RowCellComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<GridCell>
-
calculateModifiers
-