}
public List<T> getSelectedItems()
{
if (this.selectedItems==null)
throw new NotSupportedException(this, "getSelectedItems");
// find all items
List<T> selection = new ArrayList<T>(this.selectedItems.size());
for (T item : getItems())
{
if (((SelectableItem)item).isSelected())