Class SortEvent<T extends SortOrder<?>>

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      SortEvent​(Component source, java.util.List<T> sortOrder, boolean userOriginated)
      Creates a new sort order change event with a sort order list.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<T> getSortOrder()
      Gets the sort order list.
      boolean isUserOriginated()
      Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SortEvent

        public SortEvent​(Component source,
                         java.util.List<T> 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 java.util.List<T> getSortOrder()
        Gets the sort order list.
        Returns:
        the sort order list
      • isUserOriginated

        public boolean isUserOriginated()
        Description copied from interface: HasUserOriginated
        Returns whether this event was triggered by user interaction, on the client side, or programmatically, on the server side.
        Specified by:
        isUserOriginated in interface HasUserOriginated
        Returns:
        true if this event originates from the client, false otherwise.