Index
All Classes and Interfaces|All Packages
A
- a00 - Variable in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
The a00 component of the matrix.
- a01 - Variable in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
The a01 component of the matrix.
- a10 - Variable in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
The a10 component of the matrix.
- a11 - Variable in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
The a11 component of the matrix.
- AbstractPopup - Class in edu.ntnu.stud.chaosgame.view.modificationpopups
-
Abstract class for popups.
- AbstractPopup(VBox) - Constructor for class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Constructor for AbstractPopup.
- add(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
Add another vector to this vector.
- addObserver(GuiButtonObserver) - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Adds an observer to the list of observers.
- Affine2DPopup - Class in edu.ntnu.stud.chaosgame.view.modificationpopups
-
Popup for modifying the Affine2D transformations.
- Affine2DPopup(ChaosGameDescription) - Constructor for class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
Constructor for the Affine2DPopup.
- AffineTransform2D - Class in edu.ntnu.stud.chaosgame.model.transformations
-
Represents affine transformations in a 2D-plane by extending the abstract class Transform2D
Transform2D
. - AffineTransform2D(Matrix2x2, Vector2D) - Constructor for class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
-
Create a type of affine transformation.
- affineZoom(ScrollEvent) - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Zooms the image view in or out based on the scroll event.
- aspectRatio - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The aspect ratio of the GUI.
B
- borderPane - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The BorderPane for the GUI.
- bottomLayout - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
The bottom layout of the popup.
C
- c1 - Variable in class edu.ntnu.stud.chaosgame.model.transformations.JuliaTransform
-
The complex number represented through Complex
Complex
which is added or subtracted in the Julia transformations. - canvas - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
The ChaosCanvas for this ChaosGame.
- canvas - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Table representing the canvas.
- canvas - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The canvas for this GUI.
- canvasIntensityArray - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
This array keeps track of how many times a pixel has been visited, to be used to determine the color of the pixel when displayed.
- chaosCanvas - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The canvas for the chaos game.
- chaosCanvas - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The ChaosCanvas for this GUI.
- ChaosCanvas - Class in edu.ntnu.stud.chaosgame.model.game
-
Class representing the canvas for the display of the chaos game.
- ChaosCanvas(int, int, Vector2D, Vector2D) - Constructor for class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Parameterized constructor for the class.
- ChaosCanvasToImageConverter - Class in edu.ntnu.stud.chaosgame.view
-
This class converts the state of a ChaosCanvas to a WritableImage.
- ChaosCanvasToImageConverter(ChaosCanvas, boolean, WritableImage) - Constructor for class edu.ntnu.stud.chaosgame.view.ChaosCanvasToImageConverter
-
Convert the canvas to a writable image.
- ChaosGame - Class in edu.ntnu.stud.chaosgame.controller.game
-
Class representing the chaos game, responsible for managing its progression.
- ChaosGame(ChaosGameDescription, ChaosCanvas) - Constructor for class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Basic parameterised constructor.
- ChaosGameDescription - Class in edu.ntnu.stud.chaosgame.model.game
-
Description of the chaos game, representing its mathematical properties.
- ChaosGameDescription(Vector2D, Vector2D, List<Transform2D>) - Constructor for class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Constructor for ChaosGameDescription.
- ChaosGameDescription(Vector2D, Vector2D, List<Transform2D>, String) - Constructor for class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Parameterised constructor for ChaosGameDescription with name.
- ChaosGameDescriptionFactory - Class in edu.ntnu.stud.chaosgame.model.generators
-
Class that generates a set number of ChaosGameDescription instances using a set of files read by a ChaosGameFileHandler.
- ChaosGameDescriptionFactory() - Constructor for class edu.ntnu.stud.chaosgame.model.generators.ChaosGameDescriptionFactory
-
Constructor for the class.
- ChaosGameFileHandler - Class in edu.ntnu.stud.chaosgame.controller.utility
-
Class for handling the reading and writing of chaos game files.
- ChaosGameFileHandler() - Constructor for class edu.ntnu.stud.chaosgame.controller.utility.ChaosGameFileHandler
- ChaosGameGui - Class in edu.ntnu.stud.chaosgame.view
-
Class representing the GUI for a ChaosGame, implementing a ChaosGameObserver interface to receive updates from the ChaosGame.
- ChaosGameGui(Stage) - Constructor for class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Constructor for the ChaosGameGui.
- ChaosGameImageView - Class in edu.ntnu.stud.chaosgame.view
-
This class extends ImageView to implement proper zooming and panning according to the requirements of the chaos game.
- ChaosGameImageView(ChaosGameGui) - Constructor for class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Constructor for the ChaosGameImageView.
- ChaosGameObserver - Interface in edu.ntnu.stud.chaosgame.view
-
Observer interface for monitoring changes to the active.
- clearButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The button for clearing the canvas and starting a new fractal.
- clearCanvas() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Clears the canvas.
- clearCanvas() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Clear the canvas of all content.
- clearImageView() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Color the entire image view white.
- colorCheckBox - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The color check box for the GUI.
- Complex - Class in edu.ntnu.stud.chaosgame.model.data
-
Class representing a complex number.
- Complex(double, double) - Constructor for class edu.ntnu.stud.chaosgame.model.data.Complex
-
Create a new complex number.
- controller - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The controller for the GUI.
- controller - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
The controller for this class: a chaos game GUI view.
- convertWithIntensity(ChaosCanvas) - Method in class edu.ntnu.stud.chaosgame.view.ChaosCanvasToImageConverter
-
Convert the ChaosCanvas to an image using the intensity of the pixels to determine the color.
- convertWithoutIntensity(ChaosCanvas) - Method in class edu.ntnu.stud.chaosgame.view.ChaosCanvasToImageConverter
-
Convert the ChaosCanvas to an image without concern for the intensity of the pixels.
- createChaosGameDescriptionFromAffine2dPopup(Affine2DPopup) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Creates a ChaosGameDescription from the data in an Affine2DPopup.
- createChaosGameDescriptionFromJuliaPopup(JuliaPopup) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Creates a ChaosGameDescription from the data in a JuliaPopup.
- createNumericTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Creates a numeric text field with a float formatter.
- currentImagePath - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The current image path.
- currentPoint - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
The current point in the chaos game.
D
- description - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
The chaos game description.
- description - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The ChaosGameDescription.
- descriptionComboBox - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
A description ComboBox for choosing different fractal descriptions.
- descriptions - Variable in class edu.ntnu.stud.chaosgame.model.generators.ChaosGameDescriptionFactory
-
The list of all the descriptions generated from the data in the directory specified in constructor.
- display() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Displays the popup.
- displayCurrentValues(ChaosGameDescription) - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
Displays the current values from the ChaosGameDescription in the text fields.
- displayCurrentValues(ChaosGameDescription) - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
Displays the current values from the ChaosGameDescription.
- displayError(String, String) - Static method in class edu.ntnu.stud.chaosgame.controller.utility.PopupManager
-
Display a basic error.
- drawChaosGame() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Draws the chaos game on the canvas.
E
- edu.ntnu.stud.chaosgame - package edu.ntnu.stud.chaosgame
- edu.ntnu.stud.chaosgame.controller.game - package edu.ntnu.stud.chaosgame.controller.game
- edu.ntnu.stud.chaosgame.controller.utility - package edu.ntnu.stud.chaosgame.controller.utility
- edu.ntnu.stud.chaosgame.model.data - package edu.ntnu.stud.chaosgame.model.data
- edu.ntnu.stud.chaosgame.model.game - package edu.ntnu.stud.chaosgame.model.game
- edu.ntnu.stud.chaosgame.model.generators - package edu.ntnu.stud.chaosgame.model.generators
- edu.ntnu.stud.chaosgame.model.transformations - package edu.ntnu.stud.chaosgame.model.transformations
- edu.ntnu.stud.chaosgame.view - package edu.ntnu.stud.chaosgame.view
- edu.ntnu.stud.chaosgame.view.modificationpopups - package edu.ntnu.stud.chaosgame.view.modificationpopups
F
- factory - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The factory for the chaos game descriptions.
- factory - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The ChaosGameDescriptionFactory.
- fileHandler - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The file handler for the chaos game.
- fileHandler - Variable in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
The file handler for handling file operations.
- fileHandler - Variable in class edu.ntnu.stud.chaosgame.model.generators.ChaosGameDescriptionFactory
-
The file handler for reading the files.
- findValidPoint(Vector2D) - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
If the point is out of bounds, iterate until it is within bounds.
- floatFormatter - Static variable in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
A formatter for text fields that only allows for floating point numbers.
- Formatter - Class in edu.ntnu.stud.chaosgame.controller.utility
-
This class sets formatting constraints for certain UI components.
- Formatter() - Constructor for class edu.ntnu.stud.chaosgame.controller.utility.Formatter
G
- game - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The chaos game.
- game - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The ChaosGame for this GUI.
- getA00() - Method in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Getter method for the a00 component of the matrix.
- getA01() - Method in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Getter method for the a01 component of the matrix.
- getA10() - Method in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Getter method for the a10 component of the matrix.
- getA11() - Method in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Getter method for the a11 component of the matrix.
- getC1() - Method in class edu.ntnu.stud.chaosgame.model.transformations.JuliaTransform
-
Getter method to use with
ChaosGameFileHandler
. - getCanvas() - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Get the canvas of this chaos game.
- getCanvas() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the canvas for this GUI.
- getCanvasArray() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the array defining the size of the canvas.
- getCanvasIntensityArray() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the canvas intensity array.
- getClearButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the clear button for this GUI.
- getColorCheckBox() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the color check box for this GUI.
- getCurrentPoint() - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Get the current point in the chaos game.
- getDescription() - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Get the description for this choas game.
- getDescriptionComboBox() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the description combo box.
- getDescriptions() - Method in class edu.ntnu.stud.chaosgame.model.generators.ChaosGameDescriptionFactory
-
Get the list of descriptions.
- getFloatFormatter() - Static method in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
Get the float formatter as a TextFormatter.
- getHeight() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the height of the ChaosCanvas.
- getImage() - Method in class edu.ntnu.stud.chaosgame.view.ChaosCanvasToImageConverter
-
Get the image.
- getImageView() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the image view of this GUI.
- getImagPartTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
Gets the imaginary part text field.
- getIntensityPixel(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the intensity of a pixel located at a point.
- getIntFormatter() - Static method in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
Get the integer formatter as a TextFormatter.
- getIterationLimitTextField() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the iteration limit text field for this GUI.
- getLoadFractalFromFileButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the load fractal from file button.
- getMatrix() - Method in class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
-
Getter method to use with
ChaosGameFileHandler
. - getMatrixTextFields() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
Gets the matrix text fields.
- getMaxCoords() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the vector storing the maximum coordinates.
- getMaxCoords() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Getter method for maximum coordinates.
- getMaxXTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the text field for the maximum x value.
- getMaxYTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the text field for the maximum y value.
- getMinCoords() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the vector storing the minimum coordinates.
- getMinCoords() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Getter method for minimum coordinates.
- getMinXTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the text field for the minimum x value.
- getMinYTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the text field for the minimum y value.
- getModifyGameButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the modify game button.
- getName() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Getter method for the name of the chaos game.
- getNameTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the text field for the name.
- getPixel(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get a pixel located at a point.
- getPopupModifyStage() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the stage of the popup.
- getQuitButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the quit button for this GUI.
- getRealPartTextField() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
Gets the real part text field.
- getSaveImageButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the save image button.
- getSize() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the width and height of the canvas in the form of an array where the first index stores the width and the second stores the height.
- getStage() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the primary stage for this GUI.
- getStartButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the start button for this GUI.
- getStepCountTextField() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the step count text field for this GUI.
- getStopButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the stop button for this GUI.
- getTransform() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Gets the current transform.
- getTransforms() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
Getter method for transforms.
- getUpdateButton() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Gets the update button.
- getVector() - Method in class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
-
Getter method to use with
ChaosGameFileHandler
. - getVectorTextFields() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
Gets the vector text fields.
- getWidth() - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Get the width of the ChaosCanvas.
- getWriteToFileButton() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Get the write fractal to file button.
- getX0() - Method in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
Get the x0 component of the vector.
- getX1() - Method in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
Get the x1 component of the vector.
- gui - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The GUI this controller is associated with.
- GuiButtonController - Class in edu.ntnu.stud.chaosgame.controller.game
-
Controller class for handling GUI button actions.
- GuiButtonController(ChaosGame, ChaosGameGui) - Constructor for class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Constructs a GuiButtonController with the given game and GUI.
- GuiButtonObserver - Interface in edu.ntnu.stud.chaosgame.view
-
Observer interface for monitoring changes to the GUI buttons.
H
- handleUpdateButton(Affine2DPopup) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Handles the update button action for the Affine2DPopup.
- handleUpdateButton(JuliaPopup) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Handles the update button action for the JuliaPopup.
- height - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Height of the canvas.
- height - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The height of the GUI.
I
- image - Variable in class edu.ntnu.stud.chaosgame.view.ChaosCanvasToImageConverter
-
The image to be created or reused.
- imageView - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The ImageView for the GUI.
- imagPartTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
The text field for the imaginary part of the complex number.
- initializeCommonElements() - Method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Initializes common elements of the popup.
- initializeComponents() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialize the components of the GUI.
- initializeDescriptionComboBox() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Initializes the description combo box.
- initializeFractalComponents() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialize the buttons related to managing the fractals.
- initializeGameComponents() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialize the components related to the chaos game itself.
- initializeImageView() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialize components related to the image view and zoom function.
- initializeLayout() - Static method in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Initializes the layout of the popup.
- initializeSideButtonHandler() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialise the side bar button handler, allowing the user to show or hide the right sidebar.
- initializeSideMenu() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Initialize the side menu for the GUI, including all its buttons and other components.
- integerFormatter - Static variable in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
A formatter for text fields that only allows for integers.
- isNotFloat(String) - Static method in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
Check if a string can be converted to a float.
- isPointInCanvasRange(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Checks whether a given point is within the current subsection of the coordinate space.
- iterationLimitTextField - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The iteration limiter text field for the GUI.
J
- JuliaPopup - Class in edu.ntnu.stud.chaosgame.view.modificationpopups
-
Popup for modifying the Julia set.
- JuliaPopup(ChaosGameDescription) - Constructor for class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
Constructor for the JuliaPopup.
- JuliaTransform - Class in edu.ntnu.stud.chaosgame.model.transformations
-
Represents Julia transformations in a 2D-plane by extending the abstract class Transform2D
Transform2D
. - JuliaTransform(Complex, int) - Constructor for class edu.ntnu.stud.chaosgame.model.transformations.JuliaTransform
-
Constructs a JuliaTransform object defined by the input.
L
- layout - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
The layout of the popup.
- limitTextFieldSize(TextField, int) - Static method in class edu.ntnu.stud.chaosgame.controller.utility.Formatter
-
Set up a listener for a TextField to limit its maximum size.
- loadDescriptions() - Method in class edu.ntnu.stud.chaosgame.model.generators.ChaosGameDescriptionFactory
-
Load the descriptions from the directory.
- loadFractalFromFile() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Loads a fractal from a file.
- loadFractalFromFileButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The load fractal from file and write fractal to file buttons for the GUI.
M
- main(String[]) - Static method in class edu.ntnu.stud.chaosgame.Main
-
Main method for the Chaos Game application.
- Main - Class in edu.ntnu.stud.chaosgame
-
Main class for the Chaos Game application.
- Main() - Constructor for class edu.ntnu.stud.chaosgame.Main
- matrix - Variable in class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
-
The matrix
Matrix2x2
which performs the matrix-multiplication part of the affine transformation. - Matrix2x2 - Class in edu.ntnu.stud.chaosgame.model.data
-
Class representing a 2x2 matrix.
- Matrix2x2(double, double, double, double) - Constructor for class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Create a new 2x2 matrix.
- matrixTextFields - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
The matrix text fields.
- maxCoords - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
The maximum coordinates of the canvas.
- maxCoords - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
The maximum coordinates.
- maxXTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Common elements of the popup.
- maxYTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Common elements of the popup.
- minCoords - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
The minimum coordinates of the canvas.
- minCoords - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
The minimum coordinates.
- minXTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Common elements of the popup.
- minYTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Common elements of the popup.
- modifyGame() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Modifies the game based on the selected transformation.
- modifyGameButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The button which opens a menu to modify the game.
- mouseDragged(MouseEvent) - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Drags the image view based on the mouse cursor position.
- mousePressed(MouseEvent) - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Gets mouse cursor position data when mouse button is pressed.
- multiply(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.data.Matrix2x2
-
Multiply the matrix by a vector., i.e.
N
- name - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
The name of the chaos game.
- nameTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
Common elements of the popup.
- notifyClearButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the clear button has been pressed.
- notifyLoadFractalFromFileButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the load fractal from file button has been pressed.
- notifyModifyGameButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the modify game button has been pressed.
- notifyQuitButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the quit button has been pressed.
- notifySaveImageButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the save image button has been pressed.
- notifyStartButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the start button has been pressed.
- notifyStopButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the stop button has been pressed.
- notifyWriteToFileButtonPressed() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Notifies all observers that the write to file button has been pressed.
- numOfTransforms - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Number of transforms.
O
- observer - Variable in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
The observer for the PopupButtonController.
- observers - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Observers monitoring this ChaosGame.
- observers - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The list of observers.
- onClearButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the clear button being pressed.
- onClearButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when clear-button is pressed.
- onLoadFractalFromFileButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the load fractal from file button being pressed.
- onLoadFractalFromFileButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when load fractal button is pressed.
- onModifyGameButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the modify game button being pressed.
- onModifyGameButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when modify game button is pressed.
- onQuitButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the quit button being pressed.
- onQuitButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when quit-button is pressed.
- onSaveImageButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the save image button being pressed.
- onSaveImageButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when save image button is pressed.
- onStartButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
- onStartButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when start-button is pressed.
- onStopButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the stop button being pressed.
- onStopButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when stop-button is pressed.
- onUpdate(ChaosGameDescription) - Method in interface edu.ntnu.stud.chaosgame.view.PopupObserver
-
Update the observer based on changes to the chaos game description.
- onWriteToFileButtonPressed() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Handle the write fractal to file button being pressed.
- onWriteToFileButtonPressed() - Method in interface edu.ntnu.stud.chaosgame.view.GuiButtonObserver
-
Used when write to file button is pressed.
P
- popupButtonController - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The controller for the popup buttons.
- PopupButtonController - Class in edu.ntnu.stud.chaosgame.controller.game
-
Controller class for handling the buttons related to modifying the chaos game in the user interface.
- PopupButtonController() - Constructor for class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Constructor for PopupButtonController.
- PopupManager - Class in edu.ntnu.stud.chaosgame.controller.utility
-
This class handles error popups across the ChaosGame application.
- PopupManager() - Constructor for class edu.ntnu.stud.chaosgame.controller.utility.PopupManager
- popupModifyStage - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
The stage of the popup.
- PopupObserver - Interface in edu.ntnu.stud.chaosgame.view
-
Observer interface for monitoring changes to the popup.
- primaryStage - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The primary stage for the GUI.
- putPixel(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Place a pixel on the canvas.
Q
- quitButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The quit button for the GUI.
- quitGame() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Quits the game.
R
- random - Variable in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
The random number generator for the chaos game.
- readFromFile(String) - Method in class edu.ntnu.stud.chaosgame.controller.utility.ChaosGameFileHandler
-
Creates a ChaosGameDescription based on the file found at the input path.
- realPartTextField - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
-
The text field for the real part of the complex number.
- resizeCanvas() - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Resize the canvas to fit the new dimensions of the scene.
- reusableImage - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The reusable image for the canvas.
- runSteps(int) - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Run the chaos game for n iterations.
S
- saveAndNotify(AbstractPopup, ChaosGameDescription) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Saves the ChaosGameDescription to a file and shows a confirmation popup.
- saveImage() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Saves the image.
- saveImageButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Button to save an image of the fractal.
- scene - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The Scene for the GUI.
- scene - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
The scene of the popup.
- scrollPane - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
ScrollPane for side menu.
- setDescription(ChaosGameDescription) - Method in class edu.ntnu.stud.chaosgame.controller.game.ChaosGame
-
Get the chaos game description.
- showConfirmationPopup(AbstractPopup) - Method in class edu.ntnu.stud.chaosgame.controller.game.PopupButtonController
-
Shows a confirmation popup when the ChaosGameDescription has been updated and saved.
- sideMenu - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The side menu for the GUI.
- sideMenuButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The side menu button for the GUI.
- sign - Variable in class edu.ntnu.stud.chaosgame.model.transformations.JuliaTransform
-
The sign used to determine if the Julia transformations adds or subtracts
Complex
c1. - sqrt() - Method in class edu.ntnu.stud.chaosgame.model.data.Complex
-
Get the square root of the complex number.
- start(Stage) - Method in class edu.ntnu.stud.chaosgame.Main
- startButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The start, stop, new, clear, quit and show sidebar buttons for the GUI.
- startGame() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Starts the game.
- startX - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
The starting position of the mouse cursor when dragging.
- startY - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
The starting position of the mouse cursor when dragging.
- stepCounter - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The step counter for the game.
- stepCountTextField - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The step count text field for the GUI.
- stopButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The stop button for the GUI.
- stopGame() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Stops the game.
- subtract(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
Subtract another vector from this vector.
T
- timeline - Variable in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
The timeline for the game.
- toBufferedImage(WritableImage) - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Converts a WritableImage to a BufferedImage.
- transform - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Affine initialised to the identity matrix, representing the current transformation as a result of zooming.
- transform(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
- transform(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.transformations.JuliaTransform
-
Performs a Julia-transformation on a point defined by the vector point.
- transform(Vector2D) - Method in class edu.ntnu.stud.chaosgame.model.transformations.Transform2D
-
Abstract method defining transformation in a 2D-plane.
- Transform2D - Class in edu.ntnu.stud.chaosgame.model.transformations
-
Abstract class representing transformations in a 2D-plane.
- Transform2D() - Constructor for class edu.ntnu.stud.chaosgame.model.transformations.Transform2D
- transformCoordsToIndices - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Affine transformation for converting coordinates to canvas indices.
- transforms - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosGameDescription
-
The affine transforms for this chaos game description.
U
- updateButton - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
-
The update button.
- updateCanvas(ChaosCanvas) - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Update the canvas and set a new zoom factor for the image view based on the ratio between the old and new canvas heights.
- updateCanvas(ChaosCanvas) - Method in interface edu.ntnu.stud.chaosgame.view.ChaosGameObserver
-
Update the ChaosCanvas.
- updateDescription(int) - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Updates the description of the chaos game.
- updateDescriptionComboBox() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Update the description of the chaos game..
- updateGame(ChaosGame) - Method in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
Update the observer based on changes to the chaos game.
- updateGame(ChaosGame) - Method in interface edu.ntnu.stud.chaosgame.view.ChaosGameObserver
-
Update the observer based on changes to the chaos game.
V
- vector - Variable in class edu.ntnu.stud.chaosgame.model.transformations.AffineTransform2D
-
The vector
Vector2D
which is added as part of the affine transformation. - Vector2D - Class in edu.ntnu.stud.chaosgame.model.data
-
Class representing a 2D vector.
- Vector2D(double, double) - Constructor for class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
Create a new 2D vector; parameterized.
- vectorTextFields - Variable in class edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
-
The vector text fields.
W
- width - Variable in class edu.ntnu.stud.chaosgame.model.game.ChaosCanvas
-
Width of the canvas.
- width - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The width of the GUI.
- writeFractalToFile() - Method in class edu.ntnu.stud.chaosgame.controller.game.GuiButtonController
-
Writes the fractal to a file.
- writeFractalToFileButton - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameGui
-
The write fractal to file button for the GUI.
- writeToFile(ChaosGameDescription, String) - Method in class edu.ntnu.stud.chaosgame.controller.utility.ChaosGameFileHandler
-
Reads from a file.
X
- x0 - Variable in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
The x0 component of the vector.
- x1 - Variable in class edu.ntnu.stud.chaosgame.model.data.Vector2D
-
The x1 component of the vector.
Z
- zoomFactor - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
The factor representing the magnitude of the current zoom.
- zoomLevel - Variable in class edu.ntnu.stud.chaosgame.view.ChaosGameImageView
-
Integer representing how many recursive levels of QuadTrees are required to get to the current zoom magnitude.
All Classes and Interfaces|All Packages