|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Board | |
|---|---|
| com.eriksilkensen.sudoku | |
| Uses of Board in com.eriksilkensen.sudoku |
|---|
| Methods in com.eriksilkensen.sudoku that return Board | |
|---|---|
Board |
Board.clear()
Clears the Board by resetting all of its Cells to value 0 and type Player |
Board |
WebBoardFactory.createBoard(BoardDifficulties difficulty)
createBoard() implementation which just delegates the actual creation to the private makeBoard() method If an Exception is encountered a stack trace is printed to standard output and then a blank, default Board is created and returned. |
Board |
BoardFactory.createBoard(BoardDifficulties difficulty)
|
Board |
InventoryBoardFactory.createBoard(BoardDifficulties difficulty)
Creates the Board |
Board |
TextFileBoardFactory.createBoard(BoardDifficulties difficulty)
Pops up a JOptionPane asking for the Board's text file, then creates a Board from it. |
Board |
GeneratingBoardFactory.createBoard(BoardDifficulties difficulty)
This method should not be overridden by subclassing Factories and so it is marked final. |
Board |
Generator.generateBoard()
Generates and returns a fully-filled Board object using the recursive generate() method |
Board |
BoardInventory.get(BoardDifficulties difficulty)
Gets a random Board at the specified difficulty. |
Board |
BoardInventory.get(int ID)
Gets a Board with the specified ID number. |
Board |
SudokuModel.getBoard()
Returns the current board |
Board |
SudokuControl.getBoard()
Returns the current Board in use by the Model |
Board |
BoardInventoryHelper.getBoard(BoardDifficulties difficulty)
Returns a Board at the specified difficulty level |
Board |
BoardInventoryHelper.getBoard(int ID)
Gets the Board with the specified ID number |
Board |
SudokuModel.getSolution()
Returns the current board's solution |
Board |
SudokuControl.getSolution()
Returns the solution to the current Board in use by the Model |
Board |
GeneratingBoardFactory.leaveClues(int numOfClues,
Board board)
leaveClues() attempts to remove all Cells from a Board leaving the specified number of 'clues,' but isn't accurate enough to be used yet. |
Board |
TestBoardFactory.makePuzzle(Board solution)
|
Board |
Board.resetBoard(Board board)
Resets the supplied Board and returns it |
Board |
BackTrackingStrategy.solve(Board board)
Implented from SolvingStrategy, solves the specified Board |
Board |
Solver.solve(Board board)
Solves the Board and returns it |
| Methods in com.eriksilkensen.sudoku that return types with arguments of type Board | |
|---|---|
java.util.ArrayList<Board> |
BoardInventory.getEasyBoards()
Returns the Easy Boards |
java.util.ArrayList<Board> |
BoardInventory.getHardBoards()
Returns the Hard Boards |
java.util.ArrayList<Board> |
BoardInventory.getHarderBoards()
Returns the Harder Boards |
java.util.ArrayList<Board> |
BoardInventory.getMediumBoards()
Returns the Medium Boards |
java.util.ArrayList<Board> |
BoardInventory.getSuperEasyBoards()
Returns the Super Easy Boards |
java.util.ArrayList<Board> |
BoardInventory.getSuperHardBoards()
Returns the Super Hard Boards |
java.util.ArrayList<Board> |
BoardInventory.getVeryEasyBoards()
Returns the Very Easy Boards |
java.util.ArrayList<Board> |
BoardInventory.getVeryHardBoards()
Returns the Very Hard Boards |
| Methods in com.eriksilkensen.sudoku with parameters of type Board | |
|---|---|
void |
BoardInventory.add(Board board)
Adds a Board to the Inventory |
boolean |
GeneratingBoardFactory.attemptToRemoveCell(Cell cell,
Board board,
int row,
int col)
Determines the legality of attemption to remove a given Cell on the Given Board at the given location [row][col]. |
int |
BoardInventory.indexOf(Board board)
Returns the first index of the specified Board in the Inventory |
Board |
GeneratingBoardFactory.leaveClues(int numOfClues,
Board board)
leaveClues() attempts to remove all Cells from a Board leaving the specified number of 'clues,' but isn't accurate enough to be used yet. |
Board |
TestBoardFactory.makePuzzle(Board solution)
|
void |
SudokuModel.newGame(Board board)
Starts a new game using the supplied Board. |
void |
SudokuBoardPrinter.print(Board board)
Prepares the JEditorPane by inserting the Board's information into the correct positions marked inside the template. |
Board |
Board.resetBoard(Board board)
Resets the supplied Board and returns it |
Board |
BackTrackingStrategy.solve(Board board)
Implented from SolvingStrategy, solves the specified Board |
Board |
Solver.solve(Board board)
Solves the Board and returns it |
| Constructors in com.eriksilkensen.sudoku with parameters of type Board | |
|---|---|
Board(Board other)
Copy constructor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||