Class GridChange

    • Constructor Detail

      • GridChange

        public GridChange​(int modelRow,
                          int column,
                          Object oldValue,
                          Object newValue)
        Constructor of a GridChange when a change inside a SpreadsheetCell is happening.
        Parameters:
        modelRow - the row index for this change
        column - the column index for this change
        oldValue - the previous value for this change
        newValue - the current value for this change
    • Method Detail

      • getRow

        public int getRow()
        Returns the row index of this change.
        Returns:
        the row number of this change
      • getColumn

        public int getColumn()
        Returns the column index of this change.
        Returns:
        the column number of this change
      • getOldValue

        public Object getOldValue()
        Returns the value before the change.
        Returns:
        the value before the change
      • getNewValue

        public Object getNewValue()
        Returns the value after the change.
        Returns:
        the value after the change