Interface SelectableComponent<COMPONENT extends org.zkoss.zk.ui.Component,ITEM extends org.zkoss.zk.ui.Component,ELEMENT>
-
- Type Parameters:
COMPONENT- type of the component (eg. Tree, Listbox)ITEM- type of the component's item (eg. TreeCell, Listitem)ELEMENT- type of stored elements (eg. TypedObject)
- All Known Subinterfaces:
ListboxController<T>,PositionAwareTreeController<T>,TreeController<T>
- All Known Implementing Classes:
BundleNavigationNodeController,BundleRelatedItemListController,PositionAwareTreeControllerWrapper,TreeControllerMock,TreeControllerWrapper
public interface SelectableComponent<COMPONENT extends org.zkoss.zk.ui.Component,ITEM extends org.zkoss.zk.ui.Component,ELEMENT>Common interface for all selectable components (Lists, Trees, ..).- See Also:
Component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<ELEMENT>getSelected()voidselected(COMPONENT component, java.util.Set<ITEM> selectedItems)Called every time the tree node was selected
-
-
-
Method Detail
-
getSelected
java.util.Set<ELEMENT> getSelected()
- Returns:
- currently selected set of items
-
-