org.apache.myfaces.trinidad.event

## Class SortEvent

- java.lang.Object
- - java.util.EventObject
  - - javax.faces.event.FacesEvent
    - - org.apache.myfaces.trinidad.event.SortEvent

- All Implemented Interfaces:
    Serializable

      public final class SortEvent
      extends javax.faces.event.FacesEvent

  The Event generated when a Collection is to be sorted.
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SortEvent(javax.faces.component.UIComponent source, List<SortCriterion> criteria)` Creates a new SortEvent.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<SortCriterion>` | `getSortCriteria()` Each element of this List is of type SortCriterion
    `boolean` | `isAppropriateListener(javax.faces.event.FacesListener listener)`
    `void` | `processListener(javax.faces.event.FacesListener listener)`

    - ### Methods inherited from class javax.faces.event.FacesEvent

      `getComponent, getPhaseId, queue, setPhaseId`

    - ### 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(javax.faces.component.UIComponent source,
                   List<SortCriterion> criteria)

      Creates a new SortEvent.
      Parameters:
        `criteria` - each element must be of type SortCriterion
      See Also:
        `SortCriterion`

  - ### Method Detail

    - #### getSortCriteria

          public List<SortCriterion> getSortCriteria()

      Each element of this List is of type SortCriterion
      See Also:
        `SortCriterion`

    - #### isAppropriateListener

          public boolean isAppropriateListener(javax.faces.event.FacesListener listener)

      Specified by:
        `isAppropriateListener` in class `javax.faces.event.FacesEvent`

    - #### processListener

          public void processListener(javax.faces.event.FacesListener listener)

      Specified by:
        `processListener` in class `javax.faces.event.FacesEvent`

Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.