Constructs a ListDataEvent object. If index0 is >
index1, index0 and index1 will be swapped such that
index0 will always be <= index1.
Parameters:
-
source - the source Object (typically
this
)
-
type - an int specifying {@link #CONTENTS_CHANGED},
{@link #INTERVAL_ADDED}, or {@link #INTERVAL_REMOVED}
-
index0 - one end of the new interval
-
index1 - the other end of the new interval