portal.comp.list
Interface SelectionModel
- All Superinterfaces:
- Model, java.io.Serializable
- All Known Implementing Classes:
- DefaultSelectionModel
- public interface SelectionModel
- extends Model
setListDataModel
public void setListDataModel(ListDataModel listDataModel)
clearSelection
public void clearSelection()
getFirstSelected
public int getFirstSelected()
- Returns:
- the smallest index for which isSelected(index) returns true. It returns -1 when
nothing is selected.
setSelected
public void setSelected(int index,
boolean selected)
isSelected
public boolean isSelected(int index)
getSelectionMode
public SelectionMode getSelectionMode()