Class TableSortUtil


  • @API(type=INTERNAL,
         src=PUBLIC)
    public final class TableSortUtil
    extends java.lang.Object
    Util class for table sort operations.
    • Method Detail

      • isEntirelySelected

        public static boolean isEntirelySelected​(AuthorAccess authorAccess,
                                                 AuthorElement element)
        Checks if the given element is entirely included in the current selection.
        Parameters:
        authorAccess - The author access.
        element - The element to be checked.
        Returns:
        true if the given element is entirely included in the current selection. The check is done only if the table has COLUMN selection or TABLE selection.
      • isIncludedInSelectionInterval

        public static boolean isIncludedInSelectionInterval​(AuthorAccess authorAccess,
                                                            AuthorElement element)
        Checks if the given element is included in the selection.
        Parameters:
        authorAccess - The author access.
        element - The element to be checked.
        Returns:
        true if it is entirely included in the selection, false otherwise.