A B C D E F G H I K L M N O P Q R S T U V W 
All Classes All Packages

A

addButtonListener(MouseListener) - Method in class marc.nguyen.minesweeper.client.presentation.views.game.GamePanel
 
address - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
addScore(int) - Method in class marc.nguyen.minesweeper.common.data.models.Player
 

B

BaseMessage - Class in marc.nguyen.minesweeper.common.data.models
A simple message.
BaseMessage(String) - Constructor for class marc.nguyen.minesweeper.common.data.models.BaseMessage
 
BLANK - marc.nguyen.minesweeper.common.data.models.Tile.State
 
bombLeftText - Variable in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
broadcast(Object) - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
broadcastClose() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
broadcastEndGame() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
broadcastExcluding(Predicate<? super ClientModel>, Object) - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
broadcastListOfPlayer() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
build() - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
build() - Method in interface marc.nguyen.minesweeper.client.di.components.GameCreationComponent.Builder
 
build() - Method in interface marc.nguyen.minesweeper.client.di.components.LeaderboardComponent.Builder
 

C

changeCard(ItemEvent) - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
changeColorNameTextIfValid(boolean) - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
changedUpdate(DocumentEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.listeners.OnUpdate
 
clear - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
Client - Class in marc.nguyen.minesweeper.client
Main Client Entrypoint.
Client() - Constructor for class marc.nguyen.minesweeper.client.Client
 
ClientModel - Class in marc.nguyen.minesweeper.server.models
 
ClientModel(Socket) - Constructor for class marc.nguyen.minesweeper.server.models.ClientModel
 
ClientWorkerRunnable - Class in marc.nguyen.minesweeper.server.api.workers
ServerWorkerRunnable handles the input from the client.
ClientWorkerRunnable(ClientModel, CommunicationHandler, Minefield, int, AtomicBoolean) - Constructor for class marc.nguyen.minesweeper.server.api.workers.ClientWorkerRunnable
 
close() - Method in class marc.nguyen.minesweeper.client.data.devices.ServerSocketDevice
Close socket, listener and thread.
close() - Method in class marc.nguyen.minesweeper.server.models.ClientModel
 
CommunicationHandler - Class in marc.nguyen.minesweeper.server.api
 
CommunicationHandler() - Constructor for class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
connect(InetAddress, int) - Method in class marc.nguyen.minesweeper.client.data.devices.ServerSocketDevice
 
Connect - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be able to connect to a Minesweeper server based on a port and an IP address.
Connect(Lazy<ServerSocketDevice>, Lazy<WatchServerTiles>, Lazy<FetchMinefield>, Lazy<WatchServerStartGame>, Lazy<WatchEndGameMessages>, Lazy<WatchServerPlayerList>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.Connect
 
Connect.Params - Class in marc.nguyen.minesweeper.client.domain.usecases
 
Connect.Result - Class in marc.nguyen.minesweeper.client.domain.usecases
 
Controller<M extends Model,​V extends View> - Interface in marc.nguyen.minesweeper.client.core.mvc
Controller used in the MVC pattern.
copyAndIncrementAdjacentMines() - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
Increase the number of adjacent mines.
copyWith(int) - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
copyWith(Tile.State) - Method in class marc.nguyen.minesweeper.common.data.models.Tile
Copy the Tile and change the state.
copyWith(Tile.State) - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
Copy the Tile and change the state.
copyWith(Tile.State) - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Mine
Copy the Tile and change the state.
countFlagsAndVisibleBombsOnField() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
create(int, int) - Method in class marc.nguyen.minesweeper.client.presentation.widgets.MineButton.Factory
 
create(GameCreationModel, GameCreationView) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameCreationController.Factory
 
create(GameModel, GameView) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController.Factory
 
create(Position) - Method in class marc.nguyen.minesweeper.client.presentation.widgets.MineButton.Factory
 
createTable() - Method in class marc.nguyen.minesweeper.client.data.database.HighScoreDaoSqlite
Create "settings" SQL table.
createTable() - Method in class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
Create "settings" SQL table.
CUSTOM - marc.nguyen.minesweeper.common.data.models.Level
 

D

DataModule - Class in marc.nguyen.minesweeper.client.di.modules
Dependencies from the Data Layer.
DataModule() - Constructor for class marc.nguyen.minesweeper.client.di.modules.DataModule
 
decrementScore() - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
delete(String) - Method in class marc.nguyen.minesweeper.client.data.repositories.SettingsRepositoryImpl
Delete the settings by name.
delete(String) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.SettingsRepository
Delete the settings by name.
deleteButton - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
deleteByName(String) - Method in interface marc.nguyen.minesweeper.client.data.database.SettingsDao
Delete a Settings from the DB based on the name.
deleteByName(String) - Method in class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
Delete a Settings from the DB based on the name.
DeleteSettings - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be able to delete a saved settings.
DeleteSettings(Lazy<SettingsRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.DeleteSettings
 
disableCustomSettings() - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
displayPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.GameView
 
DisplayPanel - Class in marc.nguyen.minesweeper.client.presentation.views.game
The panel with the score and mines.
DisplayPanel(Minefield) - Constructor for class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
dispose() - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
Closes every listeners
dispose() - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameCreationController
Closes every listeners
dispose() - Method in class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
dispose() - Method in class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
DomainModule - Class in marc.nguyen.minesweeper.client.di.modules
Dependencies from the domain layer.
DomainModule() - Constructor for class marc.nguyen.minesweeper.client.di.modules.DomainModule
 

E

EASY - marc.nguyen.minesweeper.common.data.models.Level
 
EASY - marc.nguyen.minesweeper.server.enums.LevelParams
 
editSettingsPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
 
EditSettingsPanel - Class in marc.nguyen.minesweeper.client.presentation.views.gamecreation
The panel where we edit the settings.
EditSettingsPanel() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
Empty(int, int) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
Empty(Position) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
Empty(Position, Tile.State, int) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
enableCustomSettings() - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
enableLoadAndDeleteIfValid(boolean) - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
enableSaveButtonIfValid(boolean) - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
EndGameMessage - Class in marc.nguyen.minesweeper.common.data.models
An end game message
EndGameMessage(String) - Constructor for class marc.nguyen.minesweeper.common.data.models.EndGameMessage
 
endGameMessage$ - Variable in class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 
endGameMessage$ - Variable in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Stream of end game message.
endGameMessages(Observable<EndGameMessage>) - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
equals(Object) - Method in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
equals(Object) - Method in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.BaseMessage
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.Pair
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
equals(Object) - Method in class marc.nguyen.minesweeper.common.data.models.Tile
 
execute(String) - Method in class marc.nguyen.minesweeper.client.domain.usecases.DeleteSettings
 
execute(String) - Method in class marc.nguyen.minesweeper.client.domain.usecases.LoadSettings
 
execute(HighScore) - Method in class marc.nguyen.minesweeper.client.domain.usecases.SaveScore
 
execute(Settings) - Method in class marc.nguyen.minesweeper.client.domain.usecases.SaveSettings
 
execute(Connect.Params) - Method in class marc.nguyen.minesweeper.client.domain.usecases.Connect
 
execute(Player) - Method in class marc.nguyen.minesweeper.client.domain.usecases.SendPlayerToServer
 
execute(Position) - Method in class marc.nguyen.minesweeper.client.domain.usecases.UpdateServerTile
 
execute(I) - Method in interface marc.nguyen.minesweeper.client.core.usecases.UseCase
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.connect.FetchMinefield
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchEndGameMessages
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerPlayerList
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerStartGame
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerTiles
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.FetchAllScores
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.FetchAllSettingsName
 
execute(Void) - Method in class marc.nguyen.minesweeper.client.domain.usecases.Quit
 
executor - Static variable in class marc.nguyen.minesweeper.client.core.IO
 
executor - Static variable in class marc.nguyen.minesweeper.server.core.IO
 
expose(Position) - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Expose a tile if Empty.
exposeAllMines() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
exposed - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
EXPOSED - marc.nguyen.minesweeper.common.data.models.Tile.State
 
EXPOSED_MINE - marc.nguyen.minesweeper.common.data.models.Tile.State
 
exposed0 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed1 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed2 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed3 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed4 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed5 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed6 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed7 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposed8 - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
exposedMine - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 

F

Factory(Lazy<Connect>, Lazy<LoadSettings>, Lazy<SaveSettings>, Lazy<DeleteSettings>, Lazy<FetchAllSettingsName>, Lazy<Quit>, Lazy<SendPlayerToServer>, Provider<GameComponent.Builder>) - Constructor for class marc.nguyen.minesweeper.client.presentation.controllers.GameCreationController.Factory
 
Factory(Lazy<UpdateServerTile>, Lazy<SaveScore>, Lazy<Quit>) - Constructor for class marc.nguyen.minesweeper.client.presentation.controllers.GameController.Factory
 
Factory(ResourcesLoader) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.MineButton.Factory
 
fetch() - Method in class marc.nguyen.minesweeper.client.data.repositories.MinefieldRepositoryImpl
Fetch a minefield.
fetch() - Method in interface marc.nguyen.minesweeper.client.domain.repositories.MinefieldRepository
Fetch a minefield.
FetchAllScores - Class in marc.nguyen.minesweeper.client.domain.usecases
 
FetchAllScores(Lazy<HighScoreRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.FetchAllScores
 
FetchAllSettingsName - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be able to see all the settings available.
FetchAllSettingsName(Lazy<SettingsRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.FetchAllSettingsName
 
fetchBestPlayer() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
FetchMinefield - Class in marc.nguyen.minesweeper.client.domain.usecases.connect
A user should be able to download the minefield of the server.
FetchMinefield(Lazy<MinefieldRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.connect.FetchMinefield
 
fetchServerPlayerList() - Method in class marc.nguyen.minesweeper.client.data.repositories.PlayerRepositoryImpl
 
fetchServerPlayerList() - Method in interface marc.nguyen.minesweeper.client.domain.repositories.PlayerRepository
 
findAll() - Method in interface marc.nguyen.minesweeper.client.data.database.HighScoreDao
Find all the HighScore.
findAll() - Method in class marc.nguyen.minesweeper.client.data.database.HighScoreDaoSqlite
 
findAll() - Method in interface marc.nguyen.minesweeper.client.data.database.SettingsDao
Find all the Settings.
findAll() - Method in class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
Find all the Settings.
findAll() - Method in class marc.nguyen.minesweeper.client.data.repositories.HighScoreRepositoryImpl
 
findAll() - Method in class marc.nguyen.minesweeper.client.data.repositories.SettingsRepositoryImpl
Get the list of Settings.
findAll() - Method in interface marc.nguyen.minesweeper.client.domain.repositories.HighScoreRepository
Get all the HighScore of the local database.
findAll() - Method in interface marc.nguyen.minesweeper.client.domain.repositories.SettingsRepository
Get the list of Settings.
findByKey(String) - Method in class marc.nguyen.minesweeper.client.data.repositories.SettingsRepositoryImpl
Find the settings by name.
findByKey(String) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.SettingsRepository
Find the settings by name.
findByName(String) - Method in interface marc.nguyen.minesweeper.client.data.database.SettingsDao
 
findByName(String) - Method in class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
first - Variable in class marc.nguyen.minesweeper.common.data.models.Pair
 
flag - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
flag(Tile) - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Switch the state of a tile to FLAG or BLANK.
FLAG - marc.nguyen.minesweeper.common.data.models.Tile.State
 
fromEntity(Settings) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 

G

GameComponent - Interface in marc.nguyen.minesweeper.client.di.components
Dagger Component used for the Game Frame.
GameComponent.Builder - Interface in marc.nguyen.minesweeper.client.di.components
 
GameController - Class in marc.nguyen.minesweeper.client.presentation.controllers
The Game Controller.
GameController(Lazy<UpdateServerTile>, Lazy<SaveScore>, Lazy<Quit>, GameModel, GameView) - Constructor for class marc.nguyen.minesweeper.client.presentation.controllers.GameController
 
GameController.Factory - Class in marc.nguyen.minesweeper.client.presentation.controllers
Factory used for assisted dependencies injection.
GameCreationComponent - Interface in marc.nguyen.minesweeper.client.di.components
Dagger Component used for the Game Creation Dialog.
GameCreationComponent.Builder - Interface in marc.nguyen.minesweeper.client.di.components
 
GameCreationController - Class in marc.nguyen.minesweeper.client.presentation.controllers
The Game Creation Controller.
GameCreationController(Lazy<Connect>, Lazy<LoadSettings>, Lazy<SaveSettings>, Lazy<DeleteSettings>, Lazy<FetchAllSettingsName>, Lazy<Quit>, Lazy<SendPlayerToServer>, Provider<GameComponent.Builder>, GameCreationModel, GameCreationView) - Constructor for class marc.nguyen.minesweeper.client.presentation.controllers.GameCreationController
 
GameCreationController.Factory - Class in marc.nguyen.minesweeper.client.presentation.controllers
Factory used for assisted dependencies injection.
gameCreationDialog() - Method in interface marc.nguyen.minesweeper.client.di.components.GameCreationComponent
 
GameCreationFrame - Class in marc.nguyen.minesweeper.client.presentation.views
The Game Creation Frame.
GameCreationFrame(GameCreationView, GameCreationModel, MainMenuBar, GameCreationController.Factory, ResourcesLoader) - Constructor for class marc.nguyen.minesweeper.client.presentation.views.GameCreationFrame
 
GameCreationModel - Class in marc.nguyen.minesweeper.client.presentation.models
The Game Creation Model.
GameCreationModel() - Constructor for class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
GameCreationModule - Class in marc.nguyen.minesweeper.client.di.modules
Provides the dependencies for the GameCreation MVC.
GameCreationModule() - Constructor for class marc.nguyen.minesweeper.client.di.modules.GameCreationModule
 
GameCreationView - Class in marc.nguyen.minesweeper.client.presentation.views
The Game Creation View.
GameCreationView() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
 
gameFrame() - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent
 
GameFrame - Class in marc.nguyen.minesweeper.client.presentation.views
The Game Frame.
GameFrame(ResourcesLoader, GameMenuBar, GameView, GameModel, GameController.Factory) - Constructor for class marc.nguyen.minesweeper.client.presentation.views.GameFrame
 
GameMenuBar - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
GameMenuBar(Lazy<Quit>) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.GameMenuBar
 
GameMode - Enum in marc.nguyen.minesweeper.client.domain.entities
Available GameModes.
gameModeChoices - Static variable in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
gameModeComboBox - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
GameModel - Class in marc.nguyen.minesweeper.client.presentation.models
The Game Model.
GameModel(Minefield, Player, Observable<Position>, Observable<EndGameMessage>, Observable<List<Player>>) - Constructor for class marc.nguyen.minesweeper.client.presentation.models.GameModel
 
GameModule - Class in marc.nguyen.minesweeper.client.di.modules
Provides the dependencies for the Game MVC.
GameModule() - Constructor for class marc.nguyen.minesweeper.client.di.modules.GameModule
 
gamePanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.GameView
 
GamePanel - Class in marc.nguyen.minesweeper.client.presentation.views.game
THE game panel.
GamePanel(Minefield, ResourcesLoader) - Constructor for class marc.nguyen.minesweeper.client.presentation.views.game.GamePanel
 
GameServer - Class in marc.nguyen.minesweeper.server.api
Implementation of the Server.
GameServer(Minefield, int, long) - Constructor for class marc.nguyen.minesweeper.server.api.GameServer
 
gameSettingsPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
GameSettingsPanel - Class in marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings
Settings Form about the game to be created.
GameSettingsPanel() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
GameView - Class in marc.nguyen.minesweeper.client.presentation.views
The Game View.
GameView(Minefield, ResourcesLoader) - Constructor for class marc.nguyen.minesweeper.client.presentation.views.GameView
 
get(int, int) - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Get a tile from x and y coordinates.
get(Position) - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Get a tile from x and y coordinates.
getAddress() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getColumnCount() - Method in class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
getColumnCount() - Method in class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
getColumnName(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
getColumnName(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
getHeight() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getHeight() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
getInetAddress() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getInputStream() - Method in class marc.nguyen.minesweeper.server.models.ClientModel
 
getLength() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getLength() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
getLevel() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getMines() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getMinesOnField() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Get the number of mines on the field.
getMode() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getNeighborMinesCount() - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
Get the number of adjacent mines of the Tile.Empty.
getNeighborsTilesIn(Tile[][]) - Method in class marc.nguyen.minesweeper.common.data.models.Tile
Look for the neighbor based on the indices stored in this object in a 2D Array of tiles.
getObservable() - Method in class marc.nguyen.minesweeper.client.data.devices.ServerSocketDevice
 
getOutputStream() - Method in class marc.nguyen.minesweeper.server.models.ClientModel
 
getPlayer() - Method in class marc.nguyen.minesweeper.server.models.ClientModel
 
getPlayerName() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getPlayers() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
getPort() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getRowCount() - Method in class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
getRowCount() - Method in class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
getScore() - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
getSettingsName() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
getState() - Method in class marc.nguyen.minesweeper.common.data.models.Tile
Get the State of the Tile.
getTime() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Get the time of the game.
getValueAt(int, int) - Method in class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
getValueAt(int, int) - Method in class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
getX() - Method in class marc.nguyen.minesweeper.common.data.models.Position
 
getX() - Method in class marc.nguyen.minesweeper.common.data.models.Tile
 
getY() - Method in class marc.nguyen.minesweeper.common.data.models.Position
 
getY() - Method in class marc.nguyen.minesweeper.common.data.models.Tile
 

H

HARD - marc.nguyen.minesweeper.common.data.models.Level
 
HARD - marc.nguyen.minesweeper.server.enums.LevelParams
 
hasEnded() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Check Winning and Losing condition.
hashCode() - Method in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
hashCode() - Method in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.BaseMessage
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.Pair
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
hashCode() - Method in class marc.nguyen.minesweeper.common.data.models.Tile
 
height - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
height - Variable in enum marc.nguyen.minesweeper.common.data.models.Level
 
heightSpinner - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
HighScore - Class in marc.nguyen.minesweeper.client.domain.entities
 
HighScore(String, int, int, int, int) - Constructor for class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
HighScore(Player, Settings) - Constructor for class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
HighScore(Player, Minefield) - Constructor for class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
HighScoreDao - Interface in marc.nguyen.minesweeper.client.data.database
 
HighScoreDaoSqlite - Class in marc.nguyen.minesweeper.client.data.database
 
HighScoreDaoSqlite(Lazy<LocalDataSource>) - Constructor for class marc.nguyen.minesweeper.client.data.database.HighScoreDaoSqlite
 
HighScoreRepository - Interface in marc.nguyen.minesweeper.client.domain.repositories
HighScore Repository.
HighScoreRepositoryImpl - Class in marc.nguyen.minesweeper.client.data.repositories
 
HighScoreRepositoryImpl(Lazy<HighScoreDao>) - Constructor for class marc.nguyen.minesweeper.client.data.repositories.HighScoreRepositoryImpl
 
HighScoreTableModel - Class in marc.nguyen.minesweeper.client.presentation.models
 
HighScoreTableModel(Observable<List<HighScore>>) - Constructor for class marc.nguyen.minesweeper.client.presentation.models.HighScoreTableModel
 
HIT_MINE - marc.nguyen.minesweeper.common.data.models.Tile.State
 
hitMine - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 

I

incrementScore() - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
incrementTime() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Increment the counter.
initialMinefield - Variable in class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 
insert(HighScore) - Method in interface marc.nguyen.minesweeper.client.data.database.HighScoreDao
Insert a HighScore in the DB.
insert(HighScore) - Method in class marc.nguyen.minesweeper.client.data.database.HighScoreDaoSqlite
 
insert(Settings) - Method in interface marc.nguyen.minesweeper.client.data.database.SettingsDao
Insert a Settings in the DB.
insert(Settings) - Method in class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
Insert a Settings in the DB.
insertUpdate(DocumentEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.listeners.OnUpdate
 
invokeErrorDialog(String) - Method in class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
 
invokeGameEndedDialog() - Method in class marc.nguyen.minesweeper.client.presentation.views.GameView
 
invokeGameEndedDialog(String) - Method in class marc.nguyen.minesweeper.client.presentation.views.GameView
 
invokeGameWaitingToStartDialog(WindowListener, Observable<StartGame>) - Method in class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
Invoke a waiting dialog.
IO - Class in marc.nguyen.minesweeper.client.core
Custom IO Threads for the Client.
IO - Class in marc.nguyen.minesweeper.server.core
Custom IO Threads for the Server.
IO() - Constructor for class marc.nguyen.minesweeper.client.core.IO
 
IO() - Constructor for class marc.nguyen.minesweeper.server.core.IO
 
ipTextField - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.NetworkSettingsPanel
 
isSettingsNameValid() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
isSinglePlayer - Variable in class marc.nguyen.minesweeper.common.data.models.Minefield
 
isSinglePlayer() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 

K

kick(ClientModel) - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 
kickEveryone() - Method in class marc.nguyen.minesweeper.server.api.CommunicationHandler
 

L

leaderboardButton - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
LeaderboardComponent - Interface in marc.nguyen.minesweeper.client.di.components
Dagger Component used for the Game Creation Dialog.
LeaderboardComponent.Builder - Interface in marc.nguyen.minesweeper.client.di.components
 
leaderboardDialog() - Method in interface marc.nguyen.minesweeper.client.di.components.LeaderboardComponent
 
LeaderboardDialog - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
LeaderboardDialog(Lazy<FetchAllScores>) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.LeaderboardDialog
 
length - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
length - Variable in enum marc.nguyen.minesweeper.common.data.models.Level
 
lengthSpinner - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
level - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
Level - Enum in marc.nguyen.minesweeper.common.data.models
Level of difficulties for a minesweeper.
levelChoices - Static variable in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
levelComboBox - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
LevelParams - Enum in marc.nguyen.minesweeper.server.enums
 
loadButton - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
loadSettings(Settings) - Method in class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
 
LoadSettings - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be able to load a saved settings.
LoadSettings(Lazy<SettingsRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.LoadSettings
 
LocalDataSource - Interface in marc.nguyen.minesweeper.client.data.datasources
The local data source interface.
LocalDataSourceImpl - Class in marc.nguyen.minesweeper.client.data.datasources
Implementation of a local datasource based of SQLite 3.
LocalDataSourceImpl() - Constructor for class marc.nguyen.minesweeper.client.data.datasources.LocalDataSourceImpl
 
LocalDataSourceMock - Class in marc.nguyen.minesweeper.client.data.datasources
A Local Data Source used for unit testing.
LocalDataSourceMock() - Constructor for class marc.nguyen.minesweeper.client.data.datasources.LocalDataSourceMock
 

M

main(String[]) - Static method in class marc.nguyen.minesweeper.client.Client
 
main(String...) - Static method in class marc.nguyen.minesweeper.server.Server
 
MainMenuBar - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
MainMenuBar(Lazy<Quit>) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.MainMenuBar
 
makeCompactGrid(Container, int, int, int, int, int, int) - Static method in class marc.nguyen.minesweeper.client.presentation.utils.SpringUtilities
Aligns the first rows * cols components of parent in a grid.
makeGrid(Container, int, int, int, int, int, int) - Static method in class marc.nguyen.minesweeper.client.presentation.utils.SpringUtilities
Aligns the first rows * cols components of parent in a grid.
marc.nguyen.minesweeper.client - package marc.nguyen.minesweeper.client
Client-related classes.
marc.nguyen.minesweeper.client.core - package marc.nguyen.minesweeper.client.core
Contains utility classes.
marc.nguyen.minesweeper.client.core.mvc - package marc.nguyen.minesweeper.client.core.mvc
 
marc.nguyen.minesweeper.client.core.usecases - package marc.nguyen.minesweeper.client.core.usecases
 
marc.nguyen.minesweeper.client.data.database - package marc.nguyen.minesweeper.client.data.database
Contains classes related to the local database.
marc.nguyen.minesweeper.client.data.datasources - package marc.nguyen.minesweeper.client.data.datasources
Contains classes to retrieve data.
marc.nguyen.minesweeper.client.data.devices - package marc.nguyen.minesweeper.client.data.devices
Contains classes related to the device
marc.nguyen.minesweeper.client.data.repositories - package marc.nguyen.minesweeper.client.data.repositories
Contains implementations of repositories.
marc.nguyen.minesweeper.client.di.components - package marc.nguyen.minesweeper.client.di.components
 
marc.nguyen.minesweeper.client.di.modules - package marc.nguyen.minesweeper.client.di.modules
 
marc.nguyen.minesweeper.client.domain.entities - package marc.nguyen.minesweeper.client.domain.entities
Contains Domain Entities
marc.nguyen.minesweeper.client.domain.repositories - package marc.nguyen.minesweeper.client.domain.repositories
Contains repositories interfaces.
marc.nguyen.minesweeper.client.domain.usecases - package marc.nguyen.minesweeper.client.domain.usecases
Contains the use cases/interactors of the Clean Architecture.
marc.nguyen.minesweeper.client.domain.usecases.connect - package marc.nguyen.minesweeper.client.domain.usecases.connect
 
marc.nguyen.minesweeper.client.presentation.controllers - package marc.nguyen.minesweeper.client.presentation.controllers
The Controllers from the MVC Pattern.
marc.nguyen.minesweeper.client.presentation.controllers.listeners - package marc.nguyen.minesweeper.client.presentation.controllers.listeners
 
marc.nguyen.minesweeper.client.presentation.models - package marc.nguyen.minesweeper.client.presentation.models
The Models from the MVC Pattern.
marc.nguyen.minesweeper.client.presentation.models.game - package marc.nguyen.minesweeper.client.presentation.models.game
 
marc.nguyen.minesweeper.client.presentation.utils - package marc.nguyen.minesweeper.client.presentation.utils
 
marc.nguyen.minesweeper.client.presentation.views - package marc.nguyen.minesweeper.client.presentation.views
The Views from the MVC Pattern.
marc.nguyen.minesweeper.client.presentation.views.game - package marc.nguyen.minesweeper.client.presentation.views.game
 
marc.nguyen.minesweeper.client.presentation.views.gamecreation - package marc.nguyen.minesweeper.client.presentation.views.gamecreation
 
marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings - package marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings
 
marc.nguyen.minesweeper.client.presentation.widgets - package marc.nguyen.minesweeper.client.presentation.widgets
 
marc.nguyen.minesweeper.common.data.models - package marc.nguyen.minesweeper.common.data.models
Contains Models shared between client and server.
marc.nguyen.minesweeper.server - package marc.nguyen.minesweeper.server
Server-related classes.
marc.nguyen.minesweeper.server.api - package marc.nguyen.minesweeper.server.api
Server communication classes.
marc.nguyen.minesweeper.server.api.workers - package marc.nguyen.minesweeper.server.api.workers
 
marc.nguyen.minesweeper.server.core - package marc.nguyen.minesweeper.server.core
 
marc.nguyen.minesweeper.server.enums - package marc.nguyen.minesweeper.server.enums
 
marc.nguyen.minesweeper.server.models - package marc.nguyen.minesweeper.server.models
 
MEDIUM - marc.nguyen.minesweeper.common.data.models.Level
 
MEDIUM - marc.nguyen.minesweeper.server.enums.LevelParams
 
menu - Variable in class marc.nguyen.minesweeper.client.presentation.widgets.GameMenuBar
 
menu - Variable in class marc.nguyen.minesweeper.client.presentation.widgets.MainMenuBar
 
message - Variable in class marc.nguyen.minesweeper.common.data.models.BaseMessage
 
Message - Class in marc.nguyen.minesweeper.common.data.models
A simple message.
Message(String) - Constructor for class marc.nguyen.minesweeper.common.data.models.Message
 
Mine(int, int) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Mine
 
Mine(Position) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Mine
 
Mine(Position, Tile.State) - Constructor for class marc.nguyen.minesweeper.common.data.models.Tile.Mine
 
MineButton - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
MineButton(Position, ResourcesLoader) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.MineButton
 
MineButton.Factory - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
mineButtons - Variable in class marc.nguyen.minesweeper.client.presentation.views.game.GamePanel
 
minefield - Variable in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Current Minefield
minefield(Minefield) - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
Minefield - Class in marc.nguyen.minesweeper.common.data.models
A Minefield.
Minefield(int, int, boolean) - Constructor for class marc.nguyen.minesweeper.common.data.models.Minefield
An empty minefield based on length and height.
Minefield(int, int, int, boolean) - Constructor for class marc.nguyen.minesweeper.common.data.models.Minefield
A minefield based on length, height and the number of mines.
Minefield(Level, boolean) - Constructor for class marc.nguyen.minesweeper.common.data.models.Minefield
Generate a Minefield based on the difficulty.
minefieldHeight - Variable in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
minefieldLength - Variable in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
MinefieldRepository - Interface in marc.nguyen.minesweeper.client.domain.repositories
Minefield Repository.
MinefieldRepositoryImpl - Class in marc.nguyen.minesweeper.client.data.repositories
Implementation of the MinefieldRepository.
MinefieldRepositoryImpl(Lazy<ServerSocketDevice>) - Constructor for class marc.nguyen.minesweeper.client.data.repositories.MinefieldRepositoryImpl
 
mines - Variable in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
mines - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
mines - Variable in enum marc.nguyen.minesweeper.common.data.models.Level
 
minesLabel - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
minesSpinner - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
mode - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
Model - Interface in marc.nguyen.minesweeper.client.core.mvc
Model used in the MVC pattern.
mouseClicked(MouseEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
 
mouseEntered(MouseEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
 
mouseExited(MouseEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
 
mousePressed(MouseEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
 
mouseReleased(MouseEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.GameController
Flag a tile on right click.
MULTIPLAYER - marc.nguyen.minesweeper.client.domain.entities.GameMode
 

N

name - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
name - Variable in class marc.nguyen.minesweeper.common.data.models.Player
 
networkSettingsPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
NetworkSettingsPanel - Class in marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings
Network Form about the server to be connected.
NetworkSettingsPanel() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.NetworkSettingsPanel
 

O

OnUpdate - Class in marc.nguyen.minesweeper.client.presentation.controllers.listeners
A Document listener that execute a consumer of document events of every type (insert, remove, changed).
OnUpdate(Consumer<DocumentEvent>) - Constructor for class marc.nguyen.minesweeper.client.presentation.controllers.listeners.OnUpdate
 

P

paintComponent(Graphics) - Method in class marc.nguyen.minesweeper.client.presentation.widgets.MineButton
 
Pair<T1,​T2> - Class in marc.nguyen.minesweeper.common.data.models
 
Pair(T1, T2) - Constructor for class marc.nguyen.minesweeper.common.data.models.Pair
 
Params(InetAddress, int) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.Connect.Params
 
player - Variable in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Current Player
player(Player) - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
Player - Class in marc.nguyen.minesweeper.common.data.models
A simple Player object.
Player(String) - Constructor for class marc.nguyen.minesweeper.common.data.models.Player
 
Player(String, int) - Constructor for class marc.nguyen.minesweeper.common.data.models.Player
 
playerList(Observable<List<Player>>) - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
playerList$ - Variable in class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 
playerListPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.GameView
 
PlayerListPanel - Class in marc.nguyen.minesweeper.client.presentation.views.game
A panel showing the list of player their score.
PlayerListPanel() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.game.PlayerListPanel
 
playerName - Variable in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
playerName - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
PlayerRepository - Interface in marc.nguyen.minesweeper.client.domain.repositories
 
PlayerRepositoryImpl - Class in marc.nguyen.minesweeper.client.data.repositories
 
PlayerRepositoryImpl(Lazy<ServerSocketDevice>) - Constructor for class marc.nguyen.minesweeper.client.data.repositories.PlayerRepositoryImpl
 
playerScoreText - Variable in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
playerTable - Variable in class marc.nguyen.minesweeper.client.presentation.views.game.PlayerListPanel
 
playerTable - Variable in class marc.nguyen.minesweeper.client.presentation.widgets.LeaderboardDialog
 
playerTableModel - Variable in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Player list
PlayerTableModel - Class in marc.nguyen.minesweeper.client.presentation.models.game
 
PlayerTableModel(Observable<List<Player>>) - Constructor for class marc.nguyen.minesweeper.client.presentation.models.game.PlayerTableModel
 
playerTextField - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
port - Variable in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
portSpinner - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.NetworkSettingsPanel
 
position - Variable in class marc.nguyen.minesweeper.client.presentation.widgets.MineButton
 
position - Variable in class marc.nguyen.minesweeper.common.data.models.Tile
 
Position - Class in marc.nguyen.minesweeper.common.data.models
 
Position(Integer, Integer) - Constructor for class marc.nguyen.minesweeper.common.data.models.Position
 
position$ - Variable in class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 
position$ - Variable in class marc.nguyen.minesweeper.client.presentation.models.GameModel
Stream of new tiles for minefield.
printSizes(Component) - Static method in class marc.nguyen.minesweeper.client.presentation.utils.SpringUtilities
A debugging utility that prints to stdout the component's minimum, preferred, and maximum sizes.
purge() - Method in class marc.nguyen.minesweeper.client.data.datasources.LocalDataSourceMock
Delete the file DB.

Q

Quit - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be to exit the current server.
Quit(Lazy<ServerSocketDevice>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.Quit
 

R

rebuild() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
Clear everything, and replace mines
removeUpdate(DocumentEvent) - Method in class marc.nguyen.minesweeper.client.presentation.controllers.listeners.OnUpdate
 
ResourcesLoader - Class in marc.nguyen.minesweeper.client.presentation.utils
Load the resources in RAM.
ResourcesLoader() - Constructor for class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
Result(Minefield, Observable<Position>, Observable<StartGame>, Observable<EndGameMessage>, Observable<List<Player>>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 
run() - Method in class marc.nguyen.minesweeper.client.data.devices.ServerWorkerRunnable
Read the input and publish the packets in the Publisher.
run() - Method in class marc.nguyen.minesweeper.server.api.workers.ClientWorkerRunnable
 
run() - Method in class marc.nguyen.minesweeper.server.Server
 

S

save(HighScore) - Method in class marc.nguyen.minesweeper.client.data.repositories.HighScoreRepositoryImpl
 
save(HighScore) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.HighScoreRepository
Save a HighScore into the local database.
save(Settings) - Method in class marc.nguyen.minesweeper.client.data.repositories.SettingsRepositoryImpl
Save a settings to the DB.
save(Settings) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.SettingsRepository
Save a settings to the DB.
saveButton - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
savedSettingsPanel - Variable in class marc.nguyen.minesweeper.client.presentation.views.GameCreationView
 
SavedSettingsPanel - Class in marc.nguyen.minesweeper.client.presentation.views.gamecreation
The panel where we CRUD the settings.
SavedSettingsPanel() - Constructor for class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
SaveScore - Class in marc.nguyen.minesweeper.client.domain.usecases
 
SaveScore(Lazy<HighScoreRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.SaveScore
 
SaveSettings - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be to save a new settings.
SaveSettings(Lazy<SettingsRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.SaveSettings
 
score - Variable in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
second - Variable in class marc.nguyen.minesweeper.common.data.models.Pair
 
SendPlayerToServer - Class in marc.nguyen.minesweeper.client.domain.usecases
Update the Player model on the server
SendPlayerToServer(Lazy<PlayerRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.SendPlayerToServer
 
Server - Class in marc.nguyen.minesweeper.server
 
ServerSocketDevice - Class in marc.nguyen.minesweeper.client.data.devices
ServerSocketDevice handles the communication between the client and the server.
ServerSocketDevice() - Constructor for class marc.nguyen.minesweeper.client.data.devices.ServerSocketDevice
 
ServerWorkerRunnable - Class in marc.nguyen.minesweeper.client.data.devices
ServerWorkerRunnable handles the input from the server.
ServerWorkerRunnable(Socket, Subject<Object>) - Constructor for class marc.nguyen.minesweeper.client.data.devices.ServerWorkerRunnable
 
setAddress(String) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setHeight(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setLength(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setLevel(Level) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setMines(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setMode(GameMode) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setPlayer(Player) - Method in class marc.nguyen.minesweeper.server.models.ClientModel
 
setPlayerName(String) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setPort(int) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
setSettingsName(String) - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
Settings - Class in marc.nguyen.minesweeper.client.domain.entities
Game Creation Settings.
Settings(String, InetAddress, int, int, int, int, Level, GameMode, String) - Constructor for class marc.nguyen.minesweeper.client.domain.entities.Settings
 
SettingsDao - Interface in marc.nguyen.minesweeper.client.data.database
Settings Data Access Object.
SettingsDaoSqlite - Class in marc.nguyen.minesweeper.client.data.database
 
SettingsDaoSqlite(Lazy<LocalDataSource>) - Constructor for class marc.nguyen.minesweeper.client.data.database.SettingsDaoSqlite
 
settingsList - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
settingsNameTextField - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.SavedSettingsPanel
 
SettingsRepository - Interface in marc.nguyen.minesweeper.client.domain.repositories
Settings repository.
SettingsRepositoryImpl - Class in marc.nguyen.minesweeper.client.data.repositories
Implementation of SettingsRepository.
SettingsRepositoryImpl(Lazy<SettingsDao>) - Constructor for class marc.nguyen.minesweeper.client.data.repositories.SettingsRepositoryImpl
 
setValueFromLevel(Level) - Method in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
SINGLEPLAYER - marc.nguyen.minesweeper.client.domain.entities.GameMode
 
sizeLabel - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.settings.GameSettingsPanel
 
softwareLogo - Variable in class marc.nguyen.minesweeper.client.presentation.utils.ResourcesLoader
 
SpringUtilities - Class in marc.nguyen.minesweeper.client.presentation.utils
A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.
SpringUtilities() - Constructor for class marc.nguyen.minesweeper.client.presentation.utils.SpringUtilities
 
start(int) - Method in class marc.nguyen.minesweeper.server.api.GameServer
Start the server at the desired port.
startButton - Variable in class marc.nguyen.minesweeper.client.presentation.views.gamecreation.EditSettingsPanel
 
StartGame - Class in marc.nguyen.minesweeper.common.data.models
 
StartGame() - Constructor for class marc.nguyen.minesweeper.common.data.models.StartGame
 
startGame$ - Variable in class marc.nguyen.minesweeper.client.domain.usecases.Connect.Result
 

T

Tile - Class in marc.nguyen.minesweeper.common.data.models
A Tile that can be either Empty (which shows the number of adjacent mines) or Mine.

This class is immutable.
Tile.Empty - Class in marc.nguyen.minesweeper.common.data.models
An empty Tile.
Tile.Mine - Class in marc.nguyen.minesweeper.common.data.models
A Tile filled with a Mine.
Tile.State - Enum in marc.nguyen.minesweeper.common.data.models
State of a tile based on the Minesweeper
timeText - Variable in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
toEntity() - Method in class marc.nguyen.minesweeper.client.presentation.models.GameCreationModel
 
toString() - Method in class marc.nguyen.minesweeper.client.domain.entities.HighScore
 
toString() - Method in class marc.nguyen.minesweeper.client.domain.entities.Settings
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.BaseMessage
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Minefield
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Pair
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Player
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Position
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.StartGame
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Empty
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Tile.Mine
 
toString() - Method in class marc.nguyen.minesweeper.common.data.models.Tile
 

U

update(Player) - Method in class marc.nguyen.minesweeper.client.data.repositories.PlayerRepositoryImpl
 
update(Player) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.PlayerRepository
Send a Player to the server.
updateField(Minefield) - Method in class marc.nguyen.minesweeper.client.presentation.views.game.GamePanel
 
updateMinesLeft(long) - Method in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
updatePlayerScore(int) - Method in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
UpdateServerTile - Class in marc.nguyen.minesweeper.client.domain.usecases
A user should be to update the minefield of the server.
UpdateServerTile(Lazy<MinefieldRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.UpdateServerTile
 
updateTile(Position) - Method in class marc.nguyen.minesweeper.client.data.repositories.MinefieldRepositoryImpl
Send a position to the server.
updateTile(Position) - Method in interface marc.nguyen.minesweeper.client.domain.repositories.MinefieldRepository
Send a position to the server.
updateTiles(Observable<Position>) - Method in interface marc.nguyen.minesweeper.client.di.components.GameComponent.Builder
 
updateTimeLeft(LocalTime) - Method in class marc.nguyen.minesweeper.client.presentation.views.game.DisplayPanel
 
updateValueFromTile(Tile) - Method in class marc.nguyen.minesweeper.client.presentation.widgets.MineButton
 
UseCase<I,​O> - Interface in marc.nguyen.minesweeper.client.core.usecases
Use case based on the Clean Architecture.

V

valueOf(String) - Static method in enum marc.nguyen.minesweeper.client.domain.entities.GameMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum marc.nguyen.minesweeper.common.data.models.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum marc.nguyen.minesweeper.common.data.models.Tile.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum marc.nguyen.minesweeper.server.enums.LevelParams
Returns the enum constant of this type with the specified name.
values() - Static method in enum marc.nguyen.minesweeper.client.domain.entities.GameMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum marc.nguyen.minesweeper.common.data.models.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum marc.nguyen.minesweeper.common.data.models.Tile.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum marc.nguyen.minesweeper.server.enums.LevelParams
Returns an array containing the constants of this enum type, in the order they are declared.
View - Interface in marc.nguyen.minesweeper.client.core.mvc
View used in the MVC pattern.

W

WaitingForPlayersDialog - Class in marc.nguyen.minesweeper.client.presentation.widgets
 
WaitingForPlayersDialog(WindowListener, Observable<StartGame>) - Constructor for class marc.nguyen.minesweeper.client.presentation.widgets.WaitingForPlayersDialog
 
WatchEndGameMessages - Class in marc.nguyen.minesweeper.client.domain.usecases.connect
A User should be able to listen to end game from the server.
WatchEndGameMessages(Lazy<ServerSocketDevice>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchEndGameMessages
 
WatchServerPlayerList - Class in marc.nguyen.minesweeper.client.domain.usecases.connect
A User should be able to watch the other players score.
WatchServerPlayerList(Lazy<PlayerRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerPlayerList
 
WatchServerStartGame - Class in marc.nguyen.minesweeper.client.domain.usecases.connect
A User should be able to listen to start game from the server.
WatchServerStartGame(Lazy<ServerSocketDevice>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerStartGame
 
WatchServerTiles - Class in marc.nguyen.minesweeper.client.domain.usecases.connect
A User should be able to listen to changes from the server.
WatchServerTiles(Lazy<MinefieldRepository>) - Constructor for class marc.nguyen.minesweeper.client.domain.usecases.connect.WatchServerTiles
 
watchTiles() - Method in class marc.nguyen.minesweeper.client.data.repositories.MinefieldRepositoryImpl
Watch the incoming tiles updates.
watchTiles() - Method in interface marc.nguyen.minesweeper.client.domain.repositories.MinefieldRepository
Watch the incoming tiles updates.
write(Serializable) - Method in class marc.nguyen.minesweeper.client.data.devices.ServerSocketDevice
Send a packet.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes All Packages