Class SimpleNavigationWrapper

  extended by net.sf.kagiru.navigation.NavigationWrapper
      extended by net.sf.kagiru.navigation.SimpleNavigationWrapper
All Implemented Interfaces:

public class SimpleNavigationWrapper
extends NavigationWrapper

Will simply stay in the puzzle: - if you're at the last row and go down, you go to the first (and visa versa) - same hold for columns and right/left. Stays at all times in the column or row.

See Also:
Serialized Form

Constructor Summary
Method Summary
protected  int wrapColumn(int rawColumn, int rawRow, Puzzle puzzle)
protected  int wrapRow(int rawColumn, int rawRow, Puzzle puzzle)
Methods inherited from class net.sf.kagiru.navigation.NavigationWrapper
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SimpleNavigationWrapper()
Method Detail


protected int wrapColumn(int rawColumn,
                         int rawRow,
                         Puzzle puzzle)
Specified by:
wrapColumn in class NavigationWrapper


protected int wrapRow(int rawColumn,
                      int rawRow,
                      Puzzle puzzle)
Specified by:
wrapRow in class NavigationWrapper

This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.