|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface ISelectionModel<T extends Data>
选中模型接口,twaver内部使用
Method Summary | |
---|---|
IHashCollection<T> |
getDataSource()
获取该选中模型所用于的数据容器 |
boolean |
isSelected(T data)
元素是否被选中 |
boolean |
reverseSelect(T data)
改变选中状态,原来被选中的,改为选中,原来不被选中的变为选中 |
boolean |
select(T data)
选中元素 |
boolean |
unselect(T data)
取消选中 |
Methods inherited from interface twaver.core.model.IHashCollection |
---|
getListChangeDispatcher |
Methods inherited from interface twaver.core.model.IHashList |
---|
add, add, add, add, clearAll, contains, containsById, forEach, forEachReverse, getById, getByIndex, getDatas, getLastData, indexOf, isEmpty, remove, remove, removeById, reverseIterator, set, set, setIndex, size, toDatas |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface twaver.filter.IFilter |
---|
accept |
Methods inherited from interface twaver.event.IHandler |
---|
setListener |
Method Detail |
---|
boolean isSelected(T data)
data
- 数据元素
boolean reverseSelect(T data)
data
- 数据元素
boolean select(T data)
data
- 数据元素
boolean unselect(T data)
data
- 数据元素
IHashCollection<T> getDataSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |