uk.co.keang.sudoku
Class GridChangeEvent

java.lang.Object
  extended by uk.co.keang.sudoku.GridChangeEvent

public class GridChangeEvent
extends java.lang.Object

Author:
A.G.Docherty

Constructor Summary
GridChangeEvent(java.awt.Point loc, Puzzle.Cell origVal, Puzzle.Cell newVal)
           
 
Method Summary
 java.awt.Point getLocation()
           
 Puzzle.Cell getNewValues()
           
 Puzzle.Cell getOriginalValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridChangeEvent

public GridChangeEvent(java.awt.Point loc,
                       Puzzle.Cell origVal,
                       Puzzle.Cell newVal)
Method Detail

getLocation

public java.awt.Point getLocation()
Returns:
the location

getOriginalValues

public Puzzle.Cell getOriginalValues()
Returns:
the originalValue

getNewValues

public Puzzle.Cell getNewValues()
Returns:
the newValue