public class ItemContainerEvent<T> extends EventObject
Description: Evento gerado pelo ItemContainer quando um elemento é selecionado
source| Constructor and Description |
|---|
ItemContainerEvent(ItemContainer<T> source,
Collection<T> selectedElements)
Cria um IemContainerEvent
|
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getSelectedItens()
Pega os elementos selecionados
|
getSource, toStringpublic ItemContainerEvent(ItemContainer<T> source, Collection<T> selectedElements)
source - ItemContainer responsavel pela geração do eventoselectedElements - Collection elementos selecionadospublic Collection<T> getSelectedItens()
Collections.unmodifiableCollection(Collection))Copyright © 2015 Tecgraf/PUC-Rio. All rights reserved.