org.eclnt.jsfserver.util

## Class ListSorterUI5Wrapper<CLASS>

- java.lang.Object
- - org.eclnt.jsfserver.util.ListSorterUI5Wrapper<CLASS>

-     public class ListSorterUI5Wrapper<CLASS>
      extends java.lang.Object

  Wraps an instance of `ListSorterOneAttribute` and provides the functions to directly plug the sorter to some UI5/JSF based processing.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ListSorterUI5Wrapper.StyleSeqMap`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListSorterUI5Wrapper(ListSorterOneAttribute<CLASS> listSorter)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ListSorterUI5Wrapper.StyleSeqMap` | `getStyles()` Dynamic map for accessing the STYLESEQ information for a certain attribute.
    `void` | `onSortAction(ActionEvent event)` Executing the sorting.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ListSorterUI5Wrapper

          public ListSorterUI5Wrapper(ListSorterOneAttribute<CLASS> listSorter)

  - ### Method Detail

    - #### getStyles

          public ListSorterUI5Wrapper.StyleSeqMap getStyles()

      Dynamic map for accessing the STYLESEQ information for a certain attribute.
      Returns:
        "ccSort;ccSortDefault" for unsorted attributes, "ccSort;ccSortAscending" if sorted in ascending direction "ccSort;ccSortDescending" if sorted in descending direction

    - #### onSortAction

          public void onSortAction(ActionEvent event)

      Executing the sorting. The attribute to use for sorting is passed via the REFERENCE of the corresponding component.

Copyright © CaptainCasa Gmbh. All Rights Reserved.