org.drools.examples.sudoku.swing
Interface SudokuGridListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
SudokuGridView

public interface SudokuGridListener
extends EventListener

Defines the callbacks that can be implemented to listen to events from a SudokuGridModel.

See Also:
SudokuGridModel

Method Summary
 void cellModified(SudokuGridEvent ev)
          Fired when a cell in the Sudoku grid is updated to a new value
 void restart(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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.