Class ItemRangeChangeEvent<RECORD>
java.lang.Object
org.teamapps.ux.component.infiniteitemview.ItemRangeChangeEvent<RECORD>
public class ItemRangeChangeEvent<RECORD>
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ItemRangeChangeEvent(int startIndex, java.util.List<RECORD> records)Use this constructor if the model has the changed items at hand.ItemRangeChangeEvent(ItemRange itemRange)Use this constructor if the model does not have the changed items at hand. -
Method Summary
Modifier and Type Method Description intgetEnd()ItemRangegetItemRange()intgetLength()java.util.Optional<java.util.List<RECORD>>getRecords()intgetStart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ItemRangeChangeEvent
Use this constructor if the model does not have the changed items at hand. InfiniteItemViews might not actually need to react on the change, anyway. -
ItemRangeChangeEvent
Use this constructor if the model has the changed items at hand.
-
-
Method Details
-
getItemRange
-
getRecords
-
getStart
public int getStart() -
getLength
public int getLength() -
getEnd
public int getEnd()
-