GridControllerImpl
blockudoku.controllers.mediatorImpl.GridControllerImpl
class GridControllerImpl(focusManager: FocusManager, gridConfig: GridConfig) extends GridController
Attributes
- Graph
-
- Supertypes
-
trait GridControllertrait GridCollectortrait Observableclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- GridController
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Attempt to set the given Element at the given position.
Attempt to set the given Element at the given position.
Value parameters
- element
-
Element to set.
- selectedPos
-
Index of the tile to set the Element at.
Attributes
- Returns
-
True if the Element was successfully set, false otherwise.
Inherited methods
Adds an observer to the list of observers.
Adds an observer to the list of observers.
Value parameters
- observer
-
The observer to add.
Attributes
- Inherited from:
- Observable
Creates a snapshot of the current state.
Gets the current Grid.
Gets the current Grid.
Attributes
- Returns
-
the current Grid.
- Definition Classes
- Inherited from:
- GridController
Attributes
- Inherited from:
- GridController
Invokes the update method of all observers.
Set the given Tiles empty.
Set the given Tiles empty.
Value parameters
- set
-
Tiles to set empty.
Attributes
- Inherited from:
- GridController
Reverts the state to the most recent snapshot.
Inherited fields
Recorded snapshots with the most recent snapshot at the top.
Recorded snapshots with the most recent snapshot at the top.
Attributes
- Inherited from:
- Snapshotable
In this article