- 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.
- 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.
- 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.
- 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.