Tue, 28 Jul 2020 14:44:48 +0200
adds solver test
3
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
1 | /* |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
2 | * Copyright 2013 Mike Becker. All rights reserved. |
10 | 3 | * |
3
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
4 | * Redistribution and use in source and binary forms, with or without |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
5 | * modification, are permitted provided that the following conditions are met: |
10 | 6 | * |
3
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
7 | * 1. Redistributions of source code must retain the above copyright |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
8 | * notice, this list of conditions and the following disclaimer. |
10 | 9 | * |
3
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
10 | * 2. Redistributions in binary form must reproduce the above copyright |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
11 | * notice, this list of conditions and the following disclaimer in the |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
12 | * documentation and/or other materials provided with the distribution. |
10 | 13 | * |
3
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
14 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
15 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
18 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
19 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
20 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
21 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
22 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
23 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
24 | * POSSIBILITY OF SUCH DAMAGE. |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
25 | */ |
ed931970b4ac
added license and main menu
Mike Becker <universe@uap-core.de>
parents:
2
diff
changeset
|
26 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | package de.uapcore.sudoku; |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | |
9 | 29 | import javax.swing.*; |
30 | import java.awt.*; | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | import java.awt.image.BufferedImage; |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | /** |
10 | 34 | * A panel rendering the Sudoku field. |
35 | * <p> | |
36 | * Cells are identified by zero-based indices from top-left to bottom-right. | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | */ |
2 | 38 | public final class Field extends JPanel { |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
39 | private final SudokuTextField[][] cells; |
10 | 40 | |
41 | /** | |
42 | * Constructs a new 9x9 Sudoku grid. | |
43 | */ | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | public Field() { |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | setBackground(Color.WHITE); |
10 | 46 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | setLayout(new GridBagLayout()); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
48 | GridBagConstraints c = new GridBagConstraints(); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | c.insets = new Insets(5, 5, 5, 5); |
10 | 50 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | cells = new SudokuTextField[9][9]; |
10 | 52 | for (int x = 0; x < 9; x++) { |
53 | for (int y = 0; y < 9; y++) { | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
54 | cells[x][y] = new SudokuTextField(); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
55 | c.gridx = x; |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
56 | c.gridy = y; |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | add(cells[x][y], c); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | |
10 | 62 | /** |
63 | * Paints the grid and all contained cells. | |
64 | * | |
65 | * @param graphics the graphics context | |
66 | */ | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | @Override |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | public void paint(Graphics graphics) { |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | final int w = getWidth(); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | final int h = getHeight(); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | final int cw = w / 9; |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | final int ch = h / 9; |
10 | 73 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | Graphics2D g = img.createGraphics(); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | g.setBackground(Color.WHITE); |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | g.clearRect(0, 0, w, h); |
10 | 78 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | g.setColor(Color.BLACK); |
10 | 80 | g.drawRect(1, 1, w - 2, h - 2); |
81 | g.drawRect(2, 2, w - 4, h - 4); | |
82 | for (int x = cw; x < w; x += cw) { | |
83 | for (int y = ch; y < h; y += ch) { | |
84 | g.drawLine(x, 2, x, h - 2); | |
85 | g.drawLine(2, y, w - 2, y); | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | if ((x / cw) % 3 == 0) { |
10 | 87 | g.drawLine(x + 1, 2, x + 1, h - 2); |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | if ((y / ch) % 3 == 0) { |
10 | 90 | g.drawLine(2, y + 1, w - 2, y + 1); |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | } |
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | } |
10 | 94 | |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | graphics.drawImage(img, 0, 0, this); |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
96 | super.paintChildren(graphics); |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | } |
10 | 98 | |
99 | /** | |
100 | * Checks whether a cell is empty | |
101 | * | |
102 | * @param x horizontal position | |
103 | * @param y vertical position | |
104 | * @return true if the cell is empty, false otherwise | |
105 | */ | |
7 | 106 | public boolean isCellEmpty(int x, int y) { |
107 | return getCellValue(x, y) == 0; | |
108 | } | |
10 | 109 | |
110 | /** | |
111 | * Returns value of a specific cell. | |
112 | * | |
113 | * @param x horizontal position | |
114 | * @param y vertical position | |
115 | * @return the cell's value | |
116 | */ | |
2 | 117 | public int getCellValue(int x, int y) { |
118 | return cells[x][y].getValue(); | |
119 | } | |
10 | 120 | |
121 | /** | |
122 | * Sets the value of a specific cell. | |
123 | * | |
124 | * @param x horizontal position | |
125 | * @param y vertical position | |
126 | * @param v the cells value | |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
127 | * @throws IllegalArgumentException if v is not between 0 and 9 |
10 | 128 | */ |
2 | 129 | public void setCellValue(int x, int y, int v) { |
130 | cells[x][y].setValue(v); | |
131 | } | |
10 | 132 | |
133 | /** | |
134 | * Clears the value of a specific cell. | |
135 | * | |
136 | * @param x horizontal position | |
137 | * @param y vertical position | |
138 | */ | |
7 | 139 | public void clearCellValue(int x, int y) { |
140 | setCellValue(x, y, 0); | |
141 | } | |
10 | 142 | |
143 | /** | |
144 | * Sets the modified state of a specific cell. | |
145 | * | |
146 | * @param x horizontal position | |
147 | * @param y vertical position | |
148 | * @param modified the modified state | |
149 | */ | |
7 | 150 | public void setCellModified(int x, int y, boolean modified) { |
151 | cells[x][y].setModified(modified); | |
152 | } | |
10 | 153 | |
154 | /** | |
22
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
155 | * Checks the modified state of a specific cell. |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
156 | * |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
157 | * @param x horizontal position |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
158 | * @param y vertical position |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
159 | * @return the modified state |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
160 | */ |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
161 | public boolean isCellModified(int x, int y) { |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
162 | return cells[x][y].isModified(); |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
163 | } |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
164 | |
06170a0be62a
bugfix: modified state is reset even when saving fails + more tests
Mike Becker <universe@uap-core.de>
parents:
12
diff
changeset
|
165 | /** |
10 | 166 | * Sets the modified state of all cells. |
167 | * | |
168 | * @param modified the modified state | |
169 | */ | |
2 | 170 | public void setAllCellsModified(boolean modified) { |
10 | 171 | for (int x = 0; x < 9; x++) { |
172 | for (int y = 0; y < 9; y++) { | |
2 | 173 | cells[x][y].setModified(modified); |
174 | } | |
175 | } | |
176 | } | |
10 | 177 | |
178 | /** | |
179 | * Checks whether any cell is modified. | |
180 | * | |
181 | * @return true if any cell is modified, false otherwise | |
182 | */ | |
2 | 183 | public boolean isAnyCellModified() { |
10 | 184 | for (int x = 0; x < 9; x++) { |
185 | for (int y = 0; y < 9; y++) { | |
2 | 186 | if (cells[x][y].isModified()) { |
187 | return true; | |
188 | } | |
189 | } | |
190 | } | |
191 | return false; | |
192 | } | |
10 | 193 | |
194 | /** | |
195 | * Clears all cells. | |
196 | */ | |
4 | 197 | public void clear() { |
10 | 198 | for (int x = 0; x < 9; x++) { |
199 | for (int y = 0; y < 9; y++) { | |
4 | 200 | cells[x][y].setValue(0); |
201 | } | |
202 | } | |
203 | } | |
10 | 204 | |
205 | /** | |
206 | * Returns a square identified by square coordinates. | |
207 | * <p> | |
208 | * Cells within the square are identified by the same coordinate system. | |
209 | * | |
210 | * @param x horizontal position from 0 to 2 | |
211 | * @param y vertical position from 0 to 2 | |
212 | * @return a two-dimensional array containing the square cell values | |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
213 | * @throws IllegalArgumentException if the coordinates are out of bounds |
10 | 214 | */ |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
215 | public int[][] getSquare(int x, int y) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
216 | if (x < 0 || x > 2 || y < 0 || y > 2) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
217 | throw new IllegalArgumentException("Invalid square coordinates"); |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
218 | } |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
219 | int[][] square = new int[3][3]; |
10 | 220 | |
221 | for (int u = 0; u < 3; u++) { | |
222 | for (int v = 0; v < 3; v++) { | |
223 | square[u][v] = getCellValue(3 * x + u, 3 * y + v); | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
224 | } |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
225 | } |
10 | 226 | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
227 | return square; |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
228 | } |
10 | 229 | |
230 | /** | |
231 | * Returns an entire row. | |
232 | * | |
233 | * @param y the row position | |
234 | * @return an array containing the row values | |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
235 | * @throws IllegalArgumentException if y is not between 0 and 8 |
10 | 236 | */ |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
237 | public int[] getRow(int y) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
238 | if (y < 0 || y > 8) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
239 | throw new IllegalArgumentException("Invalid row number"); |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
240 | } |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
241 | int[] row = new int[9]; |
10 | 242 | |
243 | for (int x = 0; x < 9; x++) { | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
244 | row[x] = getCellValue(x, y); |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
245 | } |
10 | 246 | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
247 | return row; |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
248 | } |
10 | 249 | |
250 | /** | |
251 | * Returns an entire column | |
252 | * | |
253 | * @param x the column position | |
254 | * @return an array containing the column values | |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
255 | * @throws IllegalArgumentException if x is not between 0 and 8 |
10 | 256 | */ |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
257 | public int[] getColumn(int x) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
258 | if (x < 0 || x > 8) { |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
259 | throw new IllegalArgumentException("Invalid column number"); |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
260 | } |
12
1c62c6009161
fixes some code inspection issues
Mike Becker <universe@uap-core.de>
parents:
10
diff
changeset
|
261 | int[] column = new int[9]; |
10 | 262 | |
263 | for (int y = 0; y < 9; y++) { | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
264 | column[y] = getCellValue(x, y); |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
265 | } |
10 | 266 | |
5
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
267 | return column; |
8ddf4af937d7
moved field methods to field class + added (parts of the) document handler
Mike Becker <universe@uap-core.de>
parents:
4
diff
changeset
|
268 | } |
1
f1d7de36b01e
init project + editable sudoku field
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
269 | } |