twaver.core.model
Interface IDataBox<T extends Data>

Type Parameters:
T - 数据类型
All Superinterfaces:
IFilter<T>, IHandler<ListEvent<T>>, IHashCollection<T>, IHashList<T>, java.lang.Iterable<T>
All Known Subinterfaces:
IElementBox, ILayerBox
All Known Implementing Classes:
AlarmBox, DataBox, ElementBox, LayerBox

public interface IDataBox<T extends Data>
extends IHashCollection<T>

数据容器接口,twaver内部使用


Method Summary
 IDispatcher<PropertyChangeEvent> getDataChangeDispatcher()
           
 IDispatcher<ListEvent<T>> getSelectionChangeDispatcher()
           
 ISelectionModel<T> getSelectionModel()
           
 
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

getSelectionModel

ISelectionModel<T> getSelectionModel()

getDataChangeDispatcher

IDispatcher<PropertyChangeEvent> getDataChangeDispatcher()

getSelectionChangeDispatcher

IDispatcher<ListEvent<T>> getSelectionChangeDispatcher()