com.holonplatform.vaadin7.components

## Interface Selectable.SelectionEvent<T>

- Type Parameters:
    `T` - Selection item type
  All Superinterfaces:
    Serializable
  Enclosing interface:
    Selectable<T>

      public static interface Selectable.SelectionEvent<T>
      extends Serializable

  Selection event.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<T>` | `getAllSelectedItems()` Gets all the currently selected items.
    `Optional<T>` | `getFirstSelectedItem()` Get first selected data item, if any.

- - ### Method Detail

    - #### getFirstSelectedItem

          Optional<T> getFirstSelectedItem()

      Get first selected data item, if any.
      Returns:
        the first selected item, empty if none

    - #### getAllSelectedItems

          Set<T> getAllSelectedItems()

      Gets all the currently selected items. For single selection it returns a set containing the only selected item.
      Returns:
        return all the selected items, if any, never `null`

Copyright © 2019 The Holon Platform. All rights reserved.