Interface SudokuGridListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    SudokuGridView

    public interface SudokuGridListener
    extends java.util.EventListener
    Defines the callbacks that can be implemented to listen to events from a SudokuGridModel.
    See Also:
    SudokuGridModel
    • Method Detail

      • restart

        void restart​(SudokuGridEvent ev)
        Fired when a cell in the Sudoku grid is resolved for the first time to a specific value
        Parameters:
        ev - an event containing the cell which is resolved along with the value it now has
      • cellModified

        void cellModified​(SudokuGridEvent ev)
        Fired when a cell in the Sudoku grid is updated to a new value
        Parameters:
        ev - an event containing the cell which is updated along with the value it now has