org.zkoss.zul.ext
Interface Selectable

All Known Implementing Classes:
AbstractListModel, BindingListModelArray, BindingListModelList, BindingListModelMap, BindingListModelSet, GroupsListModel, ListModelArray, ListModelList, ListModelMap, ListModelSet, SimpleListModel

public interface Selectable

Indicate a selectable collection or component. Generally used with ListModel and Listbox.

Author:
henrichen
See Also:
ListModel, Listbox

Method Summary
 void addSelection(java.lang.Object obj)
          Add the specified object into selection.
 void clearSelection()
          Clear all selection.
 java.util.Set getSelection()
          Returns current selection.
 void removeSelection(java.lang.Object obj)
          Remove the specified object from selection.
 

Method Detail

getSelection

java.util.Set getSelection()
Returns current selection.

Returns:
current selection.

addSelection

void addSelection(java.lang.Object obj)
Add the specified object into selection.

Parameters:
obj - the object to be as selection.

removeSelection

void removeSelection(java.lang.Object obj)
Remove the specified object from selection.

Parameters:
obj - the object to be remove from selection.

clearSelection

void clearSelection()
Clear all selection.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo