diff --git a/res/stages/add-data-stage.fxml b/res/stages/add-data-stage.fxml new file mode 100644 index 0000000000000000000000000000000000000000..837b259d6384ee1e24197fbab1925f6239eba501 --- /dev/null +++ b/res/stages/add-data-stage.fxml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.scene.*?> +<?import javafx.scene.control.*?> +<?import javafx.scene.layout.*?> +<?import javafx.stage.*?> + +<Stage xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1"> + <scene> + <Scene> + <AnchorPane prefHeight="200" prefWidth="200"> + <children> + <VBox alignment="CENTER" prefHeight="224.0" prefWidth="384.0" spacing="20.0"> + <children> + <HBox alignment="CENTER" prefHeight="18.0" prefWidth="335.0" spacing="20.0"> + <children> + <Label text="Valeur 1" /> + <TextField /> + </children> + </HBox> + <HBox alignment="CENTER" layoutX="10.0" layoutY="47.0" prefHeight="17.0" prefWidth="335.0" spacing="20.0"> + <children> + <Label text="Valeur 2" /> + <ChoiceBox prefWidth="150.0" /> + </children> + </HBox> + <HBox alignment="CENTER" layoutX="10.0" layoutY="109.0" prefHeight="17.0" prefWidth="335.0" spacing="20.0"> + <children> + <Label text="Valeur 3" /> + <Spinner /> + </children> + </HBox> + <Button mnemonicParsing="false" text="Valider" /> + </children></VBox> + </children></AnchorPane> + </Scene> + </scene> +</Stage> diff --git a/res/stages/axes-settings-stage.fxml b/res/stages/axes-settings-stage.fxml new file mode 100644 index 0000000000000000000000000000000000000000..b605dc79338f1347ef020521ac249cc588502bf9 --- /dev/null +++ b/res/stages/axes-settings-stage.fxml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.scene.*?> +<?import javafx.scene.control.*?> +<?import javafx.scene.layout.*?> +<?import javafx.stage.*?> + +<Stage xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1"> + <scene> + <Scene> + <AnchorPane prefHeight="200" prefWidth="200"> + <children> + <VBox alignment="CENTER" prefHeight="200.0" prefWidth="406.0" spacing="15.0"> + <children> + <HBox alignment="CENTER" prefHeight="46.0" prefWidth="406.0" spacing="20.0"> + <children> + <Label text="Valeur des ordonnées" /> + <ChoiceBox prefWidth="150.0" /> + </children> + </HBox> + <HBox alignment="CENTER" prefHeight="44.0" prefWidth="406.0" spacing="20.0"> + <children> + <Label text="Valeur des abscisses" /> + <ChoiceBox prefWidth="150.0" /> + </children> + </HBox> + <Button mnemonicParsing="false" text="Valider" /> + </children> + </VBox> + </children></AnchorPane> + </Scene> + </scene> +</Stage> diff --git a/res/stages/display-settings-stage.fxml b/res/stages/display-settings-stage.fxml new file mode 100644 index 0000000000000000000000000000000000000000..92792eab2776f3a80ae00ebf9b6b2b009764e2de --- /dev/null +++ b/res/stages/display-settings-stage.fxml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<?import javafx.scene.*?> +<?import javafx.scene.control.*?> +<?import javafx.scene.layout.*?> +<?import javafx.stage.*?> + +<Stage xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1"> + <scene> + <Scene> + <AnchorPane prefHeight="200" prefWidth="200"> + <children> + <VBox alignment="CENTER" layoutY="1.0" prefHeight="292.0" prefWidth="438.0" spacing="30.0"> + <children> + <HBox alignment="CENTER" prefHeight="58.0" prefWidth="294.0" spacing="20.0"> + <children> + <Label text="Nouvel ajout" /> + <ColorPicker editable="true" /> + </children></HBox> + <Button mnemonicParsing="false" text="Valider" /> + </children></VBox> + </children></AnchorPane> + </Scene> + </scene> +</Stage> diff --git a/res/stages/load-data-stage.fxml b/res/stages/load-data-stage.fxml index ba97c3cdf5fea292eb84c0fa814cf5542c102a64..fb198d432c1abee0b360c978a7e4044b37d51a07 100644 --- a/res/stages/load-data-stage.fxml +++ b/res/stages/load-data-stage.fxml @@ -1,14 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<?import javafx.scene.Scene?> -<?import javafx.scene.control.Button?> -<?import javafx.scene.control.Label?> -<?import javafx.scene.layout.AnchorPane?> -<?import javafx.scene.layout.HBox?> -<?import javafx.scene.layout.VBox?> -<?import javafx.stage.Stage?> +<?import javafx.scene.*?> +<?import javafx.scene.control.*?> +<?import javafx.scene.layout.*?> +<?import javafx.stage.*?> -<Stage fx:id="stage" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univlille.sae.classification.controller.LoadDataController"> +<Stage fx:id="stage" xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univlille.sae.classification.controller.LoadDataController"> <scene> <Scene> <AnchorPane prefHeight="143.0" prefWidth="363.0"> @@ -17,8 +14,8 @@ <children> <HBox alignment="CENTER" prefHeight="91.0" prefWidth="272.0"> <children> - <Label fx:id="filenamelab" prefHeight="83.0" prefWidth="157.0" text="file name" /> <Button mnemonicParsing="false" onAction="#openFileChooser" text="Parcourir" /> + <TextField prefHeight="26.0" prefWidth="207.0" /> </children> </HBox> <HBox alignment="CENTER" prefHeight="76.0" prefWidth="310.0"> diff --git a/res/stages/main-stage.fxml b/res/stages/main-stage.fxml index e099e011a8ce7681c128ba314ec001f8d8aaeaeb..cc9ca10994e1a0ffae1f1a2b717fe37d81a8a279 100644 --- a/res/stages/main-stage.fxml +++ b/res/stages/main-stage.fxml @@ -1,47 +1,36 @@ <?xml version="1.0" encoding="UTF-8"?> -<?import javafx.scene.Scene?> -<?import javafx.scene.chart.CategoryAxis?> -<?import javafx.scene.chart.NumberAxis?> -<?import javafx.scene.chart.ScatterChart?> -<?import javafx.scene.control.Button?> -<?import javafx.scene.layout.AnchorPane?> -<?import javafx.scene.layout.HBox?> -<?import javafx.scene.layout.Region?> -<?import javafx.scene.layout.VBox?> -<?import javafx.stage.Stage?> +<?import javafx.scene.*?> +<?import javafx.scene.chart.*?> +<?import javafx.scene.control.*?> +<?import javafx.scene.layout.*?> +<?import javafx.stage.*?> -<Stage fx:id="stage" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univlille.sae.classification.controller.MainStageController"> +<Stage fx:id="stage" xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univlille.sae.classification.controller.MainStageController"> <scene> <Scene> <AnchorPane prefHeight="487.0" prefWidth="692.0"> <children> <VBox prefHeight="488.0" prefWidth="691.0"> <children> - <HBox prefHeight="305.0" prefWidth="691.0"> + <VBox alignment="CENTER" prefHeight="379.0" prefWidth="691.0"> <children> - <Region prefHeight="200.0" prefWidth="200.0" /> - <ScatterChart prefHeight="213.0" prefWidth="557.0"> + <ScatterChart prefHeight="342.0" prefWidth="609.0"> <xAxis> - <CategoryAxis side="BOTTOM" /> + <CategoryAxis prefHeight="21.0" prefWidth="498.0" side="BOTTOM" /> </xAxis> <yAxis> <NumberAxis side="LEFT" /> </yAxis> </ScatterChart> - <Region prefHeight="200.0" prefWidth="200.0" /> + <Button mnemonicParsing="false" text="Configuration de l'affichage" /> </children> - </HBox> - <Region prefHeight="77.0" prefWidth="691.0" /> - <HBox prefHeight="100.0" prefWidth="200.0"> + </VBox> + <HBox alignment="CENTER" prefHeight="169.0" prefWidth="691.0" spacing="50.0"> <children> - <Region prefHeight="101.0" prefWidth="131.0" /> - <Button mnemonicParsing="false" onAction="#openLoadData" prefHeight="27.0" prefWidth="122.0" text="Charger" /> - <Region prefHeight="101.0" prefWidth="75.0" /> - <Button mnemonicParsing="false" prefHeight="25.0" prefWidth="129.0" text="Classifier" /> - <Region prefHeight="101.0" prefWidth="70.0" /> - <Button mnemonicParsing="false" prefHeight="26.0" prefWidth="133.0" text="Reglages" /> - <Region prefHeight="101.0" prefWidth="111.0" /> + <Button mnemonicParsing="false" onAction="#openLoadData" prefHeight="27.0" prefWidth="185.0" text="Charger un jeu de données" /> + <Button mnemonicParsing="false" prefHeight="26.0" prefWidth="141.0" text="Ajouter une donnée" /> + <Button disable="true" mnemonicParsing="false" prefHeight="26.0" prefWidth="157.0" text="Classifier une donnée" /> </children> </HBox> </children>