- All Implemented Interfaces:
- java.util.Comparator<EventList.EventIndex>
- Enclosing class:
- EventList
private static class EventList.EventsPriorityComparator
extends java.lang.Object
implements java.util.Comparator<EventList.EventIndex>
Defines new priority event order based on the natural linear order of events. EventList 1 and EventList 2 are
always comparable. If they have the different events, then their order positions are not changed.
If they have the same events, then their order positions are swapped if each associated widget from the first list
have at least one of its parents in the second event list. This new order is also a linear order.