Class JuliaPopup
java.lang.Object
edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
edu.ntnu.stud.chaosgame.view.modificationpopups.JuliaPopup
Popup for modifying the Julia set.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final javafx.scene.control.TextField
The text field for the imaginary part of the complex number.private final javafx.scene.control.TextField
The text field for the real part of the complex number.Fields inherited from class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
bottomLayout, layout, maxXTextField, maxYTextField, minXTextField, minYTextField, nameTextField, popupModifyStage, scene, updateButton
-
Constructor Summary
ConstructorsConstructorDescriptionJuliaPopup
(ChaosGameDescription gameDescription) Constructor for the JuliaPopup. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
displayCurrentValues
(ChaosGameDescription gameDescription) Displays the current values from the ChaosGameDescription.javafx.scene.control.TextField
Gets the imaginary part text field.javafx.scene.control.TextField
Gets the real part text field.Methods inherited from class edu.ntnu.stud.chaosgame.view.modificationpopups.AbstractPopup
createNumericTextField, display, getMaxXTextField, getMaxYTextField, getMinXTextField, getMinYTextField, getNameTextField, getPopupModifyStage, getUpdateButton, initializeLayout
-
Field Details
-
realPartTextField
private final javafx.scene.control.TextField realPartTextFieldThe text field for the real part of the complex number. -
imagPartTextField
private final javafx.scene.control.TextField imagPartTextFieldThe text field for the imaginary part of the complex number.
-
-
Constructor Details
-
JuliaPopup
Constructor for the JuliaPopup.- Parameters:
gameDescription
- the chaos game description to be modified.
-
-
Method Details
-
displayCurrentValues
Displays the current values from the ChaosGameDescription.- Parameters:
gameDescription
- the ChaosGameDescription to display values from.
-
getRealPartTextField
public javafx.scene.control.TextField getRealPartTextField()Gets the real part text field.- Returns:
- the real part text field.
-
getImagPartTextField
public javafx.scene.control.TextField getImagPartTextField()Gets the imaginary part text field.- Returns:
- the imaginary part text field.
-