Package org.drools.examples.sudoku.swing
Interface SudokuGridListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
SudokuGridView
Defines the callbacks that can be implemented to listen to events from a SudokuGridModel.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidFired when a cell in the Sudoku grid is updated to a new valuevoidFired when a cell in the Sudoku grid is resolved for the first time to a specific value
-
Method Details
-
restart
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
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
-