Class KeyRowInsertEvent

    • Constructor Detail

      • KeyRowInsertEvent

        public KeyRowInsertEvent​(ILayer layer,
                                 int rowIndex,
                                 Object key,
                                 CellKeyHandler<?> keyHandler)
        Creates a KeyRowInsertEvent for one inserted row object.
        Parameters:
        layer - The layer to which the row index is matching.
        rowIndex - The index of the row that was inserted.
        key - The key of the inserted row object.
        keyHandler - The CellKeyHandler that was used to create the key.
      • KeyRowInsertEvent

        public KeyRowInsertEvent​(ILayer layer,
                                 Range rowPositionRange,
                                 Collection<Object> keys,
                                 CellKeyHandler<?> keyHandler)
        Creates a KeyRowInsertEvent for multiple inserted row objects.
        Parameters:
        layer - The layer to which the row indexes are matching.
        rowPositionRange - The position range of the inserted rows.
        keys - The keys of the inserted rows.
        keyHandler - The CellKeyHandler that was used to create the key.
      • KeyRowInsertEvent

        public KeyRowInsertEvent​(ILayer layer,
                                 Collection<Range> rowPositionRanges,
                                 Collection<Object> keys,
                                 CellKeyHandler<?> keyHandler)
        Creates a KeyRowInsertEvent for multiple inserted row objects.
        Parameters:
        layer - The layer to which the row indexes are matching.
        rowPositionRanges - The position ranges of the inserted rows.
        keys - The keys of the inserted rows.
        keyHandler - The CellKeyHandler that was used to create the key.
      • KeyRowInsertEvent

        protected KeyRowInsertEvent​(KeyRowInsertEvent event)
        Clone constructor.
        Parameters:
        event - The event to clone.