Class CmsResourceTreeTable.FileSorter

  • All Implemented Interfaces:,, java.lang.Cloneable, java.util.Comparator<java.lang.Object>, I_CmsItemSorter
    Enclosing class:

    public static class CmsResourceTreeTable.FileSorter
    implements I_CmsItemSorter
    Extends the default sorting to differentiate between files and folder when sorting by name.

    Also allows sorting by navPos property for the Resource icon column.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int compareProperty​(java.lang.Object propertyId, boolean sortDirection, item1, item2)  
      java.util.Collection<?> getSortableContainerPropertyIds​( container)
      Returns the sortable container property ids.
      • Methods inherited from class

        compare, setSortProperties
      • 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
      • Methods inherited from interface

        compare, setSortProperties