Enum Grid.MultiSortPriority

    • Enum Constant Detail

      • APPEND

        public static final Grid.MultiSortPriority APPEND
        Whenever an unsorted column is sorted, it gets added at the end of the sort order, after all the previously sorted columns. When the sort direction of a column is changed by the user, the priority for all the sorted columns remains unchanged.
      • PREPEND

        public static final Grid.MultiSortPriority PREPEND
        Whenever an unsorted column is sorted, or the sort direction of a column is changed, that column gets sort priority 1, and all the other sorted columns are updated accordingly. This is the default behavior of the component.
    • Method Detail

      • values

        public static Grid.MultiSortPriority[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Grid.MultiSortPriority c : Grid.MultiSortPriority.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Grid.MultiSortPriority valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null