Class ItemRangeChangeEvent<RECORD>


  • public class ItemRangeChangeEvent<RECORD>
    extends java.lang.Object
    • Constructor Detail

      • ItemRangeChangeEvent

        public ItemRangeChangeEvent​(ItemRange itemRange)
        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

        public ItemRangeChangeEvent​(int startIndex,
                                    java.util.List<RECORD> records)
        Use this constructor if the model has the changed items at hand.
    • Method Detail

      • getItemRange

        public ItemRange getItemRange()
      • getRecords

        public java.util.Optional<java.util.List<RECORD>> getRecords()
      • getStart

        public int getStart()
      • getLength

        public int getLength()
      • getEnd

        public int getEnd()