Class RowInsertEvent

    • Constructor Detail

      • RowInsertEvent

        public RowInsertEvent​(ILayer layer,
                              int rowPosition)
        Creates a new RowInsertEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given row position matches.
        rowPosition - The row position of the row that was inserted.
      • RowInsertEvent

        public RowInsertEvent​(ILayer layer,
                              Range... rowPositionRanges)
        Creates a new RowInsertEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given row positions match.
        rowPositionRanges - The row position ranges for the rows that were inserted.
      • RowInsertEvent

        public RowInsertEvent​(ILayer layer,
                              Collection<Range> rowPositionRanges)
        Creates a new RowInsertEvent based on the given information.
        Parameters:
        layer - The ILayer to which the given row positions match.
        rowPositionRanges - The row position ranges for the rows that were inserted.
      • RowInsertEvent

        protected RowInsertEvent​(RowInsertEvent event)
        Creates a new RowInsertEvent based on the given instance. Mainly needed for cloning.
        Parameters:
        event - The RowInsertEvent out of which the new instance should be created.
    • Method Detail

      • cloneEvent

        public RowInsertEvent cloneEvent()
        Returns:
        A cloned copy of the event. This cloned copy is provided to each listener.