public static class IlvGanttCycleSelectAccelerator.GraphicComparator extends Object implements Comparator<IlvGraphic>
GraphicComparator
defines the default selection traversal ordering
across the objects in an IlvGanttSheet
:
Constructor and Description |
---|
GraphicComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(IlvGraphic g1,
IlvGraphic g2)
Compares two graphic objects in order to determine their selection traversal
ordering.
|
protected int |
compareActivityGraphics(IlvActivityGraphic ag1,
IlvActivityGraphic ag2)
Compares two activity graphic objects in order to determine their selection traversal
ordering.
|
protected int |
compareXThenY(IlvGraphic g1,
IlvGraphic g2)
Compares two graphic objects in order to determine their selection traversal
ordering.
|
protected int |
compareYThenX(IlvGraphic g1,
IlvGraphic g2)
Compares two graphic objects in order to determine their selection traversal
ordering.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(IlvGraphic g1, IlvGraphic g2)
compare
in interface Comparator<IlvGraphic>
g1
- The first graphic object to be compared.g2
- The second graphic object to be compared.protected int compareYThenX(IlvGraphic g1, IlvGraphic g2)
g1
- The first graphic object to be compared.g2
- The second graphic object to be compared.protected int compareXThenY(IlvGraphic g1, IlvGraphic g2)
g1
- The first graphic object to be compared.g2
- The second graphic object to be compared.protected int compareActivityGraphics(IlvActivityGraphic ag1, IlvActivityGraphic ag2)
ag1
- The first activity graphic object to be compared.ag2
- The second activity graphic object to be compared.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.