Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Accu - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing the accu-item.
- Accu() - Constructor for class com.JayPi4c.RobbiSimulator.model.Accu
- ACCU - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState ACCU.
- activateNotification() - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Allows to send Notifications to all observers and notifies all Observers if changes have been made while the notifications had been deactivated.
- add(Diagnostics.Diagnostic) - Method in class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics
-
Adds the given diagnostic to the list of diagnostics
- addObserver(Observer) - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Register a new Observer to the list of Observers.
- AlertHelper - Class in com.JayPi4c.RobbiSimulator.utils
-
Static class to create Alerts with the necessary information.
- Answer - Record Class in com.JayPi4c.RobbiSimulator.controller.tutor
-
Wrapper to hold an answer instance.
- Answer(String, String) - Constructor for record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Creates an instance of a
Answer
record class. - App - Class in com.JayPi4c.RobbiSimulator
-
Hauptklasse des Robbi Simulators.
Javaversion: 17 - App() - Constructor for class com.JayPi4c.RobbiSimulator.App
B
- BagIsEmptyException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if an item is placed down while there is no item in the bag.
- BagIsEmptyException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.BagIsEmptyException
-
Constructor for a new BagIsEmptyException with a localized message.
- BagIsFullException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if an item is picked up while the bag is already full.
- BagIsFullException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.BagIsFullException
-
Constructor for a new BagIsFullException with a localized message.
- bundleProperty() - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
ObjectProperty to allow bindings
- ButtonState - Class in com.JayPi4c.RobbiSimulator.controller
-
This class stores the state of the currently selected territory button state.
- ButtonState() - Constructor for class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Creates a new ButtonState and sets the selected state to NONE
C
- canEqual(Object) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- canEqual(Object) - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
- center(Bounds) - Method in class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
-
taken from Dibo
Centers the territory-panel in the center of the viewPortBounds. - changeSize(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Updates the size of the territory to the new size.
- ChangeTerritorySizeHandler - Class in com.JayPi4c.RobbiSimulator.controller
-
This EventHandler combines all the code needed to change the territory size
- ChangeTerritorySizeHandler(Window, Territory) - Constructor for class com.JayPi4c.RobbiSimulator.controller.ChangeTerritorySizeHandler
-
Creates a new ChangeTerritorySizeHandler and sets up a new Dialog, which can be invoked in the handle method
- CLEAR - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState CLEAR.
- clearTile(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Removes all elements from the tile and replaces it with a new default tile.
- close(String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Removes the program from the programsList in order to make sure it can be reopened later
- code() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Returns the value of the
code
record component. - code() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Returns the value of the
code
record component. - cols() - Method in record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Returns the value of the
cols
record component. - com.JayPi4c.RobbiSimulator - package com.JayPi4c.RobbiSimulator
- com.JayPi4c.RobbiSimulator.controller - package com.JayPi4c.RobbiSimulator.controller
- com.JayPi4c.RobbiSimulator.controller.examples - package com.JayPi4c.RobbiSimulator.controller.examples
- com.JayPi4c.RobbiSimulator.controller.program - package com.JayPi4c.RobbiSimulator.controller.program
- com.JayPi4c.RobbiSimulator.controller.simulation - package com.JayPi4c.RobbiSimulator.controller.simulation
- com.JayPi4c.RobbiSimulator.controller.tutor - package com.JayPi4c.RobbiSimulator.controller.tutor
- com.JayPi4c.RobbiSimulator.model - package com.JayPi4c.RobbiSimulator.model
- com.JayPi4c.RobbiSimulator.utils - package com.JayPi4c.RobbiSimulator.utils
- com.JayPi4c.RobbiSimulator.utils.annotations - package com.JayPi4c.RobbiSimulator.utils.annotations
- com.JayPi4c.RobbiSimulator.view - package com.JayPi4c.RobbiSimulator.view
- compile(Program, boolean, Window) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Compiles the given Program and shows an error Alert if the Compilation failed otherwise it shows an success alert.
- compile(Program, Window) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Compiles the given Program and shows an error Alert if the Compilation failed otherwise it shows an success alert.
- compileImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for compile icon.
- createAlert(Alert.AlertType, String, Window) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates an alert with the given information.
- createAlert(Alert.AlertType, String, Window, Modality) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates an alert with the given information.
- createAlert(Alert.AlertType, String, Window, Modality, String, String) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates an alert with the given information.
- createAndShow(String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates a new file with default content, if it does not exist.
- createAndShow(String, String, String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates a stage with the given programName, the programCode provided and the territory encoded as XML.
- createAndShow(Window) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates a Dialog and asks the user to for the name of the new program.
- createBinding(String, Object...) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Helper to create a new String Binding for the provided key.
- createPostfix() - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates the postfix for the program-file
- createPrefix(String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates the prefix for the program-file
- createTemplate(String, String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Creates the template for a compilable class
- createTooltip(String, Object...) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Method to create a tooltip for the given key and object parameters
D
- darkmodeProperty() - Static method in class com.JayPi4c.RobbiSimulator.utils.SceneManager
-
ObjectProperty to allow bindings
- deactivateNotification() - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Prevents the Observable class from notifying any observers even if notifyAllObservers is called.
- Default - Annotation Interface in com.JayPi4c.RobbiSimulator.utils.annotations
-
Annotation to set the default value for a parameter in a method.
- DEFAULT_CONTENT - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String for the default content of the editor when the file is newly created.
- DEFAULT_FILE_EXTENSION - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String for the default file extension name.
- DEFAULT_ROBBI_FILE_NAME - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String for the Default Robbi File name.
- deselect() - Method in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
reset the currently selected state to NONE
- Diagnostic(String, String) - Constructor for record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Creates an instance of a
Diagnostic
record class. - Diagnostics - Class in com.JayPi4c.RobbiSimulator.controller.program
-
This class contains a list of Diagnostics, which are created during the post-compile annotation check.
- Diagnostics() - Constructor for class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics
-
Constructor for the Diagnostics-class.
- Diagnostics.Diagnostic - Record Class in com.JayPi4c.RobbiSimulator.controller.program
-
Container to hold a single Diagnostic, which consists of a type and the faulty value provided for this type.
- Dimension - Record Class in com.JayPi4c.RobbiSimulator.model
-
Record to hold information about the new dimension of the simulation gird.
- Dimension(int, int) - Constructor for record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Creates an instance of a
Dimension
record class. - DIRECTION - Enum Class in com.JayPi4c.RobbiSimulator.model
-
Enumeration to hold all cardinal-points to store robbis current facing.
E
- EAST - Enum constant in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Direction if robbi is looking right.
- equals(Object) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- equals(Object) - Method in record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
- equals(Object) - Method in record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Indicates whether some other object is "equal to" this one.
- Example - Class in com.JayPi4c.RobbiSimulator.controller.examples
-
This class holds all information needed for an example to be loaded.
- Example() - Constructor for class com.JayPi4c.RobbiSimulator.controller.examples.Example
- ExamplesController - Class in com.JayPi4c.RobbiSimulator.controller.examples
-
This controller contains all settings for the examples menus.
- ExamplesController(MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.examples.ExamplesController
-
Constructor to create a new ExamplesController for the mainStage.
- ExampleService - Class in com.JayPi4c.RobbiSimulator.controller.examples
-
Service to easily access examples from the database using the HibernateUtils class.
F
- finish() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.SimulationController
-
Helper to finish up a simulation if it is finished or has been stopped by the user.
- finish() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Stores all properties back in the properties file.
- fromXML(InputStream) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Updates this territory to the territory encoded as the XML-InputStream.
G
- gegenstandDa() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
checks if an Item is on the tile Robbi is on.
- getAllItems() - Method in class com.JayPi4c.RobbiSimulator.model.Stockpile
-
Returns the full list of items placed on the stockpile.
- getAllTags() - Static method in class com.JayPi4c.RobbiSimulator.controller.examples.ExampleService
-
Method to load all distinct tags from the database.
- getAnswer(int) - Method in interface com.JayPi4c.RobbiSimulator.controller.tutor.ITutor
-
Fetches the answer for the given id.
- getAnswer(int) - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
- getBundle() - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Getter for the current locale.
- getButtonState() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getCellsize() - Static method in class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
-
Getter for the CELLSIZE.
- getCellspacer() - Static method in class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
-
Getter for the CELLSPACER.
- getChangeCursorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getChangeSizeButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getChangeSizeTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getCode() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- getCompileButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getCompileEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getDarkmode() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the sounds property.
- getDarkmode() - Static method in class com.JayPi4c.RobbiSimulator.utils.SceneManager
-
Getter for the current dark-mode flag.
- getDarkmodeCss() - Static method in class com.JayPi4c.RobbiSimulator.utils.SceneManager
-
Getter for the dark-mode css source.
- getDarkModeMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getDeleteFieldRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getDeleteFieldToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getDiagnosis() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics
-
Returns a list of all collected Diagnostics.
- getEditorContent() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
- getEditorMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getEnableSoundsMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getEnglishLanguageMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getExamplesController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getExamplesMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getFacing() - Method in class com.JayPi4c.RobbiSimulator.model.RobbiState
- getFile() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
- getFormatSourceCodeMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getGermanLanguageMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getHollowAheadMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getId() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- getInfoMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getIsBagFullMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getIsStockpileMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getItem() - Method in class com.JayPi4c.RobbiSimulator.model.Hollow
-
Getter for the item placed on the tile.
- getItem() - Method in class com.JayPi4c.RobbiSimulator.model.PileOfScrap
-
Getter for the item placed on the tile.
- getItem() - Method in class com.JayPi4c.RobbiSimulator.model.RobbiState
- getItem() - Method in class com.JayPi4c.RobbiSimulator.model.Stockpile
-
Iterates through the list of items in the stockpile and returns one.
- getItem() - Method in class com.JayPi4c.RobbiSimulator.model.Tile
-
Attribute to store the item whoch is placed on the tile.
- getItem(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for the item in the territory at the given position.
- getItemPresentMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLanguageController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getLanguageMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLibraryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getLoadExampleMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadFile(String, String, String) - Method in class com.JayPi4c.RobbiSimulator.controller.TerritorySaveController
-
Opens a dialog to ask for a file to load a territory from.
- getLoadJAXBTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadRequestMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadSerialTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadTerritoryMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLoadXMLTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getLocale() - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
The current locale.
- getLocale() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the locale.
- getLocalizedMessage() - Method in exception com.JayPi4c.RobbiSimulator.model.RobbiException
- getLock() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
- getMainStageController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getMainStageScene() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getMenubar() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getMenubar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getMoveMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getName() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
The name of the program
- getNewButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getNewEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getNewRequest() - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
-
Returns an optional with a new request if one is available.
- getNewRobbi(String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Loads a new Robbi Instance from the classfile.
- getNumberOfColumns() - Method in class com.JayPi4c.RobbiSimulator.model.TerritoryState
- getNumberOfRows() - Method in class com.JayPi4c.RobbiSimulator.model.TerritoryState
- getNumCols() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for the current number of columns.
- getNumRows() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for the current number of rows.
- getOpenEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPauseMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPauseToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPileOfScrapAheadMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceAccuTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceAccuToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlaceGroupTerritoryMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceHollowTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceHollowToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlaceNutTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceNutToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlacePileOfScrapTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlacePileOfScrapToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlaceRobbiTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceRobbiToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlaceScrewTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceScrewToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPlaceStockpileTerritoryRadioMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPlaceStockpileToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getPrintEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPrintTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getProgram() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getProgramName() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- getPushPileOfScrapMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getPutMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getQuitEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getReceiveAnswerMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getResetButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getResetMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getRobbi() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for the current robbi in the territory.
- getRobbiDirection() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for robbis current direction.
- getRobbiItem() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for robbis current item.
- getRobbiMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getRobbiMoveButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getRobbiPutButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getRobbiState() - Method in class com.JayPi4c.RobbiSimulator.model.TerritoryState
- getRobbiTakeButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getRobbiTurnLeftButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getRobbiX() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for Robbis x Position.
- getRobbiY() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter for Robbis y Position.
- getSaveAnswerMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveAsGifMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveAsPicMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveAsPNGMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getSaveEditorMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveExampleMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveJAXBTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveSerialTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveTerritoryMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSaveXMLTerritoryMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSelected() - Method in class com.JayPi4c.RobbiSimulator.controller.ButtonState
- getSendRequestMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSessionFactory() - Static method in class com.JayPi4c.RobbiSimulator.utils.HibernateUtils
-
Getter for the SessionFactory.
- getSimulationController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getSimulationMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getSnackbarController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getSound() - Static method in class com.JayPi4c.RobbiSimulator.utils.SoundManager
-
Getter for the current sound flag.
- getSounds() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the sounds property.
- getSpeed() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.SimulationController
- getSpeedSliderToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getSplitPane() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getStartMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getStartToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getStopMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getStopToggleButtonToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.Toolbar
- getStudenController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTags() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- getTakeMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getTerritory() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- getTerritory() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTerritoryMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getTerritoryPanel() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTerritorySaveController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTerritoryScrollPane() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTextArea() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTile(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Calculates the tile for the given x and y coordinates.
- getTiles() - Method in class com.JayPi4c.RobbiSimulator.model.TerritoryState
- getToolbar() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTurnLeftMenuItem() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getTutorController() - Method in class com.JayPi4c.RobbiSimulator.view.MainStage
- getTutorhost() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the tutorhost.
- getTutorMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getTutorport() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the tutorport.
- getWindowMenu() - Method in class com.JayPi4c.RobbiSimulator.view.MenuBar
- getX() - Method in class com.JayPi4c.RobbiSimulator.model.RobbiState
- getY() - Method in class com.JayPi4c.RobbiSimulator.model.RobbiState
H
- handle(ActionEvent) - Method in class com.JayPi4c.RobbiSimulator.controller.ChangeTerritorySizeHandler
- handle(ActionEvent) - Method in class com.JayPi4c.RobbiSimulator.controller.MethodHandler
- handle(MouseEvent) - Method in class com.JayPi4c.RobbiSimulator.controller.TerritoryEventHandler
-
Places an Item or Object in the territory or drags and drops the robbi - hashCode() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- hashCode() - Method in record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Returns a hash code value for this object.
- hashCode() - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
- hashCode() - Method in record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Returns a hash code value for this object.
- hasSizeChanged() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Getter to check if the size of the territory has changed.
- HEIGHT - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant for the default height of the stage.
- HibernateUtils - Class in com.JayPi4c.RobbiSimulator.utils
-
Utility class to manage the Hibernate SessionFactory.
- Hollow - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing a Hollow tile.
- Hollow() - Constructor for class com.JayPi4c.RobbiSimulator.model.Hollow
- HOLLOW - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState HOLLOW.
- HollowAheadException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if robbi tries to move into a hollow-
- HollowAheadException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.HollowAheadException
-
Constructor for a new HollowAheadException with a localized message.
I
- i18n(String, Object...) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Returns the String mapped to the provided key in the current locale.
- I18nUtils - Class in com.JayPi4c.RobbiSimulator.utils
-
Utility-Class to support internationalization.
- id() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Returns the value of the
id
record component. - init() - Method in class com.JayPi4c.RobbiSimulator.App
- initialize() - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Initializes the Application on startup and makes sure the programs folder and the DefaultRobbi class exists
- initialize() - Static method in class com.JayPi4c.RobbiSimulator.controller.tutor.TutorController
-
Creates a new RMI registry and gets ready to accept connections.
- initialize() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Loads the properties and stores them in an Object.
- InvalidTerritoryException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if the user tries to load an invalid territory.
- InvalidTerritoryException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.InvalidTerritoryException
-
Constructor for a new InvalidTerritoryException with a message.
- Invisible - Annotation Interface in com.JayPi4c.RobbiSimulator.utils.annotations
-
Annotation to hide methods from the ContextMenu.
- isEdited() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
Whether the program is edited or not
- isPaused() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
- isSoundsEnabled() - Method in class com.JayPi4c.RobbiSimulator.controller.MainStageController
- isStopped() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
- istLagerplatz() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
Checks if the tile on which Robbi stands is a stockpile
- istTascheVoll() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
checks if an item is in Robbis bag.
- isTutor() - Static method in class com.JayPi4c.RobbiSimulator.utils.PropertiesLoader
-
Getter for the role
- Item - Interface in com.JayPi4c.RobbiSimulator.model
-
Interface for all item classes.
- ITutor - Interface in com.JayPi4c.RobbiSimulator.controller.tutor
-
Interface for RMI communication
L
- LanguageController - Class in com.JayPi4c.RobbiSimulator.controller
-
Controller to handle the change of language.
- LanguageController(MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.LanguageController
-
Constructor to create a new LanguageController.
- Launcher - Class in com.JayPi4c.RobbiSimulator
-
In order to start the javaFX application without setting up the javaFX module in the settings, this class calls the main method of the App class.
- Launcher() - Constructor for class com.JayPi4c.RobbiSimulator.Launcher
- legeAb() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
If possible drop the item that is stored in the bag.
- linksUm() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
Turn Robbi counterclockwise.
- load() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
-
Loads a new MainStage with the given information.
- loadExample(int) - Static method in class com.JayPi4c.RobbiSimulator.controller.examples.ExampleService
-
Loads an example from the database by the given id.
M
- main(String[]) - Static method in class com.JayPi4c.RobbiSimulator.App
-
Application entry point
- main(String[]) - Static method in class com.JayPi4c.RobbiSimulator.Launcher
-
Main-method to start the whole program.
- MainStage - Class in com.JayPi4c.RobbiSimulator.view
-
This class is the mainStage of the application and holds all GUI elements that are visible to the user.
- MainStage(Program) - Constructor for class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constructor for the MainStage.
- MainStageController - Class in com.JayPi4c.RobbiSimulator.controller
-
This controller contains all the settings for the mainStage
- MainStageController(MainStage, ButtonState) - Constructor for class com.JayPi4c.RobbiSimulator.controller.MainStageController
-
Creates a new MainStageController and sets all the actions for the buttons in the mainStage
- MAX_SPEED_VALUE - Static variable in class com.JayPi4c.RobbiSimulator.view.Toolbar
-
Constant for the maximum value for the speed slider.
- menuAccuImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for accu icon.
- MenuBar - Class in com.JayPi4c.RobbiSimulator.view
-
The menuBar holds all possible actions for the application in one menuBar.
- MenuBar() - Constructor for class com.JayPi4c.RobbiSimulator.view.MenuBar
-
Creates a new MenuBar
- menuDeleteImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for delete icon.
- menuHollowImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for hollow icon.
- menuNutImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for nut icon.
- menuPauseImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for simulation pause icon.
- menuPileOfScrapImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for pileOfScrap icon.
- menuRobbiImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for robbi icon.
- menuScrewImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for screw icon.
- menuStartImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for simulation start/resume icon.
- menuStockpileImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for stockpile icon.
- menuStopImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for simulation stop icon.
- MethodHandler - Class in com.JayPi4c.RobbiSimulator.controller
-
MethodHandler to handle a methods invocation
- MethodHandler(Method, Territory, MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.MethodHandler
-
Creates a new MethodHandler with the method and the territory the message is for.
- MIN_HEIGHT - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant for the minimum height of the stage.
- MIN_SPEED_VALUE - Static variable in class com.JayPi4c.RobbiSimulator.view.Toolbar
-
Constant for the minimum value for the speed slider.
- MIN_WIDTH - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant for the minimum width of the stage.
N
- nehmeAuf() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
if possible take the item that occupies the tile Robbi is on.
- newImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for new icon.
- next() - Method in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
moves through the direction counter-clockwise
- NoItemException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if robbi tries to pick up an item from a tile, which has no item provied.
- NoItemException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.NoItemException
-
Constructor for a new NoItemException with a localized message.
- NONE - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState NONE.
- NoPileOfScrapAheadException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if robbi attempts to push a pile of scrap while there is no pile of scrap ahead of robbi.
- NoPileOfScrapAheadException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.NoPileOfScrapAheadException
-
Constructor for a new NoPileOfScrapAheadException with localized message.
- NORTH - Enum constant in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Direction if robbi is looking up.
- notifyAllObservers() - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Notifies all observers that the Observable Object has been updated.
- Nut - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing the nut-item.
- Nut() - Constructor for class com.JayPi4c.RobbiSimulator.model.Nut
- NUT - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState NUT.
O
- Observable - Class in com.JayPi4c.RobbiSimulator.utils
-
Abstract class to allow the Observer-Pattern.
- Observable() - Constructor for class com.JayPi4c.RobbiSimulator.utils.Observable
-
Constructor for the Observable class which initializes the observer array.
- Observer - Interface in com.JayPi4c.RobbiSimulator.utils
-
Interface to allow to register to Observable classes.
- openImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for open icon.
- openProgram(Window) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Opens a FileChooser and loads the selected file.
P
- PATH_TO_PROGRAMS - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String with the Path name for the programs directory.
- pickItem() - Method in class com.JayPi4c.RobbiSimulator.model.Stockpile
-
Removes and returns the last item from the stockpile.
- pickItem() - Method in class com.JayPi4c.RobbiSimulator.model.Tile
-
Removes the item from the tile and returns it.
- PILE_OF_SCRAP - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState PILE_OF_SCRAP.
- PileOfScrap - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing a PileOfScrap Tile.
- PileOfScrap() - Constructor for class com.JayPi4c.RobbiSimulator.model.PileOfScrap
- placeAccu(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new Accu on the given tile if it is in bounds.
- placeHollow(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new Hollow at the given position if it is in bounds and robbi is not on the tile.
- placeItem(Item, int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Placing the given item in the territory at the given x-y-position.
- placeNut(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new Nut on the given tile if it is in bounds.
- placePileOfScrap(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new PileOfScrap at the given position if it is in bounds.
- placeRobbi(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
move robbi to the given position.
- placeScrew(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new Screw on the given tile if it is in bounds.
- placeStockpile(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Place a new Stockpile at the given position if it is in bounds.
- playWarnSound() - Static method in class com.JayPi4c.RobbiSimulator.utils.SoundManager
-
Plays a warning sounds.
- POSTFIX_TEMPLATE - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String for the editor postfix, to close the class and make it compilable.
- PREFIX_TEMPLATE - Static variable in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Constant String for the editor prefix which is needed to compile the class and load into the simulator.
- previous() - Method in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Moves through the direction clockwise.
- printImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for print icon.
- Program - Class in com.JayPi4c.RobbiSimulator.controller.program
-
This class contains the contents, the name of program and whether it is edited or not
- Program(File, String) - Constructor for class com.JayPi4c.RobbiSimulator.controller.program.Program
-
Creates and loads a program from a given file and the program name
- ProgramController - Class in com.JayPi4c.RobbiSimulator.controller.program
-
This controller contains all functionality to initialize the application, load, save and compile a program.
- PropertiesLoader - Class in com.JayPi4c.RobbiSimulator.utils
-
Utility-class for Properties.
Q
- query(String) - Static method in class com.JayPi4c.RobbiSimulator.controller.examples.ExampleService
-
Method to get all examples identified by id and programName by their tag.
R
- removeItem(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Removes the item from the given position.
- removeObserver(Observer) - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Removes the given Observer from the list of observers.
- renameFile(File, String) - Static method in class com.JayPi4c.RobbiSimulator.controller.program.ProgramController
-
Renames a java file in the programs directory to the new name.
- Request - Record Class in com.JayPi4c.RobbiSimulator.controller.tutor
-
Wrapper to hold a request instance.
- Request(int, String, String) - Constructor for record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Creates an instance of a
Request
record class. - resetImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for reset icon.
- restore(TerritoryState) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Restores the territory from a memento object.
- Robbi - Class in com.JayPi4c.RobbiSimulator.model
-
This is the actor class of the simulator.
- Robbi() - Constructor for class com.JayPi4c.RobbiSimulator.model.Robbi
- ROBBI - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState ROBBI.
- RobbiContextMenu - Class in com.JayPi4c.RobbiSimulator.view
-
Class to for the ContextMenu which opens, when clicked on robbi in the simulator.
- RobbiContextMenu(Territory, MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.view.RobbiContextMenu
-
Constructor to create a new RobbiContextMenu.
- RobbiException - Exception in com.JayPi4c.RobbiSimulator.model
-
Abstract Exception class for almost all exceptions thrown in this application.
- RobbiException(String) - Constructor for exception com.JayPi4c.RobbiSimulator.model.RobbiException
-
Constructor for a new RobbiException with the given message key.
- robbiMove - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for RobbiMove icon.
- robbiOnTile(int, int) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Checks if robbi is on the tile with the given coords.
- robbiPut - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for RobbiPut icon.
- RobbiState - Class in com.JayPi4c.RobbiSimulator.model
-
Robbi State to store all state relevant attributes in order to apply the Memento-Pattern.
- RobbiState(int, int, DIRECTION, Item) - Constructor for class com.JayPi4c.RobbiSimulator.model.RobbiState
- robbiTake - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for RobbiTake icon.
- robbiTurnLeft - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for RobbiTurnLeft icon.
- rows() - Method in record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Returns the value of the
rows
record component. - run() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
-
Starts the simulation and triggers the robbis main-Method.
S
- save() - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
Forces the program to be saved even if it might not be edited.
- save() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Saves the Territory in a TerritoryState in order to allow to restore it later.
- save(String) - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
saves the text of the editor-content into the corresponding file It does only save the given text, if the changes were made
- saveImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for save icon.
- SceneManager - Class in com.JayPi4c.RobbiSimulator.utils
-
Class to manage the loaded scene.
- schiebeSchrotthaufen() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
If a pile of scrap is ahead of Robbi and afterwards a nonblocking tile, Robbi pushes the pile of scrap one tile the direction he is facing.
- Screw - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing the screw-item.
- Screw() - Constructor for class com.JayPi4c.RobbiSimulator.model.Screw
- SCREW - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState SCREW.
- sendRequest(String, String) - Method in interface com.JayPi4c.RobbiSimulator.controller.tutor.ITutor
-
Sends a request of code and territory to the tutor and returns the id of the request at the tutors instance.
- sendRequest(String, String) - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
- setAnswer(int, Answer) - Method in class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
-
Adds an answer with the corresponding id in the list of done answers.
- setBundle(ResourceBundle) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Setter for the current resourceBundle.
- setChangeCursor(boolean) - Method in class com.JayPi4c.RobbiSimulator.controller.MainStageController
- setChanged() - Method in class com.JayPi4c.RobbiSimulator.utils.Observable
-
Sets the changed flag to true, in order to allow the notifyAllObservers method to inform all observers.
- setCode(String) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- setDarkmode(boolean) - Static method in class com.JayPi4c.RobbiSimulator.utils.SceneManager
-
Setter for the current dark-mode flag.
- setEdited(boolean) - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
Whether the program is edited or not
- setEditorContent(String) - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
Sets the editorContent and notifies all Observers, namely the MainStageController to update the textEditors content.
- setId(int) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- setItem(Item) - Method in class com.JayPi4c.RobbiSimulator.model.Hollow
-
Setter to place an item in the hollow.
- setItem(Item) - Method in class com.JayPi4c.RobbiSimulator.model.PileOfScrap
-
Setter to place an item on a PileOfScrap.
- setItem(Item) - Method in class com.JayPi4c.RobbiSimulator.model.Stockpile
-
Adds the given item to the list of items on the stockpile.
- setItem(Item) - Method in class com.JayPi4c.RobbiSimulator.model.Tile
-
Attribute to store the item whoch is placed on the tile.
- setLocale(String) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Setter for the current locale by the String representation of the locale.
- setLocale(Locale) - Static method in class com.JayPi4c.RobbiSimulator.utils.I18nUtils
-
Sets the bundle to the given locale.
- setName(String) - Method in class com.JayPi4c.RobbiSimulator.controller.program.Program
-
The name of the program
- setPaused(boolean) - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
- setProgramName(String) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- setRobbi(Robbi) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Setter to update Robbi in the territory.
- setSelected(int) - Method in class com.JayPi4c.RobbiSimulator.controller.ButtonState
- setSizeChanged(boolean) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Setter to update if the size has changed.
- setSound(boolean) - Static method in class com.JayPi4c.RobbiSimulator.utils.SoundManager
-
Setter for the current sound flag.
- setSpeed(double) - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.SimulationController
-
Updates the speed attribute to the given parameter.
- setStopped(boolean) - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
- setTags(List<String>) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- setTerritory(String) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- showAlertAndWait(Alert.AlertType, String, Window) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates and shows an alert with the given information.
- showAlertAndWait(Alert.AlertType, String, Window, Modality) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates and shows an alert with the given information.
- showAlertAndWait(Alert.AlertType, String, Window, Modality, String, String) - Static method in class com.JayPi4c.RobbiSimulator.utils.AlertHelper
-
Creates and shows an alert with the given information.
- showMessage(String, Object...) - Method in class com.JayPi4c.RobbiSimulator.controller.SnackbarController
- showProgramSelection(List<Pair<Integer, String>>) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.ExamplesController
-
Shows an DialogWindow listing all programNames and its IDs.
- showTagSelection(List<String>) - Method in class com.JayPi4c.RobbiSimulator.controller.examples.ExamplesController
-
Shows an DialogWindow listing all tags.
- shutdown() - Static method in class com.JayPi4c.RobbiSimulator.controller.tutor.TutorController
-
Unbinds all previously binded instances.
- shutdown() - Static method in class com.JayPi4c.RobbiSimulator.utils.HibernateUtils
-
Utility function to shutdown the database connection.
- Simulation - Class in com.JayPi4c.RobbiSimulator.controller.simulation
-
This Simulation class is a separate thread that runs the code of robbis main-Method.
- Simulation(Territory, SimulationController, Window) - Constructor for class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
-
Constructor to create a new Simulation, which can execute robbis main-Method.
- SimulationController - Class in com.JayPi4c.RobbiSimulator.controller.simulation
-
Controller to handle all actions belonging to the simulation.
- SimulationController(MainStage, Territory) - Constructor for class com.JayPi4c.RobbiSimulator.controller.simulation.SimulationController
-
Constructor to create a new SimulationController, which adds all actions to the corresponding gui elements.
- SnackbarController - Class in com.JayPi4c.RobbiSimulator.controller
- SnackbarController(Pane) - Constructor for class com.JayPi4c.RobbiSimulator.controller.SnackbarController
- SoundManager - Class in com.JayPi4c.RobbiSimulator.utils
-
Manager to load and play sounds.
- soundProperty() - Static method in class com.JayPi4c.RobbiSimulator.utils.SoundManager
-
ObjectProperty to allow bindings
- SOUTH - Enum constant in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Direction if robbi is looking down.
- start(Stage) - Method in class com.JayPi4c.RobbiSimulator.App
- Stockpile - Class in com.JayPi4c.RobbiSimulator.model
-
Class representing a Stockpile tile.
- Stockpile() - Constructor for class com.JayPi4c.RobbiSimulator.model.Stockpile
-
Constructor to create a new Stockpile and initialize the list of items on the stockpile.
- STOCKPILE - Static variable in class com.JayPi4c.RobbiSimulator.controller.ButtonState
-
Constant for the ButtonState STOCKPILE.
- stop() - Method in class com.JayPi4c.RobbiSimulator.App
- StopException - Exception in com.JayPi4c.RobbiSimulator.controller.simulation
-
This Exception indicates, that the simulation has been interrupted.
- StopException() - Constructor for exception com.JayPi4c.RobbiSimulator.controller.simulation.StopException
- stopSimulation() - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.SimulationController
-
Stops the simulation if one exists.
- store(String, String, String, List<String>) - Static method in class com.JayPi4c.RobbiSimulator.controller.examples.ExampleService
-
Method to store an example with its tags in the database.
- StudentController - Class in com.JayPi4c.RobbiSimulator.controller.tutor
-
Controller to handle actions of a student.
- StudentController(MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.tutor.StudentController
-
Constructor to create a new StudentController
T
- terrainImage - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant Image for terrain icon.
- territory() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Returns the value of the
territory
record component. - territory() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Returns the value of the
territory
record component. - Territory - Class in com.JayPi4c.RobbiSimulator.model
-
This class contains all datastructures and utility functions to control the territory.
- Territory() - Constructor for class com.JayPi4c.RobbiSimulator.model.Territory
-
Creates a new Territory with a new robbi instance and initializes all tiles to the default size.
- TerritoryEventHandler - Class in com.JayPi4c.RobbiSimulator.controller
-
This class combines all functions needed to control the user interaction with the territory
- TerritoryEventHandler(Territory, TerritoryPanel, ButtonState, MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.TerritoryEventHandler
-
Creates a new TerritoryEventHandler and sets the contextMenuRequest to show a RobbiContextMenu if the user right-clicks on Robbi
- TerritoryPanel - Class in com.JayPi4c.RobbiSimulator.view
-
This class draws the territory on a panel to allow interacting with the graphical interface.
- TerritoryPanel(Territory, ButtonState, MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
-
Constructor to create a new territory panel for the given territory.
- TerritorySaveController - Class in com.JayPi4c.RobbiSimulator.controller
-
Controller to handle all territory save action.
- TerritorySaveController(MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.TerritorySaveController
-
Constructor to create a new TerritorySaveController for the given mainStage.
- TerritoryState - Class in com.JayPi4c.RobbiSimulator.model
-
Territory State to store all state relevant attributes in order to apply the Memento-Pattern.
- TerritoryState(int, int, Tile[][], Robbi) - Constructor for class com.JayPi4c.RobbiSimulator.model.TerritoryState
-
Constructor to create a Territory state.
- Tile - Class in com.JayPi4c.RobbiSimulator.model
-
The default Tile for the territory.
- Tile() - Constructor for class com.JayPi4c.RobbiSimulator.model.Tile
- TileBlockedException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if robbi attempts to move a pile of Scrap while the tile ahead is not suitable to push a pile to.
- TileBlockedException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.TileBlockedException
-
Constructor for a new TileBlockedException with localized message.
- TileIsFullException - Exception in com.JayPi4c.RobbiSimulator.model
-
Exception to be thrown if robbi attempts to place an item on a tile, that has already an item stored.
- TileIsFullException() - Constructor for exception com.JayPi4c.RobbiSimulator.model.TileIsFullException
-
Constructor for a new TileIsFullException with localized message.
- Toolbar - Class in com.JayPi4c.RobbiSimulator.view
-
The toolbar allows faster access to the most common actions.
- Toolbar(MenuBar) - Constructor for class com.JayPi4c.RobbiSimulator.view.Toolbar
-
Creates a new Toolbar
- toString() - Method in class com.JayPi4c.RobbiSimulator.controller.examples.Example
- toString() - Method in record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Returns a string representation of this record class.
- toString() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Answer
-
Returns a string representation of this record class.
- toString() - Method in record class com.JayPi4c.RobbiSimulator.controller.tutor.Request
-
Returns a string representation of this record class.
- toString() - Method in record class com.JayPi4c.RobbiSimulator.model.Dimension
-
Returns a string representation of this record class.
- toXML() - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Creates a ByteArrayOutputStream that contains the territory encoded as XML.
- Tutor - Class in com.JayPi4c.RobbiSimulator.controller.tutor
-
ITutor implementation to handle the RMI invocations.
- Tutor() - Constructor for class com.JayPi4c.RobbiSimulator.controller.tutor.Tutor
-
Create a new tutor-instance
- TUTOR_CODE - Static variable in class com.JayPi4c.RobbiSimulator.controller.tutor.TutorController
-
Code to bind a tutor instance to the RMI instance.
- TutorController - Class in com.JayPi4c.RobbiSimulator.controller.tutor
-
Controller to handle actions of a tutor.
- TutorController(MainStage) - Constructor for class com.JayPi4c.RobbiSimulator.controller.tutor.TutorController
-
Constructor to create a new TutorController.
- type() - Method in record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Returns the value of the
type
record component.
U
- update() - Method in class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
-
Centers the territory if the size has changed.
- update(Territory, Item, int, int, DIRECTION) - Method in class com.JayPi4c.RobbiSimulator.model.Territory
-
Updates the territory to the given territory and updates robbi with the additional information.
- update(Observable) - Method in class com.JayPi4c.RobbiSimulator.controller.MainStageController
- update(Observable) - Method in class com.JayPi4c.RobbiSimulator.controller.simulation.Simulation
-
If the territory has been updated by a non-FXApplicationThread, this thread is sleeping for the time provided by the SimulationController.
- update(Observable) - Method in interface com.JayPi4c.RobbiSimulator.utils.Observer
-
Notifies the observer whenever the Observable class is notifying all observers about changes.
- update(Observable) - Method in class com.JayPi4c.RobbiSimulator.view.TerritoryPanel
- updateTitle() - Method in class com.JayPi4c.RobbiSimulator.controller.LanguageController
-
needed since the star (*) would mess with the binding property TODO use formatted String
V
- value() - Method in record class com.JayPi4c.RobbiSimulator.controller.program.Diagnostics.Diagnostic
-
Returns the value of the
value
record component. - value() - Element in annotation interface com.JayPi4c.RobbiSimulator.utils.annotations.Default
-
Returns the default value for the annotated parameter as a String.
- valueOf(String) - Static method in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vor() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
If possible move Robbi one tile towards the direction it is facing.
- vornKuhle() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
checks if a hollow is ahead of Robbi.
- vornSchrotthaufen() - Method in class com.JayPi4c.RobbiSimulator.model.Robbi
-
checks if a pile of scrap is ahead of Robbi.
W
- WEST - Enum constant in enum class com.JayPi4c.RobbiSimulator.model.DIRECTION
-
Direction if robbi is looking left.
- WIDTH - Static variable in class com.JayPi4c.RobbiSimulator.view.MainStage
-
Constant for the default width of the stage.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form