org.richfaces.fragment.orderingList

## Interface OrderingList

- All Known Implementing Classes:
    AbstractOrderingList, RichFacesOrderingList, RichFacesPickList.OrderingListInPickList

      public interface OrderingList

  Author:
    Jiri Stefek

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PuttingSelectedItem` | `select(ChoicePicker picker)` Selects a choice from suggestions.
    `PuttingSelectedItem` | `select(Integer index)` Selects the choice at index.
    `PuttingSelectedItem` | `select(String visibleText)` Selects the first option, which matches given text.

- - ### Method Detail

    - #### select

          PuttingSelectedItem select(String visibleText)

      Selects the first option, which matches given text.
      Parameters:
        `visibleText` - text to match
      Returns:
        object by which it is possible to interact with ordering functions
      Throws:
        `RuntimeException` - when no such option found
      See Also:
        `PuttingSelectedItem`

    - #### select

          PuttingSelectedItem select(Integer index)

      Selects the choice at index.
      Parameters:
        `index` - index of the choice
      Returns:
        object by which it is possible to interact with ordering functions
      Throws:
        `RuntimeException` - when no such option found

    - #### select

          PuttingSelectedItem select(ChoicePicker picker)

      Selects a choice from suggestions.
      Parameters:
        `picker` - for picking from the choices
      Returns:
        object by which it is possible to interact with ordering functions
      Throws:
        `RuntimeException` - when no such option found
      See Also:
        `ChoicePickerHelper.ByIndexChoicePicker`, `ChoicePickerHelper.ByVisibleTextChoicePicker`

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.