com.vaadin.event.

Class SortEvent

    • Constructor Detail

      • SortEvent

        public SortEvent(Component source,
                         List<SortOrder> sortOrder,
                         boolean userOriginated)

        Creates a new sort order change event with a sort order list.

        Parameters:

        source - the component from which the event originates

        sortOrder - the new sort order list

        userOriginated - true if event is a result of user interaction, false if from API call

    • Method Detail

      • getSortOrder

        public List<SortOrder> getSortOrder()

        Gets the sort order list.

        Returns:

        the sort order list

      • isUserOriginated

        public boolean isUserOriginated()

        Returns whether this event originated from actions done by the user.

        Returns:

        true if sort event originated from user interaction