Package com.itextpdf.layout.renderer
Class Grid.ColumnCellComparator
java.lang.Object
com.itextpdf.layout.renderer.Grid.ColumnCellComparator
- 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 column 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
-
ColumnCellComparator
private ColumnCellComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<GridCell>
-
calculateModifiers
-