Class Affine2DPopup
java.lang.Object
edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
edu.ntnu.stud.chaosgame.view.modificationpopups.Affine2DPopup
Popup for modifying the Affine2D transformations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final javafx.scene.control.TextField[][]
The matrix text fields.private final javafx.scene.control.TextField[]
The vector text fields.Fields inherited from class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
bottomLayout, layout, maxXTextField, maxYTextField, minXTextField, minYTextField, nameTextField, popupModifyStage, scene, updateButton
-
Constructor Summary
ConstructorsConstructorDescriptionAffine2DPopup
(ChaosGameDescription gameDescription) Constructor for the Affine2DPopup. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
displayCurrentValues
(ChaosGameDescription gameDescription) Displays the current values from the ChaosGameDescription in the text fields.javafx.scene.control.TextField[][]
Gets the matrix text fields.javafx.scene.control.TextField[]
Gets the vector text fields.Methods inherited from class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
createNumericTextField, display, getMaxXTextField, getMaxYTextField, getMinXTextField, getMinYTextField, getNameTextField, getPopupModifyStage, getUpdateButton, initializeLayout
-
Field Details
-
matrixTextFields
private final javafx.scene.control.TextField[][] matrixTextFieldsThe matrix text fields. -
vectorTextFields
private final javafx.scene.control.TextField[] vectorTextFieldsThe vector text fields.
-
-
Constructor Details
-
Affine2DPopup
Constructor for the Affine2DPopup.- Parameters:
gameDescription
- the chaos game description to be modified.
-
-
Method Details
-
displayCurrentValues
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.
-