uk.co.keang.sudoku.event
Class ZeroChoiceEvent
java.lang.Object
java.util.EventObject
uk.co.keang.sudoku.event.SolutionEvent
uk.co.keang.sudoku.event.ZeroChoiceEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class ZeroChoiceEvent
- extends SolutionEvent
- implements java.lang.Cloneable
A solution event
- Author:
- A.G.Docherty
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
boolean |
isResolved()
True if this is a resolved cell event |
Methods inherited from class uk.co.keang.sudoku.event.SolutionEvent |
canCoalesce, clone, coalesce, displayOrder, equals, getDescription, getGrouping, getLocations, getPuzzle, getReferencedLocations, getReferencedValues, getRemovedValues, hashCode, setDisplayOrder, toString |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ZeroChoiceEvent
public ZeroChoiceEvent(AbstractSolver src,
java.lang.String msg,
Puzzle grid,
java.awt.Point loc,
Puzzle.Cell removed,
java.util.List<java.awt.Point> ref,
SolutionEvent.Grouping group)
throws IllegalGridException
- A solver event for a completed cell
- Parameters:
src
- the solver that generated the eventmsg
- a descriptive message from the solvergrid
- the grid with the completed cellloc
- the location (0 based) of the cell that has been completedref
-
- Throws:
IllegalGridException
isResolved
public boolean isResolved()
- True if this is a resolved cell event
- Overrides:
isResolved
in class SolutionEvent
- Returns: