org.richfaces.fragment.orderingList

## Interface SelectableListItem

- All Superinterfaces:
    ListItem
  All Known Implementing Classes:
    AbstractSelectableListItem, DayPicker.CalendarDayImpl, RichFacesOrderingList.SelectableListItemImpl, RichFacesPickList.SelectableListItemImpl

      public interface SelectableListItem
      extends ListItem

  Author:
    Jiri Stefek

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `deselect()` Deselects this item.
    `boolean` | `isSelected()` Finds out whether this item is selected.
    `void` | `select()` Selects item without deselecting others.
    `void` | `select(boolean deselectOthers)` Select item and deselect other items depending on @deselectOthers.

    - ### Methods inherited from interface org.richfaces.fragment.list.ListItem

      `getRootElement, getText`

- - ### Method Detail

    - #### isSelected

          boolean isSelected()

      Finds out whether this item is selected.
      Returns:
        `true` if this item is selected, `false` otherwise

    - #### select

          void select()

      Selects item without deselecting others.

    - #### select

          void select(boolean deselectOthers)

      Select item and deselect other items depending on @deselectOthers.
      Parameters:
        `deselectOthers` - if `true` other items will be unselected.

    - #### deselect

          void deselect()

      Deselects this item.

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