public final class VeryComplexListDataEvent extends ComplexListDataEvent
This event class is used in the case of calls to TabDataModel.setTabs(),
where one array of TabData objects is replaced with a different array of
TabData objects, which may contain additions, removals, deletions or moves.
The heavy lifting is done by
ArrayDiff, which provides lists of
the affected indices for those things that are added/removed/changed/
Note that this class should eventually be merged with ComplexListDataEvent, along with some normalization of how things are done - it was written for expedience, not beauty.
CONTENTS_CHANGED, INTERVAL_ADDED, INTERVAL_REMOVED
|Constructor and Description|
Creates a new instance of VeryComplexListDataEvent
|Modifier and Type||Method and Description|
Returns an ArrayDiff object if the two arrays this event was created with are not identical
getAffectedItems, getIndices, isTextChanged, isUserObjectChanged, setAffectedItems