|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eriksilkensen.sudoku.SudokuBoardPrinter
public class SudokuBoardPrinter
SudokuBoardPrinter prints Sudoku Boards by taking advantage of the HTMLPrinter's provided functionality. It uses the template HTML file to generate a printable WebBrowser and then
| Constructor Summary | |
|---|---|
SudokuBoardPrinter()
Default constructor for SudokuBoardPrinter. |
|
| Method Summary | |
|---|---|
void |
print(Board board)
Prepares the JEditorPane by inserting the Board's information into the correct positions marked inside the template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SudokuBoardPrinter()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void print(Board board)
throws java.awt.print.PrinterException,
java.io.IOException
java.awt.print.PrinterException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||