Update IHM
This commit is contained in:
parent
844f06f1e0
commit
7abec14389
13 changed files with 717 additions and 170 deletions
|
|
@ -1,19 +0,0 @@
|
|||
package fr.myny.data;
|
||||
|
||||
public class DataCsv {
|
||||
|
||||
|
||||
/**
|
||||
* Le constructeur de DataCsv
|
||||
*/
|
||||
public DataCsv(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de recuperation dun fichier csv
|
||||
*/
|
||||
public void getCsv(){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
package fr.myny.data;
|
||||
|
||||
public class ImportData {
|
||||
String url;
|
||||
|
||||
/**
|
||||
* Le constructeur de ImportData
|
||||
*/
|
||||
public ImportData(){
|
||||
|
||||
}
|
||||
/**
|
||||
* Le constructeur de ImportData
|
||||
* @param url string contenant l URL dou recuperer les fichiers csv
|
||||
*/
|
||||
public ImportData(String url){
|
||||
this.url=url;
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de recuperation de l URL
|
||||
*/
|
||||
public void getUrl(){
|
||||
}
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
package fr.myny.database;
|
||||
|
||||
/**
|
||||
* La classe DataBase qui soccupera de la base de donnees
|
||||
*/
|
||||
|
||||
public class DataBase {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Le constructeur de DataBase
|
||||
*/
|
||||
public DataBase(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de remplissage de la base de donnees
|
||||
*/
|
||||
public void fillDataBase(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode d'import de donnees depuis la base de donnees
|
||||
*/
|
||||
public void importDataBase(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de creation de la base de donnees
|
||||
*/
|
||||
public void createDataBase(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* La methode de mise a jour de la base de donnees
|
||||
*/
|
||||
public void updateDataBase(){
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
package fr.myny.grid;
|
||||
|
||||
public class BuildGrid {
|
||||
/**
|
||||
* Le constructeur de BuildGrid
|
||||
*/
|
||||
public BuildGrid(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de recuperation de la grille
|
||||
*/
|
||||
public void getGrid(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande du systeme reducteur
|
||||
*/
|
||||
public void ReductorSys(){
|
||||
|
||||
}
|
||||
}
|
||||
74
src/main/java/fr/myny/gui/ButtonController.java
Normal file
74
src/main/java/fr/myny/gui/ButtonController.java
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
package fr.myny.gui;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Classe permettant l'execution des fonctionnalités de l'application via les autres packages data, database, grid et stats.
|
||||
*/
|
||||
public class ButtonController {
|
||||
|
||||
/**
|
||||
* Execution de la méthode de téléchargement de toutes les données automatiquement et met à jour la base de données
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void controllerAutoTirage() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Execution de la méthode de téléchargement des dernières données automatiquement et met à jour la base de données
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void controllerAutoDernierTirage() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Demande à l'utilisateur de sélectionner un fichier CSV via l'explorateur des fichiers et met à jour la base de données
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void controllerGetCSVFile() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Appelle la méthode d'affichage des statistiques des fréquences d'apparitions d'un nombre
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void checkBoxNumeros() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Appelle la méthode d'affichage des statistiques des fréquences d'apparitions de combinaison de 2 chiffres
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void checkBox2Numeros() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Appelle la méthode d'affichage des statistiques des fréquences d'apparitions de combinaison de 3 chiffres
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void checkBox3Numeros() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Appelle la méthode d'affichage des statistiques des fréquences d'apparitions d'un nombre bonus
|
||||
* @throws IOException
|
||||
*/
|
||||
@FXML
|
||||
private void checkBoxNumerosBonus() throws IOException {
|
||||
|
||||
}
|
||||
}
|
||||
80
src/main/java/fr/myny/gui/DocumentController.java
Normal file
80
src/main/java/fr/myny/gui/DocumentController.java
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
package fr.myny.gui;
|
||||
|
||||
import javafx.collections.ObservableList;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.control.ChoiceBox;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
/**
|
||||
* Classe permettant d'initialiser et d'écouter le changement des ChoiceBox
|
||||
*/
|
||||
public class DocumentController implements Initializable {
|
||||
|
||||
/**
|
||||
* ChoiceBox créé grâce à FXML
|
||||
*/
|
||||
private ChoiceBox<Integer> integerChoiceBox;
|
||||
|
||||
/**
|
||||
*
|
||||
* ChoiceBox créé grâce à FXML
|
||||
*/
|
||||
private ChoiceBox<String> stringChoiceBox;
|
||||
|
||||
/**
|
||||
* Liste d'entier observable grâce à FX
|
||||
*/
|
||||
private ObservableList observableIntegerList;
|
||||
|
||||
/**
|
||||
* Liste de chaîne de caractère observable grâce à FX
|
||||
*/
|
||||
private ObservableList observableStringList;
|
||||
|
||||
/**
|
||||
* Initialisation de la première ChoiceBox du nombre de numéros voulu
|
||||
* @param url Paramètre non utilisé mais obligatoire en argument
|
||||
* @param resourceBundle Paramètre non utilisé mais obligatoire en argument
|
||||
*/
|
||||
@Override
|
||||
public void initialize(URL url, ResourceBundle resourceBundle) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Action lors d'un évenement concernant la garantie du système
|
||||
* @param event Action de l'évenement
|
||||
*/
|
||||
@FXML
|
||||
private void numberGuarantee(ActionEvent event){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Action lors d'un évenement concernant le nombre de numéros à jouer
|
||||
* @param event Action de l'évenement
|
||||
*/
|
||||
@FXML
|
||||
private void numberPlay(ActionEvent event){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Chargement de toutes les options garantie du systeme
|
||||
*/
|
||||
private void loadDataGuarantee(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Chargement de toutes les options liés au nombre de numéro voulu
|
||||
*/
|
||||
private void loadDataNumbers(){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
498
src/main/java/fr/myny/gui/GridController.java
Normal file
498
src/main/java/fr/myny/gui/GridController.java
Normal file
|
|
@ -0,0 +1,498 @@
|
|||
package fr.myny.gui;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
/**
|
||||
* Classe permettant d'initaliser la grille de choix des nombres et d'écouter si l'un d'entre eux est sélectionné
|
||||
*/
|
||||
public class GridController implements Initializable {
|
||||
|
||||
/**
|
||||
* Liste des nombres bonus sélectionnés
|
||||
*/
|
||||
ArrayList<Integer> bonusNumbersChecked;
|
||||
|
||||
/**
|
||||
* Liste des nombres sélectionnés
|
||||
*/
|
||||
ArrayList<Integer> numbersChecked;
|
||||
|
||||
/**
|
||||
* @param url
|
||||
* @param resourceBundle
|
||||
*/
|
||||
@Override
|
||||
public void initialize(URL url, ResourceBundle resourceBundle) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 1
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController1() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 2
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController2() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 3
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController3() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 4
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController4() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 5
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController5() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 6
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController6() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 7
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController7() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 8
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController8() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 9
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController9() throws IOException{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro bonus 10
|
||||
*/
|
||||
@FXML
|
||||
private void numberBonusController10() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 1
|
||||
*/
|
||||
@FXML
|
||||
private void numberController1() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 2
|
||||
*/
|
||||
@FXML
|
||||
private void numberController2() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 3
|
||||
*/
|
||||
@FXML
|
||||
private void numberController3() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 4
|
||||
*/
|
||||
@FXML
|
||||
private void numberController4() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 5
|
||||
*/
|
||||
@FXML
|
||||
private void numberController5() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 6
|
||||
*/
|
||||
@FXML
|
||||
private void numberController6() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 7
|
||||
*/
|
||||
@FXML
|
||||
private void numberController8() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 9
|
||||
*/
|
||||
@FXML
|
||||
private void numberController9() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 10
|
||||
*/
|
||||
@FXML
|
||||
private void numberController10() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 11
|
||||
*/
|
||||
@FXML
|
||||
private void numberController11() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 12
|
||||
*/
|
||||
@FXML
|
||||
private void numberController12() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 13
|
||||
*/
|
||||
@FXML
|
||||
private void numberController13() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 14
|
||||
*/
|
||||
@FXML
|
||||
private void numberController14() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 15
|
||||
*/
|
||||
@FXML
|
||||
private void numberController15() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 16
|
||||
*/
|
||||
@FXML
|
||||
private void numberController16() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 17
|
||||
*/
|
||||
@FXML
|
||||
private void numberController17() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 18
|
||||
*/
|
||||
@FXML
|
||||
private void numberController18() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 19
|
||||
*/
|
||||
@FXML
|
||||
private void numberController19() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 20
|
||||
*/
|
||||
@FXML
|
||||
private void numberController20() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 21
|
||||
*/
|
||||
@FXML
|
||||
private void numberController21() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 22
|
||||
*/
|
||||
@FXML
|
||||
private void numberController22() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 23
|
||||
*/
|
||||
@FXML
|
||||
private void numberController23() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 24
|
||||
*/
|
||||
@FXML
|
||||
private void numberController24() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 25
|
||||
*/
|
||||
@FXML
|
||||
private void numberController25() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 26
|
||||
*/
|
||||
@FXML
|
||||
private void numberController26() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 27
|
||||
*/
|
||||
@FXML
|
||||
private void numberController27() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 28
|
||||
*/
|
||||
@FXML
|
||||
private void numberController28() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 29
|
||||
*/
|
||||
@FXML
|
||||
private void numberController29() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 30
|
||||
*/
|
||||
@FXML
|
||||
private void numberController30() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 31
|
||||
*/
|
||||
@FXML
|
||||
private void numberController31() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 32
|
||||
*/
|
||||
@FXML
|
||||
private void numberController32() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 33
|
||||
*/
|
||||
@FXML
|
||||
private void numberController33() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 34
|
||||
*/
|
||||
@FXML
|
||||
private void numberController34() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 35
|
||||
*/
|
||||
@FXML
|
||||
private void numberController35() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 36
|
||||
*/
|
||||
@FXML
|
||||
private void numberController36() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 37
|
||||
*/
|
||||
@FXML
|
||||
private void numberController37() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 38
|
||||
*/
|
||||
@FXML
|
||||
private void numberController38() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 39
|
||||
*/
|
||||
@FXML
|
||||
private void numberController39() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 40
|
||||
*/
|
||||
@FXML
|
||||
private void numberController40() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 41
|
||||
*/
|
||||
@FXML
|
||||
private void numberController41() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 42
|
||||
*/
|
||||
@FXML
|
||||
private void numberController42() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 43
|
||||
*/
|
||||
@FXML
|
||||
private void numberController43() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 44
|
||||
*/
|
||||
@FXML
|
||||
private void numberController44() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 45
|
||||
*/
|
||||
@FXML
|
||||
private void numberController45() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 46
|
||||
*/
|
||||
@FXML
|
||||
private void numberController46() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 47
|
||||
*/
|
||||
@FXML
|
||||
private void numberController47() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 48
|
||||
*/
|
||||
@FXML
|
||||
private void numberController48() throws IOException {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Contrôleur du numéro 49
|
||||
*/
|
||||
@FXML
|
||||
private void numberController49() throws IOException {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
package fr.myny.gui;
|
||||
|
||||
|
||||
public class Ihm {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Le constructeur de Ihm
|
||||
*/
|
||||
public Ihm(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande de mise a jour de la base de donnees
|
||||
*/
|
||||
public void update(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande de recuperation d'URL ???
|
||||
*/
|
||||
public void getUrl(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande de telechargement de donnees
|
||||
*/
|
||||
public void downloadData(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande daffichage de donness
|
||||
*/
|
||||
public void printStatistics(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande de generation dun fichier pdf avec des grilles proposees
|
||||
*/
|
||||
public void printGrid(){
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* La methode de demande daffichage de la table
|
||||
*/
|
||||
public void generateTable(){
|
||||
|
||||
}
|
||||
}
|
||||
13
src/main/resources/fr/myny/gui/popup.fxml
Normal file
13
src/main/resources/fr/myny/gui/popup.fxml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox alignment="CENTER" prefHeight="241.0" prefWidth="397.0" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.myny.gui.PrimaryController">
|
||||
<Label prefHeight="167.0" prefWidth="69.0" text="Primary View" />
|
||||
<Button onAction="#switchToSecondary" prefHeight="109.0" prefWidth="152.0" text="Switch to Secondary View" />
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
13
src/main/resources/fr/myny/gui/scene1.fxml
Normal file
13
src/main/resources/fr/myny/gui/scene1.fxml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox alignment="CENTER" prefHeight="241.0" prefWidth="397.0" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.myny.gui.PrimaryController">
|
||||
<Label prefHeight="167.0" prefWidth="69.0" text="Primary View" />
|
||||
<Button onAction="#switchToSecondary" prefHeight="109.0" prefWidth="152.0" text="Switch to Secondary View" />
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
13
src/main/resources/fr/myny/gui/scene2.fxml
Normal file
13
src/main/resources/fr/myny/gui/scene2.fxml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox alignment="CENTER" prefHeight="241.0" prefWidth="397.0" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.myny.gui.PrimaryController">
|
||||
<Label prefHeight="167.0" prefWidth="69.0" text="Primary View" />
|
||||
<Button onAction="#switchToSecondary" prefHeight="109.0" prefWidth="152.0" text="Switch to Secondary View" />
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
13
src/main/resources/fr/myny/gui/scene3.fxml
Normal file
13
src/main/resources/fr/myny/gui/scene3.fxml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox alignment="CENTER" prefHeight="241.0" prefWidth="397.0" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.myny.gui.PrimaryController">
|
||||
<Label prefHeight="167.0" prefWidth="69.0" text="Primary View" />
|
||||
<Button onAction="#switchToSecondary" prefHeight="109.0" prefWidth="152.0" text="Switch to Secondary View" />
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
13
src/main/resources/fr/myny/gui/scene4.fxml
Normal file
13
src/main/resources/fr/myny/gui/scene4.fxml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox alignment="CENTER" prefHeight="241.0" prefWidth="397.0" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.myny.gui.PrimaryController">
|
||||
<Label prefHeight="167.0" prefWidth="69.0" text="Primary View" />
|
||||
<Button onAction="#switchToSecondary" prefHeight="109.0" prefWidth="152.0" text="Switch to Secondary View" />
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
Reference in a new issue