Interface ChangeBufferTableModel<T>

    • Method Detail

      • queueAdd

        void queueAdd​(T bean)
        Append an unsaved bean.
      • queueAdd

        void queueAdd​(int index,
                      T bean)
        Insert an unsaved bean.
      • queueDelete

        boolean queueDelete​(T bean)
        Returns:
        true if the delete was queued, false if the row was an unsaved addition and was deleted immediately.
      • getChangedRows

        java.util.stream.Stream<T> getChangedRows()
        Returns:
        updated, added and deleted rows.
      • getPendingAdds

        java.util.List<T> getPendingAdds()
      • getPendingDeletes

        java.util.List<T> getPendingDeletes()
      • getPendingUpdates

        java.util.stream.Stream<T> getPendingUpdates()
        Returns:
        added and changed rows.
      • isChangedAt

        boolean isChangedAt​(int rowIndex,
                            int columnIndex)
      • undoChangedAt

        void undoChangedAt​(int rowIndex,
                           int columnIndex)
      • isPendingDelete

        boolean isPendingDelete​(int rowIndex)
      • undoDelete

        void undoDelete​(int rowIndex)