java.lang.Object
edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup

public class Affine2DPopup extends AbstractPopup
Popup for modifying the Affine2D transformations.
  • Field Details

    • matrixTextFields

      private final javafx.scene.control.TextField[][] matrixTextFields
      The matrix text fields.
    • vectorTextFields

      private final javafx.scene.control.TextField[] vectorTextFields
      The vector text fields.
  • Constructor Details

    • Affine2DPopup

      public Affine2DPopup(ChaosGameDescription gameDescription)
      Constructor for the Affine2DPopup.
      Parameters:
      gameDescription - the chaos game description to be modified.
  • Method Details

    • displayCurrentValues

      private void displayCurrentValues(ChaosGameDescription gameDescription)
      Displays the current values from the ChaosGameDescription in the text fields.
      Parameters:
      gameDescription - the ChaosGameDescription to display values from.
    • getMatrixTextFields

      public javafx.scene.control.TextField[][] getMatrixTextFields()
      Gets the matrix text fields.
      Returns:
      the matrix text fields.
    • getVectorTextFields

      public javafx.scene.control.TextField[] getVectorTextFields()
      Gets the vector text fields.
      Returns:
      the vector text fields.