Package org.drools.examples.sudoku.swing
Interface SudokuGridListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
SudokuGridView
public interface SudokuGridListener extends java.util.EventListenerDefines the callbacks that can be implemented to listen to events from a SudokuGridModel.- See Also:
SudokuGridModel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcellModified(SudokuGridEvent ev)Fired when a cell in the Sudoku grid is updated to a new valuevoidrestart(SudokuGridEvent ev)Fired when a cell in the Sudoku grid is resolved for the first time to a specific value
-
-
-
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
-
-