- save() - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Saves the current state of the game in
Config.SAVE_FILE
located in the sudoku's
configuration directory.
- saveItem - Variable in class de.yourwebs.sudoku.gui.SudokuMenu
-
Item to save am game's state
- saveProperties() - Method in class de.yourwebs.sudoku.PropertiesManager
-
- saveProperties(Properties) - Method in class de.yourwebs.sudoku.PropertiesManager
-
- setBackground(Color, Color) - Method in class de.yourwebs.sudoku.gui.Element
-
Sets the background color to the puzzle text field and to the hint label.
- setBorderColor(Color) - Method in class de.yourwebs.sudoku.gui.Element
-
- setCol(int) - Method in class de.yourwebs.sudoku.gui.Element
-
- setComponentSizeAndPosition(JFrame) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Sets the component's size depending on
SudokuGUI.faktor
and centers it on
the screen.
- setContrast(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Set the accessible mode with high contrast
- setDifficulty(int) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
- setElementsDefaultColors() - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Controlls the changing of the 9 square's background color.
- setFaktor(int) - Method in class de.yourwebs.sudoku.gui.Element
-
- setFaktor(int) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Sets the factor for resizing the the game's gui including the font scale
of the elements.
- setFGColor(Color) - Method in class de.yourwebs.sudoku.gui.Element
-
- setFieldText(String) - Method in class de.yourwebs.sudoku.gui.Element
-
Sets the puzzle's number txt
on the text field.
- setFilledOutCellsLabelText(int, int) - Method in class de.yourwebs.sudoku.gui.StatusBar
-
Sets the number of empty cells to the status bar's cell label.
- setFocus(boolean) - Method in class de.yourwebs.sudoku.gui.HintLabel
-
- setFontWeight(int) - Method in class de.yourwebs.sudoku.gui.Element
-
Sets the font-weight of the colors.
- setFontWeight(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Controlls the game's font weight
- setForeground(Color, Color) - Method in class de.yourwebs.sudoku.gui.Element
-
Sets the foreground color to the puzzle text field and to the hint label.
- setHintMode(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Sets the game's mode.
- setMistakeCount(int) - Method in class de.yourwebs.sudoku.gui.StatusBar
-
Sets the number of mistakes to the status bar's mistake label
- setMistakeDelay(String) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Saves the time settings mistake hints are shown.
- setMistakeHint(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Display a hint if a false value is inserted
- setProperty(String, String) - Method in class de.yourwebs.sudoku.PropertiesManager
-
Adds a key-value-pair to the actual properties.
- setQuad(int) - Method in class de.yourwebs.sudoku.gui.Element
-
- setResultArray(byte[][]) - Method in class de.yourwebs.sudoku.SudokuEngine
-
- setRow(int) - Method in class de.yourwebs.sudoku.gui.Element
-
- setSelectionColor(Color) - Method in class de.yourwebs.sudoku.gui.Element
-
Sets the color of a selected field indidating either a mistake showing
two or more identical numbers in a row, column or square, or all similar
numbers in the whole game.
- setSliderValue(int, int) - Method in class de.yourwebs.sudoku.gui.StatusBar
-
Sets the value to the status bar's slider
- setSpeechPlayable(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
If true
while setting a number a sound is played speaking
the entered digit.
- setStartArray(byte[][]) - Method in class de.yourwebs.sudoku.SudokuEngine
-
- setSuccessSoundPlayable(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
If true
a sound is played, when the game is finished
successfully.
- setText(String) - Method in class de.yourwebs.sudoku.gui.NumberTextField
-
Sets txt
to the component only if it matches the regular
expression [0-9]+
.
- setTooltipFont() - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
- setValueToStartArrayPos(int, int, byte) - Method in class de.yourwebs.sudoku.SudokuEngine
-
- showSolution() - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
- showSuccess(String) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
If enabled a sound is played when the correct number is written or if the
game ist finished correctly.
- slider - Variable in class de.yourwebs.sudoku.gui.OptionDialog
-
A slider to adjust the size of the game
- slider - Variable in class de.yourwebs.sudoku.gui.StatusBar
-
- solutionItem - Variable in class de.yourwebs.sudoku.gui.SudokuMenu
-
Item to show a separate window displaying the solution of the game
- speechBox - Variable in class de.yourwebs.sudoku.gui.OptionDialog
-
If the checkbox is selected, a spoken sound is played when a number is
entered
- squareRowElements - Variable in class de.yourwebs.sudoku.gui.SudokuGUI
-
Number of cells in a square's row or column.
- squareRowElements - Variable in class de.yourwebs.sudoku.SudokuEngine
-
Number of elements in one row or column of a square
- startArray - Variable in class de.yourwebs.sudoku.SudokuEngine
-
Partially filled array with numbers on startup (working array).
- stateChanged(ChangeEvent) - Method in class de.yourwebs.sudoku.gui.OptionDialog
-
- StatusBar - Class in de.yourwebs.sudoku.gui
-
The status bar of the sudoku game
- StatusBar(SudokuGUI, int) - Constructor for class de.yourwebs.sudoku.gui.StatusBar
-
Provides an status bar with multiple functionalities
- statusBar - Variable in class de.yourwebs.sudoku.gui.SudokuGUI
-
The game's status bar
- SuccessDialog - Class in de.yourwebs.sudoku.gui
-
A dialog to be shown when the game is finished successfully.
- SuccessDialog(SudokuGUI) - Constructor for class de.yourwebs.sudoku.gui.SuccessDialog
-
- successSoundBox - Variable in class de.yourwebs.sudoku.gui.OptionDialog
-
If the checkbox is selected, a sound is played when a game is finished
successfully.
- Sudoku - Class in <Unnamed>
-
An implementation of the well known number puzzle
- Sudoku() - Constructor for class Sudoku
-
- SudokuComponentAdapter - Class in de.yourwebs.sudoku.gui
-
Used for resizing the game's gui
- SudokuComponentAdapter(SudokuGUI) - Constructor for class de.yourwebs.sudoku.gui.SudokuComponentAdapter
-
- SudokuConstants - Interface in de.yourwebs.sudoku
-
The interface provides the constant settings of the game
- SudokuEngine - Class in de.yourwebs.sudoku
-
Business logic of the game TODO In Singleton wandeln
- SudokuEngine() - Constructor for class de.yourwebs.sudoku.SudokuEngine
-
- SudokuGUI - Class in de.yourwebs.sudoku.gui
-
The class provides the main window of the well known sudoku puzzle.
- SudokuGUI() - Constructor for class de.yourwebs.sudoku.gui.SudokuGUI
-
- SudokuMenu - Class in de.yourwebs.sudoku.gui
-
Provides a menu bar
- SudokuMenu(SudokuGUI) - Constructor for class de.yourwebs.sudoku.gui.SudokuMenu
-
- switchContrastColors(boolean) - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Changes the background and foreground color depending on the state of the
contrast mode.
- switchView() - Method in class de.yourwebs.sudoku.gui.SudokuGUI
-
Switches the element's view from number view to comment view and vice
versa.