Beispiel #1
0
  @Override
  public void sort(Object[] propertyId, boolean[] ascending) {
    // Grid in 7.4 may call this method with empty sorting instructions...
    if (propertyId.length > 0) {
      Comparator<T> comparator = new PropertyComparator(propertyId, ascending);

      Collections.sort(backingList, comparator);
      fireItemSetChange();
    }
  }