Skip navigation links
A B C D E F G H I L M N P R S T U V W 

A

addMapPane(List<String>) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Create a new tab containing the results of file executing.
addMapPane(int, int) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Create a tab with an empty matrix.
addMapPane(int, int) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
addMapPane(List<String>) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
addMower(MapArea, int, int) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Add a new mower in the map at the x y coordinate.
addMower(MapArea, Mower) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Add a new mower in the map at the x y coordinate.
addMower(MapArea, int, int) - Method in class com.vsegouin.mowitnow.controllers.MainController
create a new mower at the cordinates provided.
addMower(MapArea, Mower) - Method in class com.vsegouin.mowitnow.controllers.MainController
add a new mower.
AppInjector - Class in com.vsegouin.mowitnow.services.dependencies
The dependency injector created with Google GUICE.
AppInjector() - Constructor for class com.vsegouin.mowitnow.services.dependencies.AppInjector
 

B

bulkAddAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Open the bulk project add dialog box.
BulkAddProjectController - Class in com.vsegouin.mowitnow.ui.gui.controllers.file
Created by segouin.v on 14/09/2016.
BulkAddProjectController(GUIController, FileControl, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.file.BulkAddProjectController
Basic controller.

C

cancelAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.BulkAddProjectController
Close the dialog box.
cancelAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.FileLoadController
Will close the current dialog box.
cancelAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.MapCreationController
Will close the current dialog box.
cancelAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.NewProjectController
Close the dialog box.
CanvasRectClickedHandler - Class in com.vsegouin.mowitnow.ui.gui.handlers.canvas
This handler manage the actions to be done when the user click on one of the graphical matrix's rectangle.
CanvasRectClickedHandler(GUIController, int, int) - Constructor for class com.vsegouin.mowitnow.ui.gui.handlers.canvas.CanvasRectClickedHandler
Basic constructor.
checkFileIntegrity(List<String>) - Method in class com.vsegouin.mowitnow.services.file.FileControl
Will read all the lines contained in the 'lines' variable and will check steps by steps if the file is correctly written.
checkFileIntegrity(List<String>) - Method in interface com.vsegouin.mowitnow.services.file.interfaces.FileControlInterface
Check if a file has all the requirements to be considered as valid.
closeApp() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GraphicalApplication
Close the application.
closeApp() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Close the application.
closeApp() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
closeApp() - Method in class com.vsegouin.mowitnow.ui.gui.MainApp
 
closeApplication() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Close the application.
com.vsegouin.mowitnow - package com.vsegouin.mowitnow
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.controllers - package com.vsegouin.mowitnow.controllers
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.controllers.interfaces - package com.vsegouin.mowitnow.controllers.interfaces
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.mower.core - package com.vsegouin.mowitnow.mower.core
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.mower.core.detection - package com.vsegouin.mowitnow.mower.core.detection
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.mower.core.map - package com.vsegouin.mowitnow.mower.core.map
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.mower.core.movements - package com.vsegouin.mowitnow.mower.core.movements
Created by v.segouin on 12/09/2016.
com.vsegouin.mowitnow.mower.enums - package com.vsegouin.mowitnow.mower.enums
Created by v.segouin on 12/09/2016.
com.vsegouin.mowitnow.mower.exceptions - package com.vsegouin.mowitnow.mower.exceptions
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.services - package com.vsegouin.mowitnow.services
Created by segouin.v on 12/09/2016.
com.vsegouin.mowitnow.services.dependencies - package com.vsegouin.mowitnow.services.dependencies
Created by segouin.v on 12/09/2016.
com.vsegouin.mowitnow.services.dependencies.util - package com.vsegouin.mowitnow.services.dependencies.util
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.services.file - package com.vsegouin.mowitnow.services.file
Created by v.segouin on 11/09/2016.
com.vsegouin.mowitnow.services.file.exceptions - package com.vsegouin.mowitnow.services.file.exceptions
 
com.vsegouin.mowitnow.services.file.interfaces - package com.vsegouin.mowitnow.services.file.interfaces
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.services.language - package com.vsegouin.mowitnow.services.language
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.services.language.interfaces - package com.vsegouin.mowitnow.services.language.interfaces
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.cli - package com.vsegouin.mowitnow.ui.cli
Created by v.segouin on 11/09/2016.
com.vsegouin.mowitnow.ui.gui - package com.vsegouin.mowitnow.ui.gui
Created by v.segouin on 12/09/2016.
com.vsegouin.mowitnow.ui.gui.components.visualization - package com.vsegouin.mowitnow.ui.gui.components.visualization
Created by v.segouin on 11/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers - package com.vsegouin.mowitnow.ui.gui.controllers
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.actions - package com.vsegouin.mowitnow.ui.gui.controllers.actions
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.file - package com.vsegouin.mowitnow.ui.gui.controllers.file
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.infos - package com.vsegouin.mowitnow.ui.gui.controllers.infos
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.interfaces - package com.vsegouin.mowitnow.ui.gui.controllers.interfaces
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.menu - package com.vsegouin.mowitnow.ui.gui.controllers.menu
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.controllers.remote - package com.vsegouin.mowitnow.ui.gui.controllers.remote
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.handlers.canvas - package com.vsegouin.mowitnow.ui.gui.handlers.canvas
Created by v.segouin on 13/09/2016.
com.vsegouin.mowitnow.ui.gui.utils - package com.vsegouin.mowitnow.ui.gui.utils
Created by v.segouin on 13/09/2016.
configure() - Method in class com.vsegouin.mowitnow.services.dependencies.AppInjector
 
createMap(int, int) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Create a new empty map and add it to the mowerMapsList.
createMap(int, int) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
createNewMap() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.MapCreationController
Get the form values, check if it's a regular number and will create a new empty map.
createNewMap() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Open the manual map creation dialog box.
createNewProject() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Open the create new project dialog box.
createTab(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Create a new tab with a visualization matrix which correspond to the provided map.

D

Detector - Class in com.vsegouin.mowitnow.mower.core.detection
Created by v.segouin on 07/09/2016.
Detector(int, int, Direction, MapArea) - Constructor for class com.vsegouin.mowitnow.mower.core.detection.Detector
Initializes the detector with the current state of the mower.
Direction - Enum in com.vsegouin.mowitnow.mower.enums
Created by v.segouin on 07/09/2016.
drawMap() - Method in class com.vsegouin.mowitnow.ui.gui.components.visualization.MatrixVisualizerPane
This method will reset the pane and draw the current state of the mowers and the map.
drawPosition() - Method in class com.vsegouin.mowitnow.mower.core.Mower
draw the current state of the mower and the map in a string, can be used on CLI.

E

executeCommands(MowerCommands) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Make the current mower to execute the command.
executeCommands(MowerCommands) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
executeFileAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.FileLoadController
Fetch the selected file and execute it thanks to the mowers controller.
executeFileCommands(List<String>) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Create a new map, its mowers and their commands and execute it all.
executeFileCommands(List<String>) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
executeProgramState(int, int) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Execute the action corresponding to the program state on the selected area.
executeProgramState(int, int) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
executesCommands(Mower, String) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Make the mower execute the command line.
executesCommands(Mower, char) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Make the mower executes the command.
executesCommands(Mower, MowerCommands) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Make the mower executes the command.
executesCommands(Mower, String) - Method in class com.vsegouin.mowitnow.controllers.MainController
Parse the commandLine, will extract each command one by one and will make the mower to execute it.
executesCommands(Mower, char) - Method in class com.vsegouin.mowitnow.controllers.MainController
Make the mower to execute one command.
executesCommands(Mower, MowerCommands) - Method in class com.vsegouin.mowitnow.controllers.MainController
 

F

fetchCommand(char) - Static method in enum com.vsegouin.mowitnow.mower.enums.MowerCommands
Find a commands thanks to the abbreviation.
fetchDirection(int) - Static method in enum com.vsegouin.mowitnow.mower.enums.Direction
Find a direction thanks to the angle.
fetchDirection(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.Direction
Find a direction thanks to the abbreviation.
fetchMapFromIndex(int) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Get the map located at the provided index.
fetchMapFromIndex(int) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
fetchMowerFromCoordinates(MapArea, int, int) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Return the mower presents in the map at coordinate x y.
fetchMowerFromCoordinates(MapArea, int, int) - Method in class com.vsegouin.mowitnow.controllers.MainController
Will check the mower's state and will return the mower located at the 'x','y' position.
FileControl - Class in com.vsegouin.mowitnow.services.file
Created by v.segouin on 08/09/2016.
FileControl(LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.services.file.FileControl
The default constructor used by the Dependency injector.
FileControlInterface - Interface in com.vsegouin.mowitnow.services.file.interfaces
This interface contains all the necessary methods to load a file and initialize the programs.
fileExists(String) - Static method in class com.vsegouin.mowitnow.services.file.FileControl
check if a file exists.
FileLoadController - Class in com.vsegouin.mowitnow.ui.gui.controllers.file
Created by v.segouin on 12/09/2016.
FileLoadController(MainControllerGUI, FileControlInterface, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.file.FileLoadController
Basic constructor.
FxmlController - Interface in com.vsegouin.mowitnow.ui.gui.controllers.interfaces
If a controller implements this interface, the setStageAndSetupListeners method will be automatically called when the FXML Loader will load the interface.

G

getAbbreviation() - Method in enum com.vsegouin.mowitnow.mower.enums.Direction
 
getActionPaneController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getAngle() - Method in enum com.vsegouin.mowitnow.mower.enums.Direction
 
getAskedPositionState() - Method in exception com.vsegouin.mowitnow.mower.exceptions.UnsafeMoveException
 
getCanvas() - Method in class com.vsegouin.mowitnow.ui.gui.components.visualization.MatrixVisualizerPane
 
getCommandName() - Method in enum com.vsegouin.mowitnow.mower.enums.MowerCommands
 
getController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getCoordinate(int, int) - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
return the value at the x,y coordinate.
getCurrentDirection() - Method in class com.vsegouin.mowitnow.mower.core.movements.ServoMotor
 
getCurrentLocale() - Method in interface com.vsegouin.mowitnow.services.language.interfaces.LanguageManagerInterface
Get the current locale, loaded with loadLocale.
getCurrentLocale() - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
getCurrentlySelectedMower() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Get the current selected mower.
getCurrentlySelectedMower() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getCurrentMap() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Get the currently selected map.
getCurrentMap() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getCurrentState() - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
Get the current abscissa, ordinate and direction of the detector.
getCurrentStateString() - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
Get the current abscissa, ordinate and direction of the detector.
getDetector() - Method in class com.vsegouin.mowitnow.mower.core.Mower
 
getDistance() - Method in class com.vsegouin.mowitnow.mower.core.movements.Wheel
 
getHistoricController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getInjector() - Static method in class com.vsegouin.mowitnow.services.dependencies.util.InjectorUtil
 
getInstance() - Static method in class com.vsegouin.mowitnow.ui.gui.MainApp
 
getLocale() - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
getMap() - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
 
getMapIndex(MapArea) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Get the map index.
getMapIndex(MapArea) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
getMapMowersList() - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Get the complete list of the Map and the mowers and their commands line.
getMapMowersList() - Method in class com.vsegouin.mowitnow.controllers.MainController
 
getMatrix() - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
 
getMaxAbscissa() - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
 
getMaxOrdinate() - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
 
getMenuBarController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getMessage() - Method in exception com.vsegouin.mowitnow.mower.exceptions.UnknownMowerCommandException
 
getMessage() - Method in exception com.vsegouin.mowitnow.mower.exceptions.UnsafeMoveException
 
getMessage() - Method in exception com.vsegouin.mowitnow.services.file.exceptions.MowerInstructionFileException
 
getMowerIndex(MapArea, Mower) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Get the mower's addition number.
getMowerIndex(MapArea, Mower) - Method in class com.vsegouin.mowitnow.controllers.MainController
will check the mower's position in the map.
getMowersListController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getNextPositionState(WheelState) - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
Simulate the mower move and get the next.
getNumberOfMovement() - Method in class com.vsegouin.mowitnow.mower.core.movements.ServoMotor
 
getOverlay() - Method in class com.vsegouin.mowitnow.ui.gui.components.visualization.MatrixVisualizerPane
 
getProgramHistoric() - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Get the full historic of the program.
getProgramHistoric() - Method in class com.vsegouin.mowitnow.controllers.MainController
 
getProgramState() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Return the program state, the state corresponds to the action that will be executed by executeProgramState.
getProgramState() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getReadableName() - Method in enum com.vsegouin.mowitnow.mower.enums.Direction
 
getRemoteControlController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getRepresentation() - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
Return a representation of the map edited by the detectors of the mowers.
getResourceBundle() - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
getState() - Method in class com.vsegouin.mowitnow.mower.core.movements.Wheel
 
getStateNumber() - Method in enum com.vsegouin.mowitnow.mower.enums.PositionState
 
getStatistics() - Method in class com.vsegouin.mowitnow.mower.core.Mower
Give the globals statistics of the mower.
getString(String) - Method in interface com.vsegouin.mowitnow.services.language.interfaces.LanguageManagerInterface
Get the localized string corresponding to the label.
getString(String, String...) - Method in interface com.vsegouin.mowitnow.services.language.interfaces.LanguageManagerInterface
Get the localized string corresponding to the label and format it with the parameters.
getString(String, String...) - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
getString(String) - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
getTabMapController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
getTextInfo() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.ToolbarController
 
getToolbarController() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
goBackward() - Method in class com.vsegouin.mowitnow.mower.core.movements.Wheel
Move the mower one step backward.
goBackward() - Method in class com.vsegouin.mowitnow.mower.core.Mower
Will perform a check on the asked action and will move backward if there is no obstacle.
goBackwardClicked() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.remote.RemoteControlController
Make the selected mower to go backward.
goForward() - Method in class com.vsegouin.mowitnow.mower.core.movements.Wheel
Move the mower one step forward.
goForward() - Method in class com.vsegouin.mowitnow.mower.core.Mower
Will perform a check on the asked action and will move forward if there is no obstacle.
goForwardClicked() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.remote.RemoteControlController
Make the selected mower to go forward.
goLeftClicked() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.remote.RemoteControlController
Make the selected mower to turn left.
goRightClicked() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.remote.RemoteControlController
Make the selected mower to turn right.
GraphicalApplication - Interface in com.vsegouin.mowitnow.ui.gui.controllers.interfaces
Created by segouin.v on 13/09/2016.
GUIController - Interface in com.vsegouin.mowitnow.ui.gui.controllers.interfaces
Created by v.segouin on 12/09/2016.

H

handle(MouseEvent) - Method in class com.vsegouin.mowitnow.ui.gui.handlers.canvas.CanvasRectClickedHandler
 
HistoricPaneController - Class in com.vsegouin.mowitnow.ui.gui.controllers.infos
Created by v.segouin on 13/09/2016.
HistoricPaneController(MowerController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.infos.HistoricPaneController
Basic constructor with guice injection.

I

ImpossibleMowerCommandException - Exception in com.vsegouin.mowitnow.mower.exceptions
Created by v.segouin on 14/09/2016.
ImpossibleMowerCommandException() - Constructor for exception com.vsegouin.mowitnow.mower.exceptions.ImpossibleMowerCommandException
 
init(int, int) - Method in class com.vsegouin.mowitnow.controllers.MainController
initialize the map.
initializeMap(List<String>) - Method in class com.vsegouin.mowitnow.services.file.FileControl
use the maps configured in the file and will create a new map.
initializeMap(List<String>) - Method in interface com.vsegouin.mowitnow.services.file.interfaces.FileControlInterface
Initialize a new map thanks to the command file.
InjectorUtil - Class in com.vsegouin.mowitnow.services.dependencies.util
Created by segouin.v on 13/09/2016.
isAskedPositionSafe(WheelState) - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
Check if the next move done by the mower is safe (ie : the asked position isn't outbound and there is no mower already on it).

L

LanguageManager - Class in com.vsegouin.mowitnow.services.language
The implementation of Language Manager Interface.
LanguageManager() - Constructor for class com.vsegouin.mowitnow.services.language.LanguageManager
A basic constructor which will automatically load english and MessageBundle File.
LanguageManagerInterface - Interface in com.vsegouin.mowitnow.services.language.interfaces
The language manager is intended to be injected in the classes which send String that should be localized.
loadFileAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.FileLoadController
Open a dialog box to choose a file, and will check if the selected file is correctly formatted.
loadFileAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Open the load file dialog box.
loadLocale(String, String) - Method in interface com.vsegouin.mowitnow.services.language.interfaces.LanguageManagerInterface
Load the locale corresponding to the region and the country and store it in the object.
loadLocale(String, String) - Method in class com.vsegouin.mowitnow.services.language.LanguageManager
 
loadMowers(List<String>, MapArea) - Method in class com.vsegouin.mowitnow.services.file.FileControl
Will read and parse the 'commandLines' extracted with the 'readFile' method and will set them on the map, it will return a map with the mowers and their commands.
loadMowers(List<String>, MapArea) - Method in interface com.vsegouin.mowitnow.services.file.interfaces.FileControlInterface
Load the mowers and their corresponding commands line from file.
loadParent(Stage, String, Locale) - Static method in class com.vsegouin.mowitnow.ui.gui.utils.SceneUtil
A global method which will load the FXMLLoader, import the Guice and set the locale for the interface building.

M

Main - Class in com.vsegouin.mowitnow
The main application class.
Main(LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.Main
A basic constructor where the language manager is injected thanks to Google Guice.
main(String[]) - Static method in class com.vsegouin.mowitnow.Main
The main entry point of the program, will ask what kind of interface the user wants to use, and will call the right entry point.
main(String[]) - Static method in class com.vsegouin.mowitnow.ui.cli.MainCLI
the main entry point which will load the program.
main() - Static method in class com.vsegouin.mowitnow.ui.gui.MainApp
Entry point which will launch the GUI.
MainApp - Class in com.vsegouin.mowitnow.ui.gui
This class will contains the GUI of the app.
MainApp() - Constructor for class com.vsegouin.mowitnow.ui.gui.MainApp
The basic constructor, with a workaround to keep the instance of the Application.
MainCLI - Class in com.vsegouin.mowitnow.ui.cli
The entry point of the CLI version of the program.
MainCLI(MowerController, LanguageManagerInterface, FileControl) - Constructor for class com.vsegouin.mowitnow.ui.cli.MainCLI
MainCLI base constructor, loaded with Google GUICE.
MainController - Class in com.vsegouin.mowitnow.controllers
The main controller which will keep the program coherent and do the differents actions on the mowers.
MainController(FileControlInterface, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.controllers.MainController
Basic private constructor, instantiation a new Hashmap which will contains mowers data.
MainControllerGUI - Class in com.vsegouin.mowitnow.ui.gui.controllers
Created by v.segouin on 12/09/2016.
MainControllerGUI(MainController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
The basic constructor, with DI thanks to Guice.
MapAction - Class in com.vsegouin.mowitnow.ui.gui.controllers.actions
Created by segouin.v on 13/09/2016.
MapAction(GUIController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.actions.MapAction
Basic constructor.
MapArea - Class in com.vsegouin.mowitnow.mower.core.map
Created by v.segouin on 07/09/2016.
MapArea(int, int) - Constructor for class com.vsegouin.mowitnow.mower.core.map.MapArea
The basic constructor, will create a matrix corresponding to the max abscissa and ordinate given.
MapCreationController - Class in com.vsegouin.mowitnow.ui.gui.controllers.file
Created by segouin.v on 13/09/2016.
MapCreationController(GUIController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.file.MapCreationController
Basic constructor.
MatrixVisualizerPane - Class in com.vsegouin.mowitnow.ui.gui.components.visualization
Created by v.segouin on 08/09/2016.
MatrixVisualizerPane(GUIController, MowerController, MapArea) - Constructor for class com.vsegouin.mowitnow.ui.gui.components.visualization.MatrixVisualizerPane
The basic constructor.
MenuBarController - Class in com.vsegouin.mowitnow.ui.gui.controllers.menu
Created by segouin.v on 12/09/2016.
MenuBarController(LanguageManagerInterface, GUIController) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
The basic constructor.
Mower - Class in com.vsegouin.mowitnow.mower.core
Created by v.segouin on 07/09/2016.
Mower(MapArea) - Constructor for class com.vsegouin.mowitnow.mower.core.Mower
Basic constructor, will place the mower at 0,0,N.
Mower(int, int, Direction, MapArea) - Constructor for class com.vsegouin.mowitnow.mower.core.Mower
Standard constructor, will the mower at the given coordinates.
MowerCommands - Enum in com.vsegouin.mowitnow.mower.enums
The different commands a mower can execute.
MowerController - Interface in com.vsegouin.mowitnow.controllers.interfaces
Created by v.segouin on 12/09/2016.
MowerInstructionFileException - Exception in com.vsegouin.mowitnow.services.file.exceptions
This exception must be thrown if an error is found in the file containing the mowers commands Created by v.segouin on 08/09/2016.
MowerInstructionFileException(String) - Constructor for exception com.vsegouin.mowitnow.services.file.exceptions.MowerInstructionFileException
A basic constructor, which will set the message into the global variable 'message'.
MowerListController - Class in com.vsegouin.mowitnow.ui.gui.controllers.infos
Created by v.segouin on 12/09/2016.
MowerListController(MowerController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.infos.MowerListController
Basic constructor.
MowerMode - Enum in com.vsegouin.mowitnow.mower.enums
Created by v.segouin on 07/09/2016.

N

newProjectAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.BulkAddProjectController
check the commands provided by user and process the addition to the controllers.
newProjectAction() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.file.NewProjectController
Reset the app and reload the interface to get a brand new program.
NewProjectController - Class in com.vsegouin.mowitnow.ui.gui.controllers.file
Created by v.segouin on 13/09/2016.
NewProjectController(GUIController, LanguageManager) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.file.NewProjectController
Basic constructor.

P

PositionState - Enum in com.vsegouin.mowitnow.mower.enums
Created by v.segouin on 07/09/2016.
prepareAddMower() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.actions.MapAction
Change program state to allow the addition of a mower when clicking on the matrix.
prepareRemoveMower() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.actions.MapAction
Change program state to allow the deletion of a mower when clicking on the matrix.
ProgramState - Enum in com.vsegouin.mowitnow.ui.gui
This enum contains the different program's state, it is used to know if a particular action.

R

readFile(String) - Method in class com.vsegouin.mowitnow.services.file.FileControl
Read a file and puts all the data in a String array.
readFile(String) - Method in interface com.vsegouin.mowitnow.services.file.interfaces.FileControlInterface
Read the file and returns the commands list.
redrawMatrix(MatrixVisualizerPane) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Redraw the matrix's canvas.
redrawMatrix(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Redraw the matrix which is related to the given map.
redrawMatrixes() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Redraw all matrix.
reload() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GraphicalApplication
Reload the interface.
reload() - Method in class com.vsegouin.mowitnow.ui.gui.MainApp
 
reloadApp() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Reload the interfaces and restore the saved data.
reloadApp() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
reloadMatrixes() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Fetch all the map and mowers from the main controller and recreate all the tab and matrix.
RemoteControlController - Class in com.vsegouin.mowitnow.ui.gui.controllers.remote
Created by v.segouin on 13/09/2016.
RemoteControlController(MainControllerGUI) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.remote.RemoteControlController
Basic constructor.
removeMower(MapArea, int, int) - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Remove the mower from the map.
removeMower(MapArea, int, int) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
reset() - Method in interface com.vsegouin.mowitnow.controllers.interfaces.MowerController
Empty all the data.
reset() - Method in class com.vsegouin.mowitnow.controllers.MainController
 
resetApp() - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Reset the app with empty data.
resetApp() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 

S

SceneUtil - Class in com.vsegouin.mowitnow.ui.gui.utils
Created by v.segouin on 12/09/2016.
ServoMotor - Class in com.vsegouin.mowitnow.mower.core.movements
Created by v.segouin on 07/09/2016.
ServoMotor(Direction) - Constructor for class com.vsegouin.mowitnow.mower.core.movements.ServoMotor
 
setCoordinate(int, int, int) - Method in class com.vsegouin.mowitnow.mower.core.map.MapArea
Set the value at the x,y coordinate.
setCurrentMap(MapArea) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Set the currently selected map.
setCurrentMap(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
setCurrentTab(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Set the focus on the corresponding tab.
setGlobalText(String) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Set the message text readable from anywhere.
setGlobalText(String) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
setInfoMessage(String) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.ToolbarController
Set the global message.
setMapMowersList(Map<MapArea, Map<Mower, String>>) - Method in class com.vsegouin.mowitnow.controllers.MainController
 
setProgramState(ProgramState) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.GUIController
Set the program state.
setProgramState(ProgramState) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
setStageAndSetupListeners(Stage) - Method in interface com.vsegouin.mowitnow.ui.gui.controllers.interfaces.FxmlController
Store the stage in the current controller.
setStageAndSetupListeners(Stage) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.MainControllerGUI
 
start(Stage) - Method in class com.vsegouin.mowitnow.ui.gui.MainApp
 
switchToEnglish() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Load the french locale and reload the interface.
switchToFrench() - Method in class com.vsegouin.mowitnow.ui.gui.controllers.menu.MenuBarController
Load the french locale and reload the interface.

T

TabMapController - Class in com.vsegouin.mowitnow.ui.gui.controllers.infos
Created by v.segouin on 13/09/2016.
TabMapController(GUIController, MowerController, LanguageManagerInterface) - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.infos.TabMapController
Basic constructor.
ToolbarController - Class in com.vsegouin.mowitnow.ui.gui.controllers.infos
Created by v.segouin on 13/09/2016.
ToolbarController() - Constructor for class com.vsegouin.mowitnow.ui.gui.controllers.infos.ToolbarController
 
turnLeft() - Method in class com.vsegouin.mowitnow.mower.core.movements.ServoMotor
Turn the mower on the left and update the detectors.
turnLeft() - Method in class com.vsegouin.mowitnow.mower.core.Mower
Ask the servomotor to turn left.
turnRight() - Method in class com.vsegouin.mowitnow.mower.core.movements.ServoMotor
Turn the mower on the right and update the detectors.
turnRight() - Method in class com.vsegouin.mowitnow.mower.core.Mower
Ask the servomotor to turn right.

U

UnknownMowerCommandException - Exception in com.vsegouin.mowitnow.mower.exceptions
Created by segouin.v on 13/09/2016.
UnknownMowerCommandException(String) - Constructor for exception com.vsegouin.mowitnow.mower.exceptions.UnknownMowerCommandException
The basic constructor which will set the exception's message.
UnsafeMoveException - Exception in com.vsegouin.mowitnow.mower.exceptions
Created by v.segouin on 08/09/2016.
UnsafeMoveException(String, PositionState) - Constructor for exception com.vsegouin.mowitnow.mower.exceptions.UnsafeMoveException
A constructor, which will set the message into the global variable 'message', and the asked state which caused the error.
update(Observable, Object) - Method in class com.vsegouin.mowitnow.mower.core.detection.Detector
Intercepts signal from wheels and servomotor and updates the class depending on the action Servomotor : Updates the current direction Wheel : update the map depending on the movement.
updateHistoric(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.HistoricPaneController
Get the different action done in the corresponding map and write them.
updateMowerList(MapArea) - Method in class com.vsegouin.mowitnow.ui.gui.controllers.infos.MowerListController
Update the list of mower related to the map.

V

valueOf(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.MowerCommands
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.MowerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.PositionState
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.vsegouin.mowitnow.mower.enums.PositionState
find a state thanks to the state number.
valueOf(String) - Static method in enum com.vsegouin.mowitnow.mower.enums.WheelState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.vsegouin.mowitnow.ui.gui.ProgramState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.vsegouin.mowitnow.mower.enums.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vsegouin.mowitnow.mower.enums.MowerCommands
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vsegouin.mowitnow.mower.enums.MowerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vsegouin.mowitnow.mower.enums.PositionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vsegouin.mowitnow.mower.enums.WheelState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.vsegouin.mowitnow.ui.gui.ProgramState
Returns an array containing the constants of this enum type, in the order they are declared.

W

Wheel - Class in com.vsegouin.mowitnow.mower.core.movements
Created by v.segouin on 07/09/2016.
Wheel() - Constructor for class com.vsegouin.mowitnow.mower.core.movements.Wheel
Basic constructor, initiate the total distance at 0.
WheelState - Enum in com.vsegouin.mowitnow.mower.enums
Created by v.segouin on 07/09/2016.
A B C D E F G H I L M N P R S T U V W 
Skip navigation links

Copyright © 2016. All Rights Reserved.