From 388f756412b0b143767ee686e61d495dfac16509 Mon Sep 17 00:00:00 2001 From: yolou Date: Sun, 26 Oct 2025 20:21:26 +0100 Subject: [PATCH 1/2] MAJ makefile --- Makefile | 85 +- doc/allclasses-index.html | 185 +++ doc/allpackages-index.html | 63 + doc/copy.svg | 33 + doc/element-list | 1 + doc/fr/iutfbleau/papillon/BaseDeDonnees.html | 186 +++ doc/fr/iutfbleau/papillon/BtnAjouter.html | 282 ++++ doc/fr/iutfbleau/papillon/BtnModifier.html | 274 ++++ doc/fr/iutfbleau/papillon/BtnSupprimer.html | 283 ++++ doc/fr/iutfbleau/papillon/ChoixRang.html | 259 ++++ doc/fr/iutfbleau/papillon/ColorIcon.html | 249 ++++ doc/fr/iutfbleau/papillon/CouleurList.html | 302 ++++ doc/fr/iutfbleau/papillon/Crud.html | 200 +++ doc/fr/iutfbleau/papillon/FenetreAjout.html | 239 ++++ doc/fr/iutfbleau/papillon/FenetreModif.html | 242 ++++ doc/fr/iutfbleau/papillon/FenetreRappel.html | 284 ++++ doc/fr/iutfbleau/papillon/GestionAjout.html | 254 ++++ doc/fr/iutfbleau/papillon/GestionModif.html | 255 ++++ doc/fr/iutfbleau/papillon/GestionRappel.html | 307 ++++ doc/fr/iutfbleau/papillon/LimiteContenu.html | 250 ++++ doc/fr/iutfbleau/papillon/Main.html | 345 +++++ doc/fr/iutfbleau/papillon/PanelRappel.html | 445 ++++++ doc/fr/iutfbleau/papillon/Rappel.html | 348 +++++ doc/fr/iutfbleau/papillon/RappelBD.html | 285 ++++ doc/fr/iutfbleau/papillon/Start.html | 188 +++ doc/fr/iutfbleau/papillon/UserKey.html | 198 +++ doc/fr/iutfbleau/papillon/Utilisateur.html | 256 ++++ doc/fr/iutfbleau/papillon/UtilisateurBD.html | 208 +++ .../iutfbleau/papillon/package-summary.html | 210 +++ doc/fr/iutfbleau/papillon/package-tree.html | 156 ++ doc/help-doc.html | 182 +++ doc/index-all.html | 525 +++++++ doc/index.html | 26 + doc/legal/ADDITIONAL_LICENSE_INFO | 1 + doc/legal/ASSEMBLY_EXCEPTION | 1 + doc/legal/LICENSE | 1 + doc/legal/jquery.md | 26 + doc/legal/jqueryUI.md | 49 + doc/link.svg | 31 + doc/member-search-index.js | 1 + doc/module-search-index.js | 1 + doc/overview-tree.html | 160 +++ doc/package-search-index.js | 1 + doc/resources/glass.png | Bin 0 -> 499 bytes doc/resources/x.png | Bin 0 -> 394 bytes doc/script-dir/jquery-3.7.1.min.js | 2 + doc/script-dir/jquery-ui.min.css | 6 + doc/script-dir/jquery-ui.min.js | 6 + doc/script.js | 253 ++++ doc/search-page.js | 284 ++++ doc/search.html | 71 + doc/search.js | 458 ++++++ doc/serialized-form.html | 540 +++++++ doc/stylesheet.css | 1272 +++++++++++++++++ doc/tag-search-index.js | 1 + doc/type-search-index.js | 1 + 56 files changed, 10726 insertions(+), 45 deletions(-) create mode 100644 doc/allclasses-index.html create mode 100644 doc/allpackages-index.html create mode 100644 doc/copy.svg create mode 100644 doc/element-list create mode 100644 doc/fr/iutfbleau/papillon/BaseDeDonnees.html create mode 100644 doc/fr/iutfbleau/papillon/BtnAjouter.html create mode 100644 doc/fr/iutfbleau/papillon/BtnModifier.html create mode 100644 doc/fr/iutfbleau/papillon/BtnSupprimer.html create mode 100644 doc/fr/iutfbleau/papillon/ChoixRang.html create mode 100644 doc/fr/iutfbleau/papillon/ColorIcon.html create mode 100644 doc/fr/iutfbleau/papillon/CouleurList.html create mode 100644 doc/fr/iutfbleau/papillon/Crud.html create mode 100644 doc/fr/iutfbleau/papillon/FenetreAjout.html create mode 100644 doc/fr/iutfbleau/papillon/FenetreModif.html create mode 100644 doc/fr/iutfbleau/papillon/FenetreRappel.html create mode 100644 doc/fr/iutfbleau/papillon/GestionAjout.html create mode 100644 doc/fr/iutfbleau/papillon/GestionModif.html create mode 100644 doc/fr/iutfbleau/papillon/GestionRappel.html create mode 100644 doc/fr/iutfbleau/papillon/LimiteContenu.html create mode 100644 doc/fr/iutfbleau/papillon/Main.html create mode 100644 doc/fr/iutfbleau/papillon/PanelRappel.html create mode 100644 doc/fr/iutfbleau/papillon/Rappel.html create mode 100644 doc/fr/iutfbleau/papillon/RappelBD.html create mode 100644 doc/fr/iutfbleau/papillon/Start.html create mode 100644 doc/fr/iutfbleau/papillon/UserKey.html create mode 100644 doc/fr/iutfbleau/papillon/Utilisateur.html create mode 100644 doc/fr/iutfbleau/papillon/UtilisateurBD.html create mode 100644 doc/fr/iutfbleau/papillon/package-summary.html create mode 100644 doc/fr/iutfbleau/papillon/package-tree.html create mode 100644 doc/help-doc.html create mode 100644 doc/index-all.html create mode 100644 doc/index.html create mode 100644 doc/legal/ADDITIONAL_LICENSE_INFO create mode 100644 doc/legal/ASSEMBLY_EXCEPTION create mode 100644 doc/legal/LICENSE create mode 100644 doc/legal/jquery.md create mode 100644 doc/legal/jqueryUI.md create mode 100644 doc/link.svg create mode 100644 doc/member-search-index.js create mode 100644 doc/module-search-index.js create mode 100644 doc/overview-tree.html create mode 100644 doc/package-search-index.js create mode 100644 doc/resources/glass.png create mode 100644 doc/resources/x.png create mode 100644 doc/script-dir/jquery-3.7.1.min.js create mode 100644 doc/script-dir/jquery-ui.min.css create mode 100644 doc/script-dir/jquery-ui.min.js create mode 100644 doc/script.js create mode 100644 doc/search-page.js create mode 100644 doc/search.html create mode 100644 doc/search.js create mode 100644 doc/serialized-form.html create mode 100644 doc/stylesheet.css create mode 100644 doc/tag-search-index.js create mode 100644 doc/type-search-index.js diff --git a/Makefile b/Makefile index 1c0842a..474c881 100644 --- a/Makefile +++ b/Makefile @@ -1,61 +1,56 @@ -# === Configuration === -SRC_DIR := src/fr/iutfbleau/papillon -BUILD_DIR := build -DOC_DIR := doc +# === Variables globales === +MAIN_CLASS = fr.iutfbleau.papillon.Start +BUILD_DIR = build +SRC_DIR = src/fr/iutfbleau/papillon +SRC_BUILD = fr\iutfbleau\papillon LIB_DIR := lib LIB := $(LIB_DIR)/mariadb -MAIN_CLASS := fr.iutfbleau.papillon.Start -JAR_NAME := papillon.jar +JAR_NAME = papillon.jar -# === Commandes principales === +# === Detection de l'OS === +ifeq ($(OS),Windows_NT) + SEP = ; + RM = del /Q +else + SEP = : + RM = rm -f +endif -# Compilation du projet +# === Compilation === compile: @echo === Compilation du projet === - javac -encoding UTF-8 -cp "$(LIB)" -d $(BUILD_DIR) $(SRC_DIR)/*.java - @echo Compilation terminee ! + javac -encoding UTF-8 -cp "$(LIB_DIR)$(SEP)$(LIB_DIR)/org/mariadb/jdbc" -d $(BUILD_DIR) $(SRC_DIR)/*.java + @echo Compilation terminee -# Exécution du programme -run: compile - @echo === Execution du programme === - java -cp "$(BUILD_DIR);$(LIB)" $(MAIN_CLASS) - -# Génération de la documentation Javadoc -doc: - @echo === Generation de la documentation Javadoc === - javadoc -d $(DOC_DIR) -encoding UTF-8 -cp "$(LIB)" $(SRC_DIR)/*.java - @echo Documentation generee dans le dossier $(DOC_DIR) - -# === Création du JAR === +# === Creation du JAR === jar: compile @echo === Creation du JAR autonome === echo Main-Class: $(MAIN_CLASS) > manifest.txt - jar cfm $(JAR_NAME) manifest.txt -C $(BUILD_DIR) . -C $(LIB_DIR) . - @del manifest.txt 2>nul || true - @echo JAR cree avec succes : $(JAR_NAME) + jar cfm $(JAR_NAME) manifest.txt -C $(BUILD_DIR) . + @$(RM) manifest.txt 2>nul || true + @echo JAR cree avec succes: $(JAR_NAME) - -# === Exécution du JAR === +# === Execution multiplateforme === run-jar: - @echo === Exécution du JAR === - java -cp "papillon.jar;lib/mariadb;lib/mariadb/org/mariadb/jdbc" fr.iutfbleau.papillon.Start + @echo === Execution du JAR === +ifeq ($(OS),Windows_NT) + java -cp "$(JAR_NAME);$(LIB_DIR);$(LIB_DIR)/mariadb;$(LIB_DIR)/mariadb/org/mariadb/jdbc" $(MAIN_CLASS) +else + java -cp "$(JAR_NAME):$(LIB_DIR):$(LIB_DIR)/mariadb:$(LIB_DIR)/mariadb/org/mariadb/jdbc" $(MAIN_CLASS) +endif +# === Generation de la documentation === +doc: + @echo === Generation de la documentation Javadoc === + javadoc -d doc -encoding UTF-8 -cp "$(LIB_DIR)$(SEP)$(LIB_DIR)/org/mariadb/jdbc" $(SRC_DIR)/*.java + @echo Documentation generee dans le dossier doc/ - - -# Nettoyage du dossier build +# === Nettoyage === clean: @echo === Nettoyage des fichiers compiles === - @rmdir /s /q $(BUILD_DIR) 2>nul || true - @mkdir $(BUILD_DIR) - @echo Build nettoye. - -# Nettoyage complet (build + doc) -reset: clean - @echo === Suppression de la documentation === - @rmdir /s /q $(DOC_DIR) 2>nul || true - @mkdir $(DOC_DIR) - @echo Tout a ete nettoye. - -# Compilation + exécution directe -all: compile run +ifeq ($(OS),Windows_NT) + $(RM) $(BUILD_DIR)\$(SRC_BUILD)\*.class +else + $(RM) $(BUILD_DIR)/fr/iutfbleau/papillon/*.class +endif + @echo Nettoyage termine \ No newline at end of file diff --git a/doc/allclasses-index.html b/doc/allclasses-index.html new file mode 100644 index 0000000..1ff8d7a --- /dev/null +++ b/doc/allclasses-index.html @@ -0,0 +1,185 @@ + + + + +All Classes and Interfaces + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
Classes
+
+
Class
+
Description
+ +
+
La classe BaseDeDonnees fournit les paramètres et méthodes + nécessaires à l’établissement d’une connexion à la base MariaDB.
+
+ +
+
La classe BtnAjouter représente un bouton permettant + d’ouvrir la fenêtre d’ajout d’un nouveau rappel dans l’application Papillon.
+
+ +
+
La classe BtnModifier représente un bouton permettant + de modifier un rappel existant dans l’application Papillon.
+
+ +
+
La classe BtnSupprimer représente un bouton permettant + de supprimer un ou plusieurs rappels dans l’application Papillon.
+
+ +
+
La classe ChoixRang représente une liste déroulante + permettant de filtrer les rappels selon leur niveau de priorité (rang) + dans l’application Papillon.
+
+ +
+
La classe ColorIcon permet d’afficher un petit carré coloré + servant d’icône dans l’interface de l’application Papillon.
+
+ +
+
La classe CouleurList permet d’afficher des couleurs + associées à des thèmes dans les listes déroulantes de l’application Papillon.
+
+ +
+
La classe Crud regroupe les trois boutons principaux + de gestion des rappels dans l’application Papillon : + + Ajouter — pour créer un nouveau rappel, + Supprimer — pour supprimer un ou plusieurs rappels, + Modifier — pour éditer un rappel existant. +
+
+ +
+
La classe FenetreAjout permet d’afficher une fenêtre + dédiée à l’ajout d’un nouveau rappel dans l’application Papillon.
+
+ +
+
La classe FenetreModif permet d’afficher une fenêtre + dédiée à la modification d’un rappel existant dans l’application Papillon.
+
+ +
+
La classe FenetreRappel représente la fenêtre d’affichage + détaillée d’un rappel dans l’application Papillon.
+
+ +
+
La classe GestionAjout gère les boutons de la fenêtre + d’ajout d’un rappel dans l’application Papillon.
+
+ +
+
La classe GestionModif gère les boutons de la fenêtre + de modification d’un rappel dans l’application Papillon.
+
+ +
+
La classe GestionRappel gère les opérations CRUD + (création, lecture, modification, suppression) sur les rappels + associés à l’utilisateur courant.
+
+ +
+
La classe LimiteContenu permet de limiter le nombre + de caractères pouvant être saisis dans un champ de texte Swing.
+
+ +
+
La classe Main représente la fenêtre principale + de l’application Papillon.
+
+ +
+
La classe PanelRappel représente l’affichage graphique + d’un rappel dans l’application Papillon.
+
+ +
+
La classe Rappel représente un rappel utilisateur, + avec un titre, un contenu, un thème et un rang de priorité.
+
+ +
+
La classe RappelBD gère les interactions entre le programme + et la table rappel dans la base de données.
+
+ +
+
La classe Start constitue le point d’entrée principal + de l’application Papillon.
+
+ +
+
La classe UserKey permet de gérer une clé d'identification locale + unique pour un utilisateur du logiciel Papillon.
+
+ +
+
La classe Utilisateur représente un utilisateur unique + du logiciel Papillon, identifié par une clé locale.
+
+ +
+
La classe UtilisateurBD gère la table utilisateur + de la base de données.
+
+
+
+
+
+
+ + diff --git a/doc/allpackages-index.html b/doc/allpackages-index.html new file mode 100644 index 0000000..14650b2 --- /dev/null +++ b/doc/allpackages-index.html @@ -0,0 +1,63 @@ + + + + +All Packages + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
Package Summary
+
+
Package
+
Description
+ +
 
+
+
+
+
+ + diff --git a/doc/copy.svg b/doc/copy.svg new file mode 100644 index 0000000..7c46ab1 --- /dev/null +++ b/doc/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/doc/element-list b/doc/element-list new file mode 100644 index 0000000..213411b --- /dev/null +++ b/doc/element-list @@ -0,0 +1 @@ +fr.iutfbleau.papillon diff --git a/doc/fr/iutfbleau/papillon/BaseDeDonnees.html b/doc/fr/iutfbleau/papillon/BaseDeDonnees.html new file mode 100644 index 0000000..c968206 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/BaseDeDonnees.html @@ -0,0 +1,186 @@ + + + + +BaseDeDonnees + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class BaseDeDonnees

+
+
java.lang.Object +
fr.iutfbleau.papillon.BaseDeDonnees
+
+
+
+
public class BaseDeDonnees +extends Object
+
La classe BaseDeDonnees fournit les paramètres et méthodes + nécessaires à l’établissement d’une connexion à la base MariaDB. + +

Elle centralise les informations de connexion (URL, utilisateur et mot de passe) + et renvoie un objet Connection pour exécuter les requêtes SQL.

+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      BaseDeDonnees

      +
      public BaseDeDonnees()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getConnexion

      +
      public static Connection getConnexion() + throws SQLException
      +
      Établit une connexion avec la base de données MariaDB.
      +
      +
      Returns:
      +
      un objet Connection actif vers la base
      +
      Throws:
      +
      SQLException - si une erreur survient lors de la connexion
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/BtnAjouter.html b/doc/fr/iutfbleau/papillon/BtnAjouter.html new file mode 100644 index 0000000..84c77d6 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/BtnAjouter.html @@ -0,0 +1,282 @@ + + + + +BtnAjouter + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class BtnAjouter

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
+
+
+
public class BtnAjouter +extends JButton +implements ActionListener
+
La classe BtnAjouter représente un bouton permettant + d’ouvrir la fenêtre d’ajout d’un nouveau rappel dans l’application Papillon. +

+ Lorsqu’un utilisateur clique sur ce bouton, une instance de la fenêtre + FenetreAjout est affichée, tandis que la fenêtre principale est masquée. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      BtnAjouter

      +
      public BtnAjouter(Main main)
      +
      Construit un bouton "Ajouter" associé à la fenêtre principale. +

      + Ce bouton est configuré avec une taille fixe et un écouteur d’action + pour réagir aux clics de l’utilisateur. +

      +
      +
      Parameters:
      +
      main - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Méthode appelée lorsqu’un clic est détecté sur le bouton. +

      + Ouvre une nouvelle fenêtre d’ajout (FenetreAjout), + positionnée au même endroit que la fenêtre principale, puis + masque cette dernière. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action généré par le clic sur le bouton
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/BtnModifier.html b/doc/fr/iutfbleau/papillon/BtnModifier.html new file mode 100644 index 0000000..9ce48b5 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/BtnModifier.html @@ -0,0 +1,274 @@ + + + + +BtnModifier + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class BtnModifier

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
+
+
+
public class BtnModifier +extends JButton +implements ActionListener
+
La classe BtnModifier représente un bouton permettant + de modifier un rappel existant dans l’application Papillon. +

+ Lorsqu’un utilisateur clique sur ce bouton, il vérifie qu’un seul rappel + est sélectionné. Si c’est le cas, la fenêtre de modification + (FenetreModif) s’ouvre pour permettre à l’utilisateur + de modifier les informations du rappel choisi. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      BtnModifier

      +
      public BtnModifier(Main main)
      +
      Construit un bouton "Modifier" associé à la fenêtre principale. +

      + Ce bouton est configuré avec une taille fixe et un écouteur d’action + pour réagir aux clics de l’utilisateur. +

      +
      +
      Parameters:
      +
      main - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/BtnSupprimer.html b/doc/fr/iutfbleau/papillon/BtnSupprimer.html new file mode 100644 index 0000000..83607d4 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/BtnSupprimer.html @@ -0,0 +1,283 @@ + + + + +BtnSupprimer + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class BtnSupprimer

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants
+
+
+
public class BtnSupprimer +extends JButton +implements ActionListener
+
La classe BtnSupprimer représente un bouton permettant + de supprimer un ou plusieurs rappels dans l’application Papillon. +

+ Lorsqu’un utilisateur clique sur ce bouton, une boîte de confirmation + s’affiche afin de valider la suppression. Si l’utilisateur confirme, + les rappels sélectionnés sont supprimés de la liste. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      BtnSupprimer

      +
      public BtnSupprimer(Main main)
      +
      Construit un bouton "Supprimer" associé à la fenêtre principale. +

      + Ce bouton est configuré avec une taille fixe et un écouteur d’action + pour réagir aux clics de l’utilisateur. +

      +
      +
      Parameters:
      +
      main - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Gère l’action effectuée lors d’un clic sur le bouton. +

      + Si aucun rappel n’est sélectionné, un message d’avertissement est affiché. + Sinon, une boîte de dialogue de confirmation s’ouvre avant de procéder + à la suppression des rappels choisis. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action déclenché par un clic
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/ChoixRang.html b/doc/fr/iutfbleau/papillon/ChoixRang.html new file mode 100644 index 0000000..a0d8e3d --- /dev/null +++ b/doc/fr/iutfbleau/papillon/ChoixRang.html @@ -0,0 +1,259 @@ + + + + +ChoixRang + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class ChoixRang

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, ListDataListener
+
+
+
public class ChoixRang +extends JComboBox<String>
+
La classe ChoixRang représente une liste déroulante + permettant de filtrer les rappels selon leur niveau de priorité (rang) + dans l’application Papillon. +

+ L’utilisateur peut sélectionner un rang spécifique ou choisir “Tout” + pour afficher tous les rappels. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      ChoixRang

      +
      public ChoixRang()
      +
      Constructeur qui initialise la liste déroulante des rangs. +

      + Par défaut, l’élément sélectionné est “Tout”. +

      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      tirage

      +
      public void tirage(Main main)
      +
      Met à jour l’affichage des rappels en fonction du rang sélectionné.
      +
      +
      Parameters:
      +
      main - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/ColorIcon.html b/doc/fr/iutfbleau/papillon/ColorIcon.html new file mode 100644 index 0000000..08dd87b --- /dev/null +++ b/doc/fr/iutfbleau/papillon/ColorIcon.html @@ -0,0 +1,249 @@ + + + + +ColorIcon + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class ColorIcon

+
+
java.lang.Object +
fr.iutfbleau.papillon.ColorIcon
+
+
+
+
All Implemented Interfaces:
+
Icon
+
+
+
public class ColorIcon +extends Object +implements Icon
+
La classe ColorIcon permet d’afficher un petit carré coloré + servant d’icône dans l’interface de l’application Papillon. +

+ Elle est utilisée notamment pour représenter visuellement un thème de couleur + associé à un rappel ou un élément d’interface. +

+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      ColorIcon

      +
      public ColorIcon(Color couleur, + int largeur, + int hauteur)
      +
      Constructeur de l’icône colorée.
      +
      +
      Parameters:
      +
      couleur - la couleur de l’icône
      +
      largeur - la largeur de l’icône
      +
      hauteur - la hauteur de l’icône
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getIconWidth

      +
      public int getIconWidth()
      +
      Renvoie la largeur de l’icône.
      +
      +
      Specified by:
      +
      getIconWidth in interface Icon
      +
      Returns:
      +
      la largeur de l’icône
      +
      +
      +
    • +
    • +
      +

      getIconHeight

      +
      public int getIconHeight()
      +
      Renvoie la hauteur de l’icône.
      +
      +
      Specified by:
      +
      getIconHeight in interface Icon
      +
      Returns:
      +
      la hauteur de l’icône
      +
      +
      +
    • +
    • +
      +

      paintIcon

      +
      public void paintIcon(Component c, + Graphics g, + int x, + int y)
      +
      Dessine l’icône sur le composant spécifié.
      +
      +
      Specified by:
      +
      paintIcon in interface Icon
      +
      Parameters:
      +
      c - le composant sur lequel l’icône est dessinée
      +
      g - le contexte graphique utilisé pour le dessin
      +
      x - la position horizontale du coin supérieur gauche
      +
      y - la position verticale du coin supérieur gauche
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/CouleurList.html b/doc/fr/iutfbleau/papillon/CouleurList.html new file mode 100644 index 0000000..8386439 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/CouleurList.html @@ -0,0 +1,302 @@ + + + + +CouleurList + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CouleurList

+
+ +
+
+
All Implemented Interfaces:
+
ImageObserver, MenuContainer, Serializable, Accessible, ListCellRenderer<Object>, SwingConstants
+
+
+
public class CouleurList +extends DefaultListCellRenderer
+
La classe CouleurList permet d’afficher des couleurs + associées à des thèmes dans les listes déroulantes de l’application Papillon. +

+ Elle agit comme un renderer personnalisé, affichant un petit carré coloré + à côté du nom du thème. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CouleurList

      +
      public CouleurList()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      couleurDe

      +
      public Color couleurDe(String nom)
      +
      Renvoie la couleur correspondant au nom affiché dans le menu déroulant.
      +
      +
      Parameters:
      +
      nom - le nom du thème (ex. : "Bleu", "Rouge", "Vert", etc.)
      +
      Returns:
      +
      la couleur associée au thème, ou blanc par défaut
      +
      +
      +
    • +
    • +
      +

      getListCellRendererComponent

      +
      public JLabel getListCellRendererComponent(JList list, + Object value, + int index, + boolean isSelected, + boolean cellHasFocus)
      +
      Personnalise l’affichage des éléments dans la liste déroulante.
      +
      +
      Specified by:
      +
      getListCellRendererComponent in interface ListCellRenderer<Object>
      +
      Overrides:
      +
      getListCellRendererComponent in class DefaultListCellRenderer
      +
      Parameters:
      +
      list - la liste affichant les éléments
      +
      value - l’élément à afficher
      +
      index - l’indice de l’élément dans la liste
      +
      isSelected - indique si l’élément est sélectionné
      +
      cellHasFocus - indique si l’élément a le focus
      +
      Returns:
      +
      le composant personnalisé pour l’affichage de l’élément
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/Crud.html b/doc/fr/iutfbleau/papillon/Crud.html new file mode 100644 index 0000000..37ae26b --- /dev/null +++ b/doc/fr/iutfbleau/papillon/Crud.html @@ -0,0 +1,200 @@ + + + + +Crud + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Crud

+
+ +
+
+
All Implemented Interfaces:
+
Serializable, Cloneable, Iterable<JButton>, Collection<JButton>, List<JButton>, RandomAccess, SequencedCollection<JButton>
+
+
+
public class Crud +extends ArrayList<JButton>
+
La classe Crud regroupe les trois boutons principaux + de gestion des rappels dans l’application Papillon : +
    +
  • Ajouter — pour créer un nouveau rappel,
  • +
  • Supprimer — pour supprimer un ou plusieurs rappels,
  • +
  • Modifier — pour éditer un rappel existant.
  • +
+

+ Cette classe centralise leur création et leur ajout à l’interface. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Crud

      +
      public Crud(Main main)
      +
      Constructeur de la barre d’actions CRUD.
      +
      +
      Parameters:
      +
      main - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/FenetreAjout.html b/doc/fr/iutfbleau/papillon/FenetreAjout.html new file mode 100644 index 0000000..4010eb9 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/FenetreAjout.html @@ -0,0 +1,239 @@ + + + + +FenetreAjout + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class FenetreAjout

+
+ +
+
+
All Implemented Interfaces:
+
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
+
+
+
public class FenetreAjout +extends JFrame
+
La classe FenetreAjout permet d’afficher une fenêtre + dédiée à l’ajout d’un nouveau rappel dans l’application Papillon. +

+ Elle contient les champs nécessaires à la saisie du titre, du contenu, + de la priorité et du thème du rappel. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      FenetreAjout

      +
      public FenetreAjout(Main parent)
      +
      Constructeur de la fenêtre d’ajout.
      +
      +
      Parameters:
      +
      parent - la fenêtre principale de l’application Papillon
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/FenetreModif.html b/doc/fr/iutfbleau/papillon/FenetreModif.html new file mode 100644 index 0000000..ab12ce5 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/FenetreModif.html @@ -0,0 +1,242 @@ + + + + +FenetreModif + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class FenetreModif

+
+ +
+
+
All Implemented Interfaces:
+
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
+
+
+
public class FenetreModif +extends JFrame
+
La classe FenetreModif permet d’afficher une fenêtre + dédiée à la modification d’un rappel existant dans l’application Papillon. +

+ Elle reprend les informations du rappel sélectionné et permet à l’utilisateur + de les modifier avant de valider les changements. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      FenetreModif

      +
      public FenetreModif(Main parent, + Rappel rappel)
      +
      Constructeur de la fenêtre de modification.
      +
      +
      Parameters:
      +
      parent - la fenêtre principale de l’application Papillon
      +
      rappel - le rappel à modifier
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/FenetreRappel.html b/doc/fr/iutfbleau/papillon/FenetreRappel.html new file mode 100644 index 0000000..a55a09d --- /dev/null +++ b/doc/fr/iutfbleau/papillon/FenetreRappel.html @@ -0,0 +1,284 @@ + + + + +FenetreRappel + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class FenetreRappel

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
+
+
+
public class FenetreRappel +extends JFrame +implements ActionListener
+
La classe FenetreRappel représente la fenêtre d’affichage + détaillée d’un rappel dans l’application Papillon. +

+ Elle affiche les informations complètes du rappel sélectionné + (titre, contenu, thème, et priorité) et permet à l’utilisateur + de le modifier ou de fermer la fenêtre. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      FenetreRappel

      +
      public FenetreRappel(Rappel r, + Main main)
      +
      Constructeur de la fenêtre d’affichage d’un rappel.
      +
      +
      Parameters:
      +
      r - le rappel à afficher
      +
      main - la fenêtre principale
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Gère les actions effectuées sur les boutons de la fenêtre. +
        +
      • Fermer : ferme la fenêtre actuelle.
      • +
      • Modifier : ouvre la fenêtre de modification du rappel.
      • +
      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action déclenché
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/GestionAjout.html b/doc/fr/iutfbleau/papillon/GestionAjout.html new file mode 100644 index 0000000..167d855 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/GestionAjout.html @@ -0,0 +1,254 @@ + + + + +GestionAjout + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class GestionAjout

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, Serializable, Cloneable, Iterable<JButton>, Collection<JButton>, EventListener, List<JButton>, RandomAccess, SequencedCollection<JButton>
+
+
+
public class GestionAjout +extends ArrayList<JButton> +implements ActionListener
+
La classe GestionAjout gère les boutons de la fenêtre + d’ajout d’un rappel dans l’application Papillon. +

+ Elle contient les boutons Valider et Annuler, et définit + le comportement associé à chacun d’eux. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GestionAjout

      +
      public GestionAjout(JFrame f, + Main parent, + JTextField champTitre, + JTextArea champContenu, + JComboBox<Integer> rang, + JComboBox<String> comboTheme)
      +
      Constructeur du gestionnaire de boutons pour la fenêtre d’ajout.
      +
      +
      Parameters:
      +
      f - la fenêtre d’ajout
      +
      parent - la fenêtre principale
      +
      champTitre - le champ de texte pour le titre
      +
      champContenu - la zone de texte pour le contenu
      +
      rang - la liste déroulante de priorité
      +
      comboTheme - la liste déroulante du thème
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Gère les actions effectuées sur les boutons de la fenêtre. +

      + Si l’utilisateur clique sur Annuler, la fenêtre d’ajout est fermée + et la fenêtre principale est réaffichée. + Si l’utilisateur clique sur Valider, un nouveau rappel est créé + et ajouté à la liste principale. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action déclenché par un clic sur un bouton
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/GestionModif.html b/doc/fr/iutfbleau/papillon/GestionModif.html new file mode 100644 index 0000000..75d423d --- /dev/null +++ b/doc/fr/iutfbleau/papillon/GestionModif.html @@ -0,0 +1,255 @@ + + + + +GestionModif + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class GestionModif

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, Serializable, Cloneable, Iterable<JButton>, Collection<JButton>, EventListener, List<JButton>, RandomAccess, SequencedCollection<JButton>
+
+
+
public class GestionModif +extends ArrayList<JButton> +implements ActionListener
+
La classe GestionModif gère les boutons de la fenêtre + de modification d’un rappel dans l’application Papillon. +

+ Elle permet à l’utilisateur de valider ou d’annuler les changements + effectués sur un rappel existant. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GestionModif

      +
      public GestionModif(JFrame f, + Main parent, + JTextField champTitre, + JTextArea champContenu, + JComboBox<Integer> rang, + JComboBox<String> comboTheme, + Rappel r)
      +
      Constructeur du gestionnaire de boutons pour la fenêtre de modification.
      +
      +
      Parameters:
      +
      f - la fenêtre de modification
      +
      parent - la fenêtre principale
      +
      champTitre - le champ de texte pour le titre
      +
      champContenu - la zone de texte pour le contenu
      +
      rang - la liste déroulante de priorité
      +
      comboTheme - la liste déroulante du thème
      +
      r - le rappel à modifier
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Gère les actions effectuées sur les boutons de la fenêtre. +

      + Si l’utilisateur clique sur Annuler, la fenêtre principale est réaffichée. + Si l’utilisateur clique sur Valider, les changements sont enregistrés. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action déclenché par un bouton
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/GestionRappel.html b/doc/fr/iutfbleau/papillon/GestionRappel.html new file mode 100644 index 0000000..8f31b7a --- /dev/null +++ b/doc/fr/iutfbleau/papillon/GestionRappel.html @@ -0,0 +1,307 @@ + + + + +GestionRappel + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class GestionRappel

+
+
java.lang.Object +
fr.iutfbleau.papillon.GestionRappel
+
+
+
+
public class GestionRappel +extends Object
+
La classe GestionRappel gère les opérations CRUD + (création, lecture, modification, suppression) sur les rappels + associés à l’utilisateur courant. +

+ Elle s’appuie sur les classes Rappel, RappelBD, + UserKey et UtilisateurBD pour interagir + avec la base de données. +

+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
    +
    Constructeur de la classe GestionRappel.
    +
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    int
    +
    ajouter(String titre, + String contenu, + String theme, + int rang)
    +
    +
    Ajoute un nouveau rappel pour l’utilisateur courant.
    +
    +
    int
    + +
    +
    Renvoie l’identifiant de l’utilisateur courant.
    +
    + + +
    +
    Liste tous les rappels appartenant à l’utilisateur courant.
    +
    +
    int
    +
    modifierParId(int id, + Rappel r)
    +
    +
    Modifie un rappel existant à partir de son identifiant.
    +
    +
    int
    + +
    +
    Supprime un rappel de la base de données selon son identifiant.
    +
    +
    int
    + +
    +
    Supprime tous les rappels appartenant à l’utilisateur courant.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      GestionRappel

      +
      public GestionRappel()
      +
      Constructeur de la classe GestionRappel. +

      + Initialise l’identifiant utilisateur en se basant sur la clé locale. + Si aucun utilisateur n’existe encore, il est automatiquement créé + dans la base de données. +

      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      ajouter

      +
      public int ajouter(String titre, + String contenu, + String theme, + int rang) + throws SQLException
      +
      Ajoute un nouveau rappel pour l’utilisateur courant.
      +
      +
      Parameters:
      +
      titre - le titre du rappel
      +
      contenu - le contenu textuel du rappel
      +
      theme - le thème associé au rappel
      +
      rang - la priorité du rappel
      +
      Returns:
      +
      le nombre de lignes affectées ou l’ID du rappel ajouté
      +
      Throws:
      +
      SQLException - si une erreur survient lors de l’ajout
      +
      +
      +
    • +
    • +
      +

      lister

      +
      public List<Rappel> lister() + throws SQLException
      +
      Liste tous les rappels appartenant à l’utilisateur courant.
      +
      +
      Returns:
      +
      la liste des rappels de l’utilisateur
      +
      Throws:
      +
      SQLException - si une erreur de communication avec la base survient
      +
      +
      +
    • +
    • +
      +

      modifierParId

      +
      public int modifierParId(int id, + Rappel r) + throws SQLException
      +
      Modifie un rappel existant à partir de son identifiant.
      +
      +
      Parameters:
      +
      id - l’identifiant du rappel à modifier
      +
      r - l’objet Rappel contenant les nouvelles valeurs
      +
      Returns:
      +
      le nombre de lignes modifiées
      +
      Throws:
      +
      SQLException - si une erreur survient lors de la mise à jour
      +
      +
      +
    • +
    • +
      +

      supprimerParId

      +
      public int supprimerParId(int id) + throws SQLException
      +
      Supprime un rappel de la base de données selon son identifiant.
      +
      +
      Parameters:
      +
      id - l’identifiant du rappel à supprimer
      +
      Returns:
      +
      le nombre de lignes supprimées
      +
      Throws:
      +
      SQLException - si une erreur survient lors de la suppression
      +
      +
      +
    • +
    • +
      +

      viderTousMesRappels

      +
      public int viderTousMesRappels() + throws SQLException
      +
      Supprime tous les rappels appartenant à l’utilisateur courant.
      +
      +
      Returns:
      +
      le nombre de rappels supprimés
      +
      Throws:
      +
      SQLException - si une erreur survient lors de la suppression
      +
      +
      +
    • +
    • +
      +

      getUtilisateurId

      +
      public int getUtilisateurId()
      +
      Renvoie l’identifiant de l’utilisateur courant.
      +
      +
      Returns:
      +
      l’ID utilisateur
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/LimiteContenu.html b/doc/fr/iutfbleau/papillon/LimiteContenu.html new file mode 100644 index 0000000..abacd60 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/LimiteContenu.html @@ -0,0 +1,250 @@ + + + + +LimiteContenu + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class LimiteContenu

+
+ +
+
+
All Implemented Interfaces:
+
Serializable, Document
+
+
+
public class LimiteContenu +extends PlainDocument
+
La classe LimiteContenu permet de limiter le nombre + de caractères pouvant être saisis dans un champ de texte Swing. +

+ Elle hérite de PlainDocument et empêche toute insertion + dépassant la limite définie. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      LimiteContenu

      +
      public LimiteContenu(int limite)
      +
      Constructeur qui définit la limite de caractères.
      +
      +
      Parameters:
      +
      limite - le nombre maximum de caractères autorisés
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/Main.html b/doc/fr/iutfbleau/papillon/Main.html new file mode 100644 index 0000000..210589b --- /dev/null +++ b/doc/fr/iutfbleau/papillon/Main.html @@ -0,0 +1,345 @@ + + + + +Main + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Main

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
+
+
+
public class Main +extends JFrame +implements ActionListener
+
La classe Main représente la fenêtre principale + de l’application Papillon. +

+ Elle gère l’affichage des rappels, leur tri, ainsi que les + interactions avec les boutons d’ajout, de suppression et de modification. +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Main

      +
      public Main()
      +
      Constructeur de la fenêtre principale de l’application. +

      + Initialise les composants graphiques, configure la disposition et + charge la liste des rappels au démarrage. +

      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getPanelRpl

      +
      public List<PanelRappel> getPanelRpl()
      +
      Renvoie la liste des panneaux de rappels actuellement affichés.
      +
      +
      Returns:
      +
      une liste de PanelRappel
      +
      +
      +
    • +
    • +
      +

      maj

      +
      public void maj()
      +
      Met à jour la fenêtre principale après une modification + (ajout, suppression ou édition d’un rappel). +

      + Cette méthode recharge le panneau des rappels + et force le recalcul de l’affichage. +

      +
      +
    • +
    • +
      +

      setTrie

      +
      public void setTrie(int rang)
      +
      Applique un tri des rappels selon leur rang de priorité.
      +
      +
      Parameters:
      +
      rang - le niveau de priorité sélectionné dans le menu
      +
      +
      +
    • +
    • +
      +

      getRPanel

      +
      public JPanel getRPanel()
      +
      Renvoie le panneau contenant les rappels.
      +
      +
      Returns:
      +
      le panneau de type JPanel affichant les rappels
      +
      +
      +
    • +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent ea)
      +
      Gère les actions utilisateur sur le menu déroulant de tri. +

      + Réinitialise la liste et applique le tri sélectionné. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      ea - l’événement d’action déclenché
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/PanelRappel.html b/doc/fr/iutfbleau/papillon/PanelRappel.html new file mode 100644 index 0000000..f2ac855 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/PanelRappel.html @@ -0,0 +1,445 @@ + + + + +PanelRappel + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class PanelRappel

+
+ +
+
+
All Implemented Interfaces:
+
ActionListener, MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
public class PanelRappel +extends JPanel +implements ActionListener, MouseListener
+
La classe PanelRappel représente l’affichage graphique + d’un rappel dans l’application Papillon. +

+ Chaque panneau contient le titre, un aperçu du contenu, ainsi qu’une + couleur correspondant au thème du rappel. + L’utilisateur peut interagir avec ce panneau (sélection, clic droit, etc.). +

+
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      PanelRappel

      +
      public PanelRappel(Rappel r, + Main main)
      +
      Constructeur du panneau associé à un rappel et à la fenêtre principale.
      +
      +
      Parameters:
      +
      r - le rappel à afficher
      +
      main - la fenêtre principale
      +
      +
      +
    • +
    • +
      +

      PanelRappel

      +
      public PanelRappel(Rappel r)
      +
      Constructeur du panneau associé à un rappel sans référence à la fenêtre principale.
      +
      +
      Parameters:
      +
      r - le rappel à afficher
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      createPanel

      +
      public void createPanel(Rappel r)
      +
      Initialise et configure le panneau pour afficher les informations du rappel.
      +
      +
      Parameters:
      +
      r - le rappel à afficher
      +
      +
      +
    • +
    • +
      +

      getSelection

      +
      public boolean getSelection()
      +
      Indique si le panneau est actuellement sélectionné.
      +
      +
      Returns:
      +
      true si le panneau est sélectionné, false sinon
      +
      +
      +
    • +
    • +
      +

      getId

      +
      public int getId()
      +
      Renvoie l’identifiant du rappel affiché.
      +
      +
      Returns:
      +
      l’identifiant unique du rappel
      +
      +
      +
    • +
    • +
      +

      getRappel

      +
      public Rappel getRappel()
      +
      Renvoie le rappel associé à ce panneau.
      +
      +
      Returns:
      +
      le rappel affiché dans ce panneau
      +
      +
      +
    • +
    • +
      +

      actionPerformed

      +
      public void actionPerformed(ActionEvent e)
      +
      Gère les actions déclenchées par les éléments du menu contextuel. +

      + Si l’utilisateur clique sur "Ouvrir", la fenêtre détaillée du rappel est affichée. +

      +
      +
      Specified by:
      +
      actionPerformed in interface ActionListener
      +
      Parameters:
      +
      e - l’événement d’action déclenché
      +
      +
      +
    • +
    • +
      +

      mousePressed

      +
      public void mousePressed(MouseEvent e)
      +
      Gère les clics de souris sur le panneau. +

      + Un clic gauche sélectionne/désélectionne le panneau, + tandis qu’un clic droit affiche le menu contextuel. +

      +
      +
      Specified by:
      +
      mousePressed in interface MouseListener
      +
      Parameters:
      +
      e - l’événement de souris détecté
      +
      +
      +
    • +
    • +
      +

      mouseReleased

      +
      public void mouseReleased(MouseEvent e)
      +
      Gère la libération du clic de souris. +

      + Si le clic est un clic droit, le menu contextuel s’affiche. +

      +
      +
      Specified by:
      +
      mouseReleased in interface MouseListener
      +
      Parameters:
      +
      e - l’événement de souris
      +
      +
      +
    • +
    • +
      +

      mouseClicked

      +
      public void mouseClicked(MouseEvent e)
      +
      Gère les clics simples ou doubles sur le panneau. +

      + Un double clic gauche ouvre la fenêtre de rappel complète. +

      +
      +
      Specified by:
      +
      mouseClicked in interface MouseListener
      +
      Parameters:
      +
      e - l’événement de souris
      +
      +
      +
    • +
    • +
      +

      mouseEntered

      +
      public void mouseEntered(MouseEvent e)
      +
      Change l’apparence du panneau lorsque la souris entre dans sa zone.
      +
      +
      Specified by:
      +
      mouseEntered in interface MouseListener
      +
      Parameters:
      +
      e - l’événement de souris
      +
      +
      +
    • +
    • +
      +

      mouseExited

      +
      public void mouseExited(MouseEvent e)
      +
      Restaure la bordure du panneau lorsque la souris quitte sa zone.
      +
      +
      Specified by:
      +
      mouseExited in interface MouseListener
      +
      Parameters:
      +
      e - l’événement de souris
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/Rappel.html b/doc/fr/iutfbleau/papillon/Rappel.html new file mode 100644 index 0000000..0027974 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/Rappel.html @@ -0,0 +1,348 @@ + + + + +Rappel + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Rappel

+
+
java.lang.Object +
fr.iutfbleau.papillon.Rappel
+
+
+
+
public class Rappel +extends Object
+
La classe Rappel représente un rappel utilisateur, + avec un titre, un contenu, un thème et un rang de priorité.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Rappel

      +
      public Rappel()
      +
      Constructeur vide (utilisé notamment pour la lecture SQL).
      +
      +
    • +
    • +
      +

      Rappel

      +
      public Rappel(String titre, + String contenu, + String theme, + int rang)
      +
      Constructeur d’un nouveau rappel sans identifiant.
      +
      +
      Parameters:
      +
      titre - le titre du rappel
      +
      contenu - le contenu ou la description
      +
      theme - la catégorie ou le thème du rappel
      +
      rang - la priorité ou l’ordre d’affichage
      +
      +
      +
    • +
    • +
      +

      Rappel

      +
      public Rappel(int id, + String titre, + String contenu, + String theme, + int rang)
      +
      Constructeur complet avec identifiant.
      +
      +
      Parameters:
      +
      id - l’identifiant du rappel
      +
      titre - le titre du rappel
      +
      contenu - le contenu
      +
      theme - le thème
      +
      rang - le rang de priorité
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getId

      +
      public int getId()
      +
      +
      Returns:
      +
      l’identifiant du rappel
      +
      +
      +
    • +
    • +
      +

      setId

      +
      public void setId(int id)
      +
      +
      Parameters:
      +
      id - définit l’identifiant du rappel
      +
      +
      +
    • +
    • +
      +

      getTitre

      +
      public String getTitre()
      +
      +
      Returns:
      +
      le titre du rappel
      +
      +
      +
    • +
    • +
      +

      setTitre

      +
      public void setTitre(String titre)
      +
      +
      Parameters:
      +
      titre - définit le titre du rappel
      +
      +
      +
    • +
    • +
      +

      getContenu

      +
      public String getContenu()
      +
      +
      Returns:
      +
      le contenu du rappel
      +
      +
      +
    • +
    • +
      +

      setContenu

      +
      public void setContenu(String contenu)
      +
      +
      Parameters:
      +
      contenu - définit le contenu du rappel
      +
      +
      +
    • +
    • +
      +

      getTheme

      +
      public String getTheme()
      +
      +
      Returns:
      +
      le thème du rappel
      +
      +
      +
    • +
    • +
      +

      setTheme

      +
      public void setTheme(String theme)
      +
      +
      Parameters:
      +
      theme - définit le thème du rappel
      +
      +
      +
    • +
    • +
      +

      getRang

      +
      public int getRang()
      +
      +
      Returns:
      +
      le rang de priorité du rappel
      +
      +
      +
    • +
    • +
      +

      setRang

      +
      public void setRang(int rang)
      +
      +
      Parameters:
      +
      rang - définit le rang de priorité du rappel
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/RappelBD.html b/doc/fr/iutfbleau/papillon/RappelBD.html new file mode 100644 index 0000000..08d7973 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/RappelBD.html @@ -0,0 +1,285 @@ + + + + +RappelBD + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class RappelBD

+
+
java.lang.Object +
fr.iutfbleau.papillon.RappelBD
+
+
+
+
public class RappelBD +extends Object
+
La classe RappelBD gère les interactions entre le programme + et la table rappel dans la base de données. +

+ Elle permet d'ajouter, de modifier, de supprimer et de lister les rappels + associés à un utilisateur spécifique à travers son identifiant (utilisateur_id). +

+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    protected static int
    +
    ajouter(Rappel r, + int utilisateurId)
    +
    +
    Ajoute un nouveau rappel dans la base de données pour un utilisateur donné.
    +
    +
    protected static List<Rappel>
    +
    listerParUtilisateur(int utilisateurId)
    +
    +
    Récupère la liste complète des rappels appartenant à un utilisateur.
    +
    +
    protected static int
    +
    modifier(int id, + Rappel r, + int utilisateurId)
    +
    +
    Modifie un rappel existant dans la base de données.
    +
    +
    protected static int
    +
    supprimer(int id, + int utilisateurId)
    +
    +
    Supprime un rappel spécifique appartenant à un utilisateur.
    +
    +
    protected static int
    +
    supprimerToutPourUtilisateur(int utilisateurId)
    +
    +
    Supprime tous les rappels appartenant à un utilisateur spécifique.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      RappelBD

      +
      public RappelBD()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      ajouter

      +
      protected static int ajouter(Rappel r, + int utilisateurId) + throws SQLException
      +
      Ajoute un nouveau rappel dans la base de données pour un utilisateur donné.
      +
      +
      Parameters:
      +
      r - l'objet Rappel à insérer dans la base
      +
      utilisateurId - l'identifiant de l'utilisateur propriétaire du rappel
      +
      Returns:
      +
      l'identifiant du rappel nouvellement inséré, ou -1 en cas d'erreur
      +
      Throws:
      +
      SQLException - si une erreur survient lors de la communication avec la base
      +
      +
      +
    • +
    • +
      +

      listerParUtilisateur

      +
      protected static List<Rappel> listerParUtilisateur(int utilisateurId) + throws SQLException
      +
      Récupère la liste complète des rappels appartenant à un utilisateur.
      +
      +
      Parameters:
      +
      utilisateurId - l'identifiant de l'utilisateur
      +
      Returns:
      +
      une liste d'objets Rappel appartenant à cet utilisateur
      +
      Throws:
      +
      SQLException - si une erreur SQL survient lors de l'exécution
      +
      +
      +
    • +
    • +
      +

      modifier

      +
      protected static int modifier(int id, + Rappel r, + int utilisateurId) + throws SQLException
      +
      Modifie un rappel existant dans la base de données.
      +
      +
      Parameters:
      +
      id - l'identifiant du rappel à modifier
      +
      r - l'objet Rappel contenant les nouvelles données
      +
      utilisateurId - l'identifiant de l'utilisateur propriétaire du rappel
      +
      Returns:
      +
      le nombre de lignes modifiées (0 si aucun rappel n'a été trouvé)
      +
      Throws:
      +
      SQLException - si une erreur SQL survient
      +
      +
      +
    • +
    • +
      +

      supprimer

      +
      protected static int supprimer(int id, + int utilisateurId) + throws SQLException
      +
      Supprime un rappel spécifique appartenant à un utilisateur.
      +
      +
      Parameters:
      +
      id - l'identifiant du rappel à supprimer
      +
      utilisateurId - l'identifiant de l'utilisateur propriétaire
      +
      Returns:
      +
      le nombre de lignes supprimées (0 si aucun rappel correspondant)
      +
      Throws:
      +
      SQLException - si une erreur SQL survient
      +
      +
      +
    • +
    • +
      +

      supprimerToutPourUtilisateur

      +
      protected static int supprimerToutPourUtilisateur(int utilisateurId) + throws SQLException
      +
      Supprime tous les rappels appartenant à un utilisateur spécifique.
      +
      +
      Parameters:
      +
      utilisateurId - l'identifiant de l'utilisateur dont les rappels doivent être supprimés
      +
      Returns:
      +
      le nombre total de lignes supprimées
      +
      Throws:
      +
      SQLException - si une erreur SQL survient
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/Start.html b/doc/fr/iutfbleau/papillon/Start.html new file mode 100644 index 0000000..65c6153 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/Start.html @@ -0,0 +1,188 @@ + + + + +Start + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Start

+
+
java.lang.Object +
fr.iutfbleau.papillon.Start
+
+
+
+
public class Start +extends Object
+
La classe Start constitue le point d’entrée principal + de l’application Papillon. +

+ Elle initialise la fenêtre principale et lance l’interface graphique + de l’application. +

+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Start

      +
      public Start()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      main

      +
      public static void main(String[] args)
      +
      Méthode principale exécutée au démarrage du programme. +

      + Crée une instance de la fenêtre principale (Main) + et l’affiche à l’écran. +

      +
      +
      Parameters:
      +
      args - les arguments passés en ligne de commande (non utilisés)
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/UserKey.html b/doc/fr/iutfbleau/papillon/UserKey.html new file mode 100644 index 0000000..e6d36ca --- /dev/null +++ b/doc/fr/iutfbleau/papillon/UserKey.html @@ -0,0 +1,198 @@ + + + + +UserKey + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class UserKey

+
+
java.lang.Object +
fr.iutfbleau.papillon.UserKey
+
+
+
+
public class UserKey +extends Object
+
La classe UserKey permet de gérer une clé d'identification locale + unique pour un utilisateur du logiciel Papillon. + +

+ Cette clé est stockée dans un fichier caché nommé .papillon_id + dans le répertoire personnel de l'utilisateur. + Elle sert à identifier l'utilisateur sans avoir besoin de système de connexion + ou d'authentification centralisée. +

+ +

+ Lors du premier lancement du programme, si le fichier n’existe pas ou est vide, + une clé unique (UUID) est automatiquement générée, enregistrée dans ce fichier + et réutilisée pour les prochaines exécutions. +

+
+
+
    + +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    protected static String
    + +
    +
    Lit la clé stockée dans le fichier ~/.papillon_id + ou en génère une nouvelle si le fichier n'existe pas ou est vide.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      UserKey

      +
      public UserKey()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      lireOuCreerCle

      +
      protected static String lireOuCreerCle()
      +
      Lit la clé stockée dans le fichier ~/.papillon_id + ou en génère une nouvelle si le fichier n'existe pas ou est vide. + +

      Cette méthode est utilisée par GestionRappel pour associer + chaque utilisateur à ses données locales.

      +
      +
      Returns:
      +
      une chaîne de caractères représentant la clé unique de l'utilisateur
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/Utilisateur.html b/doc/fr/iutfbleau/papillon/Utilisateur.html new file mode 100644 index 0000000..5a2cd78 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/Utilisateur.html @@ -0,0 +1,256 @@ + + + + +Utilisateur + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Utilisateur

+
+
java.lang.Object +
fr.iutfbleau.papillon.Utilisateur
+
+
+
+
public class Utilisateur +extends Object
+
La classe Utilisateur représente un utilisateur unique + du logiciel Papillon, identifié par une clé locale.
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      Utilisateur

      +
      public Utilisateur(int id, + String cle)
      +
      Constructeur complet d’un utilisateur.
      +
      +
      Parameters:
      +
      id - l’identifiant de l’utilisateur
      +
      cle - la clé unique d’identification
      +
      +
      +
    • +
    • +
      +

      Utilisateur

      +
      public Utilisateur(String cle)
      +
      Constructeur d’un utilisateur à partir de sa clé uniquement.
      +
      +
      Parameters:
      +
      cle - la clé unique d’identification
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getId

      +
      public int getId()
      +
      +
      Returns:
      +
      l’identifiant de l’utilisateur
      +
      +
      +
    • +
    • +
      +

      setId

      +
      public void setId(int id)
      +
      +
      Parameters:
      +
      id - définit l’identifiant de l’utilisateur
      +
      +
      +
    • +
    • +
      +

      getCle

      +
      public String getCle()
      +
      +
      Returns:
      +
      la clé unique de l’utilisateur
      +
      +
      +
    • +
    • +
      +

      setCle

      +
      public void setCle(String cle)
      +
      +
      Parameters:
      +
      cle - définit la clé unique de l’utilisateur
      +
      +
      +
    • +
    • +
      +

      toString

      +
      public String toString()
      +
      +
      Overrides:
      +
      toString in class Object
      +
      Returns:
      +
      une représentation textuelle de l’utilisateur
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/UtilisateurBD.html b/doc/fr/iutfbleau/papillon/UtilisateurBD.html new file mode 100644 index 0000000..b34b0f4 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/UtilisateurBD.html @@ -0,0 +1,208 @@ + + + + +UtilisateurBD + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class UtilisateurBD

+
+
java.lang.Object +
fr.iutfbleau.papillon.UtilisateurBD
+
+
+
+
public class UtilisateurBD +extends Object
+
La classe UtilisateurBD gère la table utilisateur + de la base de données. +

Elle permet de créer ou de récupérer un utilisateur à partir d’une clé locale, + et de lire un utilisateur complet via sa clé.

+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      UtilisateurBD

      +
      public UtilisateurBD()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      getOrCreateIdByKey

      +
      public static int getOrCreateIdByKey(String cle) + throws SQLException
      +
      Récupère ou crée un utilisateur en fonction de sa clé unique.
      +
      +
      Parameters:
      +
      cle - la clé unique associée à l’utilisateur
      +
      Returns:
      +
      l’identifiant de l’utilisateur correspondant
      +
      Throws:
      +
      SQLException - si une erreur SQL survient
      +
      +
      +
    • +
    • +
      +

      findByKey

      +
      public static Utilisateur findByKey(String cle) + throws SQLException
      +
      Récupère un utilisateur complet à partir de sa clé.
      +
      +
      Parameters:
      +
      cle - la clé unique de l’utilisateur
      +
      Returns:
      +
      un objet Utilisateur si trouvé, sinon null
      +
      Throws:
      +
      SQLException - si une erreur SQL survient
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/package-summary.html b/doc/fr/iutfbleau/papillon/package-summary.html new file mode 100644 index 0000000..4400156 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/package-summary.html @@ -0,0 +1,210 @@ + + + + +fr.iutfbleau.papillon + + + + + + + + + + + + + + +
+ +
+
+
+

Package fr.iutfbleau.papillon

+
+
+
package fr.iutfbleau.papillon
+
+
    +
  • +
    +
    Classes
    +
    +
    Class
    +
    Description
    + +
    +
    La classe BaseDeDonnees fournit les paramètres et méthodes + nécessaires à l’établissement d’une connexion à la base MariaDB.
    +
    + +
    +
    La classe BtnAjouter représente un bouton permettant + d’ouvrir la fenêtre d’ajout d’un nouveau rappel dans l’application Papillon.
    +
    + +
    +
    La classe BtnModifier représente un bouton permettant + de modifier un rappel existant dans l’application Papillon.
    +
    + +
    +
    La classe BtnSupprimer représente un bouton permettant + de supprimer un ou plusieurs rappels dans l’application Papillon.
    +
    + +
    +
    La classe ChoixRang représente une liste déroulante + permettant de filtrer les rappels selon leur niveau de priorité (rang) + dans l’application Papillon.
    +
    + +
    +
    La classe ColorIcon permet d’afficher un petit carré coloré + servant d’icône dans l’interface de l’application Papillon.
    +
    + +
    +
    La classe CouleurList permet d’afficher des couleurs + associées à des thèmes dans les listes déroulantes de l’application Papillon.
    +
    + +
    +
    La classe Crud regroupe les trois boutons principaux + de gestion des rappels dans l’application Papillon : + + Ajouter — pour créer un nouveau rappel, + Supprimer — pour supprimer un ou plusieurs rappels, + Modifier — pour éditer un rappel existant. +
    +
    + +
    +
    La classe FenetreAjout permet d’afficher une fenêtre + dédiée à l’ajout d’un nouveau rappel dans l’application Papillon.
    +
    + +
    +
    La classe FenetreModif permet d’afficher une fenêtre + dédiée à la modification d’un rappel existant dans l’application Papillon.
    +
    + +
    +
    La classe FenetreRappel représente la fenêtre d’affichage + détaillée d’un rappel dans l’application Papillon.
    +
    + +
    +
    La classe GestionAjout gère les boutons de la fenêtre + d’ajout d’un rappel dans l’application Papillon.
    +
    + +
    +
    La classe GestionModif gère les boutons de la fenêtre + de modification d’un rappel dans l’application Papillon.
    +
    + +
    +
    La classe GestionRappel gère les opérations CRUD + (création, lecture, modification, suppression) sur les rappels + associés à l’utilisateur courant.
    +
    + +
    +
    La classe LimiteContenu permet de limiter le nombre + de caractères pouvant être saisis dans un champ de texte Swing.
    +
    + +
    +
    La classe Main représente la fenêtre principale + de l’application Papillon.
    +
    + +
    +
    La classe PanelRappel représente l’affichage graphique + d’un rappel dans l’application Papillon.
    +
    + +
    +
    La classe Rappel représente un rappel utilisateur, + avec un titre, un contenu, un thème et un rang de priorité.
    +
    + +
    +
    La classe RappelBD gère les interactions entre le programme + et la table rappel dans la base de données.
    +
    + +
    +
    La classe Start constitue le point d’entrée principal + de l’application Papillon.
    +
    + +
    +
    La classe UserKey permet de gérer une clé d'identification locale + unique pour un utilisateur du logiciel Papillon.
    +
    + +
    +
    La classe Utilisateur représente un utilisateur unique + du logiciel Papillon, identifié par une clé locale.
    +
    + +
    +
    La classe UtilisateurBD gère la table utilisateur + de la base de données.
    +
    +
    +
    +
  • +
+
+
+
+
+ + diff --git a/doc/fr/iutfbleau/papillon/package-tree.html b/doc/fr/iutfbleau/papillon/package-tree.html new file mode 100644 index 0000000..4544535 --- /dev/null +++ b/doc/fr/iutfbleau/papillon/package-tree.html @@ -0,0 +1,156 @@ + + + + +fr.iutfbleau.papillon Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package fr.iutfbleau.papillon

+
+
+

Class Hierarchy

+ +
+
+
+
+ + diff --git a/doc/help-doc.html b/doc/help-doc.html new file mode 100644 index 0000000..e577e24 --- /dev/null +++ b/doc/help-doc.html @@ -0,0 +1,182 @@ + + + + +API Help + + + + + + + + + + + + + + +
+ +
+
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
+
+
+

Kinds of Pages

+The following sections describe the different kinds of pages in this collection. +
+

Package

+

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

+
    +
  • Interfaces
  • +
  • Classes
  • +
  • Enum Classes
  • +
  • Exception Classes
  • +
  • Annotation Interfaces
  • +
+
+
+

Class or Interface

+

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

+
    +
  • Class Inheritance Diagram
  • +
  • Direct Subclasses
  • +
  • All Known Subinterfaces
  • +
  • All Known Implementing Classes
  • +
  • Class or Interface Declaration
  • +
  • Class or Interface Description
  • +
+
+
    +
  • Nested Class Summary
  • +
  • Enum Constant Summary
  • +
  • Field Summary
  • +
  • Property Summary
  • +
  • Constructor Summary
  • +
  • Method Summary
  • +
  • Required Element Summary
  • +
  • Optional Element Summary
  • +
+
+
    +
  • Enum Constant Details
  • +
  • Field Details
  • +
  • Property Details
  • +
  • Constructor Details
  • +
  • Method Details
  • +
  • Element Details
  • +
+

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

+

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

+
+
+

Other Files

+

Packages and modules may contain pages with additional information related to the declarations nearby.

+
+
+

Tree (Class Hierarchy)

+

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

+
    +
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • +
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • +
+
+
+

Serialized Form

+

Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

+
+
+

All Packages

+

The All Packages page contains an alphabetic index of all packages contained in the documentation.

+
+
+

All Classes and Interfaces

+

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

+
+
+

Index

+

The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

+
+
+
+This help file applies to API documentation generated by the standard doclet.
+
+
+ + diff --git a/doc/index-all.html b/doc/index-all.html new file mode 100644 index 0000000..e130e31 --- /dev/null +++ b/doc/index-all.html @@ -0,0 +1,525 @@ + + + + +Index + + + + + + + + + + + + + + +
+ +
+
+
+

Index

+
+A B C F G I L M P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form +

A

+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.BtnAjouter
+
+
Méthode appelée lorsqu’un clic est détecté sur le bouton.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.BtnModifier
+
 
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.BtnSupprimer
+
+
Gère l’action effectuée lors d’un clic sur le bouton.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.FenetreRappel
+
+
Gère les actions effectuées sur les boutons de la fenêtre.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.GestionAjout
+
+
Gère les actions effectuées sur les boutons de la fenêtre.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.GestionModif
+
+
Gère les actions effectuées sur les boutons de la fenêtre.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.Main
+
+
Gère les actions utilisateur sur le menu déroulant de tri.
+
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Gère les actions déclenchées par les éléments du menu contextuel.
+
+
ajouter(Rappel, int) - Static method in class fr.iutfbleau.papillon.RappelBD
+
+
Ajoute un nouveau rappel dans la base de données pour un utilisateur donné.
+
+
ajouter(String, String, String, int) - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Ajoute un nouveau rappel pour l’utilisateur courant.
+
+
+

B

+
+
BaseDeDonnees - Class in fr.iutfbleau.papillon
+
+
La classe BaseDeDonnees fournit les paramètres et méthodes + nécessaires à l’établissement d’une connexion à la base MariaDB.
+
+
BaseDeDonnees() - Constructor for class fr.iutfbleau.papillon.BaseDeDonnees
+
 
+
BtnAjouter - Class in fr.iutfbleau.papillon
+
+
La classe BtnAjouter représente un bouton permettant + d’ouvrir la fenêtre d’ajout d’un nouveau rappel dans l’application Papillon.
+
+
BtnAjouter(Main) - Constructor for class fr.iutfbleau.papillon.BtnAjouter
+
+
Construit un bouton "Ajouter" associé à la fenêtre principale.
+
+
BtnModifier - Class in fr.iutfbleau.papillon
+
+
La classe BtnModifier représente un bouton permettant + de modifier un rappel existant dans l’application Papillon.
+
+
BtnModifier(Main) - Constructor for class fr.iutfbleau.papillon.BtnModifier
+
+
Construit un bouton "Modifier" associé à la fenêtre principale.
+
+
BtnSupprimer - Class in fr.iutfbleau.papillon
+
+
La classe BtnSupprimer représente un bouton permettant + de supprimer un ou plusieurs rappels dans l’application Papillon.
+
+
BtnSupprimer(Main) - Constructor for class fr.iutfbleau.papillon.BtnSupprimer
+
+
Construit un bouton "Supprimer" associé à la fenêtre principale.
+
+
+

C

+
+
ChoixRang - Class in fr.iutfbleau.papillon
+
+
La classe ChoixRang représente une liste déroulante + permettant de filtrer les rappels selon leur niveau de priorité (rang) + dans l’application Papillon.
+
+
ChoixRang() - Constructor for class fr.iutfbleau.papillon.ChoixRang
+
+
Constructeur qui initialise la liste déroulante des rangs.
+
+
ColorIcon - Class in fr.iutfbleau.papillon
+
+
La classe ColorIcon permet d’afficher un petit carré coloré + servant d’icône dans l’interface de l’application Papillon.
+
+
ColorIcon(Color, int, int) - Constructor for class fr.iutfbleau.papillon.ColorIcon
+
+
Constructeur de l’icône colorée.
+
+
couleurDe(String) - Method in class fr.iutfbleau.papillon.CouleurList
+
+
Renvoie la couleur correspondant au nom affiché dans le menu déroulant.
+
+
CouleurList - Class in fr.iutfbleau.papillon
+
+
La classe CouleurList permet d’afficher des couleurs + associées à des thèmes dans les listes déroulantes de l’application Papillon.
+
+
CouleurList() - Constructor for class fr.iutfbleau.papillon.CouleurList
+
 
+
createPanel(Rappel) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Initialise et configure le panneau pour afficher les informations du rappel.
+
+
Crud - Class in fr.iutfbleau.papillon
+
+
La classe Crud regroupe les trois boutons principaux + de gestion des rappels dans l’application Papillon : + + Ajouter — pour créer un nouveau rappel, + Supprimer — pour supprimer un ou plusieurs rappels, + Modifier — pour éditer un rappel existant. +
+
+
Crud(Main) - Constructor for class fr.iutfbleau.papillon.Crud
+
+
Constructeur de la barre d’actions CRUD.
+
+
+

F

+
+
FenetreAjout - Class in fr.iutfbleau.papillon
+
+
La classe FenetreAjout permet d’afficher une fenêtre + dédiée à l’ajout d’un nouveau rappel dans l’application Papillon.
+
+
FenetreAjout(Main) - Constructor for class fr.iutfbleau.papillon.FenetreAjout
+
+
Constructeur de la fenêtre d’ajout.
+
+
FenetreModif - Class in fr.iutfbleau.papillon
+
+
La classe FenetreModif permet d’afficher une fenêtre + dédiée à la modification d’un rappel existant dans l’application Papillon.
+
+
FenetreModif(Main, Rappel) - Constructor for class fr.iutfbleau.papillon.FenetreModif
+
+
Constructeur de la fenêtre de modification.
+
+
FenetreRappel - Class in fr.iutfbleau.papillon
+
+
La classe FenetreRappel représente la fenêtre d’affichage + détaillée d’un rappel dans l’application Papillon.
+
+
FenetreRappel(Rappel, Main) - Constructor for class fr.iutfbleau.papillon.FenetreRappel
+
+
Constructeur de la fenêtre d’affichage d’un rappel.
+
+
findByKey(String) - Static method in class fr.iutfbleau.papillon.UtilisateurBD
+
+
Récupère un utilisateur complet à partir de sa clé.
+
+
fr.iutfbleau.papillon - package fr.iutfbleau.papillon
+
 
+
+

G

+
+
GestionAjout - Class in fr.iutfbleau.papillon
+
+
La classe GestionAjout gère les boutons de la fenêtre + d’ajout d’un rappel dans l’application Papillon.
+
+
GestionAjout(JFrame, Main, JTextField, JTextArea, JComboBox<Integer>, JComboBox<String>) - Constructor for class fr.iutfbleau.papillon.GestionAjout
+
+
Constructeur du gestionnaire de boutons pour la fenêtre d’ajout.
+
+
GestionModif - Class in fr.iutfbleau.papillon
+
+
La classe GestionModif gère les boutons de la fenêtre + de modification d’un rappel dans l’application Papillon.
+
+
GestionModif(JFrame, Main, JTextField, JTextArea, JComboBox<Integer>, JComboBox<String>, Rappel) - Constructor for class fr.iutfbleau.papillon.GestionModif
+
+
Constructeur du gestionnaire de boutons pour la fenêtre de modification.
+
+
GestionRappel - Class in fr.iutfbleau.papillon
+
+
La classe GestionRappel gère les opérations CRUD + (création, lecture, modification, suppression) sur les rappels + associés à l’utilisateur courant.
+
+
GestionRappel() - Constructor for class fr.iutfbleau.papillon.GestionRappel
+
+
Constructeur de la classe GestionRappel.
+
+
getCle() - Method in class fr.iutfbleau.papillon.Utilisateur
+
 
+
getConnexion() - Static method in class fr.iutfbleau.papillon.BaseDeDonnees
+
+
Établit une connexion avec la base de données MariaDB.
+
+
getContenu() - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
getIconHeight() - Method in class fr.iutfbleau.papillon.ColorIcon
+
+
Renvoie la hauteur de l’icône.
+
+
getIconWidth() - Method in class fr.iutfbleau.papillon.ColorIcon
+
+
Renvoie la largeur de l’icône.
+
+
getId() - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Renvoie l’identifiant du rappel affiché.
+
+
getId() - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
getId() - Method in class fr.iutfbleau.papillon.Utilisateur
+
 
+
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class fr.iutfbleau.papillon.CouleurList
+
+
Personnalise l’affichage des éléments dans la liste déroulante.
+
+
getOrCreateIdByKey(String) - Static method in class fr.iutfbleau.papillon.UtilisateurBD
+
+
Récupère ou crée un utilisateur en fonction de sa clé unique.
+
+
getPanelRpl() - Method in class fr.iutfbleau.papillon.Main
+
+
Renvoie la liste des panneaux de rappels actuellement affichés.
+
+
getRang() - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
getRappel() - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Renvoie le rappel associé à ce panneau.
+
+
getRPanel() - Method in class fr.iutfbleau.papillon.Main
+
+
Renvoie le panneau contenant les rappels.
+
+
getSelection() - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Indique si le panneau est actuellement sélectionné.
+
+
getTheme() - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
getTitre() - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
getUtilisateurId() - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Renvoie l’identifiant de l’utilisateur courant.
+
+
+

I

+
+
insertString(int, String, AttributeSet) - Method in class fr.iutfbleau.papillon.LimiteContenu
+
+
Insère une chaîne dans le document si elle ne dépasse pas la limite autorisée.
+
+
+

L

+
+
LimiteContenu - Class in fr.iutfbleau.papillon
+
+
La classe LimiteContenu permet de limiter le nombre + de caractères pouvant être saisis dans un champ de texte Swing.
+
+
LimiteContenu(int) - Constructor for class fr.iutfbleau.papillon.LimiteContenu
+
+
Constructeur qui définit la limite de caractères.
+
+
lireOuCreerCle() - Static method in class fr.iutfbleau.papillon.UserKey
+
+
Lit la clé stockée dans le fichier ~/.papillon_id + ou en génère une nouvelle si le fichier n'existe pas ou est vide.
+
+
lister() - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Liste tous les rappels appartenant à l’utilisateur courant.
+
+
listerParUtilisateur(int) - Static method in class fr.iutfbleau.papillon.RappelBD
+
+
Récupère la liste complète des rappels appartenant à un utilisateur.
+
+
+

M

+
+
main(String[]) - Static method in class fr.iutfbleau.papillon.Start
+
+
Méthode principale exécutée au démarrage du programme.
+
+
Main - Class in fr.iutfbleau.papillon
+
+
La classe Main représente la fenêtre principale + de l’application Papillon.
+
+
Main() - Constructor for class fr.iutfbleau.papillon.Main
+
+
Constructeur de la fenêtre principale de l’application.
+
+
maj() - Method in class fr.iutfbleau.papillon.Main
+
+
Met à jour la fenêtre principale après une modification + (ajout, suppression ou édition d’un rappel).
+
+
modifier(int, Rappel, int) - Static method in class fr.iutfbleau.papillon.RappelBD
+
+
Modifie un rappel existant dans la base de données.
+
+
modifierParId(int, Rappel) - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Modifie un rappel existant à partir de son identifiant.
+
+
mouseClicked(MouseEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Gère les clics simples ou doubles sur le panneau.
+
+
mouseEntered(MouseEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Change l’apparence du panneau lorsque la souris entre dans sa zone.
+
+
mouseExited(MouseEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Restaure la bordure du panneau lorsque la souris quitte sa zone.
+
+
mousePressed(MouseEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Gère les clics de souris sur le panneau.
+
+
mouseReleased(MouseEvent) - Method in class fr.iutfbleau.papillon.PanelRappel
+
+
Gère la libération du clic de souris.
+
+
+

P

+
+
paintIcon(Component, Graphics, int, int) - Method in class fr.iutfbleau.papillon.ColorIcon
+
+
Dessine l’icône sur le composant spécifié.
+
+
PanelRappel - Class in fr.iutfbleau.papillon
+
+
La classe PanelRappel représente l’affichage graphique + d’un rappel dans l’application Papillon.
+
+
PanelRappel(Rappel) - Constructor for class fr.iutfbleau.papillon.PanelRappel
+
+
Constructeur du panneau associé à un rappel sans référence à la fenêtre principale.
+
+
PanelRappel(Rappel, Main) - Constructor for class fr.iutfbleau.papillon.PanelRappel
+
+
Constructeur du panneau associé à un rappel et à la fenêtre principale.
+
+
+

R

+
+
Rappel - Class in fr.iutfbleau.papillon
+
+
La classe Rappel représente un rappel utilisateur, + avec un titre, un contenu, un thème et un rang de priorité.
+
+
Rappel() - Constructor for class fr.iutfbleau.papillon.Rappel
+
+
Constructeur vide (utilisé notamment pour la lecture SQL).
+
+
Rappel(int, String, String, String, int) - Constructor for class fr.iutfbleau.papillon.Rappel
+
+
Constructeur complet avec identifiant.
+
+
Rappel(String, String, String, int) - Constructor for class fr.iutfbleau.papillon.Rappel
+
+
Constructeur d’un nouveau rappel sans identifiant.
+
+
RappelBD - Class in fr.iutfbleau.papillon
+
+
La classe RappelBD gère les interactions entre le programme + et la table rappel dans la base de données.
+
+
RappelBD() - Constructor for class fr.iutfbleau.papillon.RappelBD
+
 
+
+

S

+
+
setCle(String) - Method in class fr.iutfbleau.papillon.Utilisateur
+
 
+
setContenu(String) - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
setId(int) - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
setId(int) - Method in class fr.iutfbleau.papillon.Utilisateur
+
 
+
setRang(int) - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
setTheme(String) - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
setTitre(String) - Method in class fr.iutfbleau.papillon.Rappel
+
 
+
setTrie(int) - Method in class fr.iutfbleau.papillon.Main
+
+
Applique un tri des rappels selon leur rang de priorité.
+
+
Start - Class in fr.iutfbleau.papillon
+
+
La classe Start constitue le point d’entrée principal + de l’application Papillon.
+
+
Start() - Constructor for class fr.iutfbleau.papillon.Start
+
 
+
supprimer(int, int) - Static method in class fr.iutfbleau.papillon.RappelBD
+
+
Supprime un rappel spécifique appartenant à un utilisateur.
+
+
supprimerParId(int) - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Supprime un rappel de la base de données selon son identifiant.
+
+
supprimerToutPourUtilisateur(int) - Static method in class fr.iutfbleau.papillon.RappelBD
+
+
Supprime tous les rappels appartenant à un utilisateur spécifique.
+
+
+

T

+
+
tirage(Main) - Method in class fr.iutfbleau.papillon.ChoixRang
+
+
Met à jour l’affichage des rappels en fonction du rang sélectionné.
+
+
toString() - Method in class fr.iutfbleau.papillon.Utilisateur
+
 
+
+

U

+
+
UserKey - Class in fr.iutfbleau.papillon
+
+
La classe UserKey permet de gérer une clé d'identification locale + unique pour un utilisateur du logiciel Papillon.
+
+
UserKey() - Constructor for class fr.iutfbleau.papillon.UserKey
+
 
+
Utilisateur - Class in fr.iutfbleau.papillon
+
+
La classe Utilisateur représente un utilisateur unique + du logiciel Papillon, identifié par une clé locale.
+
+
Utilisateur(int, String) - Constructor for class fr.iutfbleau.papillon.Utilisateur
+
+
Constructeur complet d’un utilisateur.
+
+
Utilisateur(String) - Constructor for class fr.iutfbleau.papillon.Utilisateur
+
+
Constructeur d’un utilisateur à partir de sa clé uniquement.
+
+
UtilisateurBD - Class in fr.iutfbleau.papillon
+
+
La classe UtilisateurBD gère la table utilisateur + de la base de données.
+
+
UtilisateurBD() - Constructor for class fr.iutfbleau.papillon.UtilisateurBD
+
 
+
+

V

+
+
viderTousMesRappels() - Method in class fr.iutfbleau.papillon.GestionRappel
+
+
Supprime tous les rappels appartenant à l’utilisateur courant.
+
+
+A B C F G I L M P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form
+
+
+ + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..cf5606d --- /dev/null +++ b/doc/index.html @@ -0,0 +1,26 @@ + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +
+ +

fr/iutfbleau/papillon/package-summary.html

+
+ + diff --git a/doc/legal/ADDITIONAL_LICENSE_INFO b/doc/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000..b62cc3e --- /dev/null +++ b/doc/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1 @@ +Please see ..\java.base\ADDITIONAL_LICENSE_INFO diff --git a/doc/legal/ASSEMBLY_EXCEPTION b/doc/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000..0d4cfb4 --- /dev/null +++ b/doc/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1 @@ +Please see ..\java.base\ASSEMBLY_EXCEPTION diff --git a/doc/legal/LICENSE b/doc/legal/LICENSE new file mode 100644 index 0000000..4ad9fe4 --- /dev/null +++ b/doc/legal/LICENSE @@ -0,0 +1 @@ +Please see ..\java.base\LICENSE diff --git a/doc/legal/jquery.md b/doc/legal/jquery.md new file mode 100644 index 0000000..a763ec6 --- /dev/null +++ b/doc/legal/jquery.md @@ -0,0 +1,26 @@ +## jQuery v3.7.1 + +### jQuery License +``` +jQuery v 3.7.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +``` diff --git a/doc/legal/jqueryUI.md b/doc/legal/jqueryUI.md new file mode 100644 index 0000000..8bda9d7 --- /dev/null +++ b/doc/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.2 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/doc/link.svg b/doc/link.svg new file mode 100644 index 0000000..7ccc5ed --- /dev/null +++ b/doc/link.svg @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/doc/member-search-index.js b/doc/member-search-index.js new file mode 100644 index 0000000..85cedc6 --- /dev/null +++ b/doc/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"fr.iutfbleau.papillon","c":"BtnAjouter","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"BtnModifier","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"BtnSupprimer","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"FenetreRappel","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"GestionAjout","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"GestionModif","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"actionPerformed(ActionEvent)","u":"actionPerformed(java.awt.event.ActionEvent)"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"ajouter(Rappel, int)","u":"ajouter(fr.iutfbleau.papillon.Rappel,int)"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"ajouter(String, String, String, int)","u":"ajouter(java.lang.String,java.lang.String,java.lang.String,int)"},{"p":"fr.iutfbleau.papillon","c":"BaseDeDonnees","l":"BaseDeDonnees()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"BtnAjouter","l":"BtnAjouter(Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"BtnModifier","l":"BtnModifier(Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"BtnSupprimer","l":"BtnSupprimer(Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"ChoixRang","l":"ChoixRang()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"ColorIcon","l":"ColorIcon(Color, int, int)","u":"%3Cinit%3E(java.awt.Color,int,int)"},{"p":"fr.iutfbleau.papillon","c":"CouleurList","l":"couleurDe(String)","u":"couleurDe(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"CouleurList","l":"CouleurList()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"createPanel(Rappel)","u":"createPanel(fr.iutfbleau.papillon.Rappel)"},{"p":"fr.iutfbleau.papillon","c":"Crud","l":"Crud(Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"FenetreAjout","l":"FenetreAjout(Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"FenetreModif","l":"FenetreModif(Main, Rappel)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Main,fr.iutfbleau.papillon.Rappel)"},{"p":"fr.iutfbleau.papillon","c":"FenetreRappel","l":"FenetreRappel(Rappel, Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Rappel,fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"UtilisateurBD","l":"findByKey(String)","u":"findByKey(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"GestionAjout","l":"GestionAjout(JFrame, Main, JTextField, JTextArea, JComboBox, JComboBox)","u":"%3Cinit%3E(javax.swing.JFrame,fr.iutfbleau.papillon.Main,javax.swing.JTextField,javax.swing.JTextArea,javax.swing.JComboBox,javax.swing.JComboBox)"},{"p":"fr.iutfbleau.papillon","c":"GestionModif","l":"GestionModif(JFrame, Main, JTextField, JTextArea, JComboBox, JComboBox, Rappel)","u":"%3Cinit%3E(javax.swing.JFrame,fr.iutfbleau.papillon.Main,javax.swing.JTextField,javax.swing.JTextArea,javax.swing.JComboBox,javax.swing.JComboBox,fr.iutfbleau.papillon.Rappel)"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"GestionRappel()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"getCle()"},{"p":"fr.iutfbleau.papillon","c":"BaseDeDonnees","l":"getConnexion()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"getContenu()"},{"p":"fr.iutfbleau.papillon","c":"ColorIcon","l":"getIconHeight()"},{"p":"fr.iutfbleau.papillon","c":"ColorIcon","l":"getIconWidth()"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"getId()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"getId()"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"getId()"},{"p":"fr.iutfbleau.papillon","c":"CouleurList","l":"getListCellRendererComponent(JList, Object, int, boolean, boolean)","u":"getListCellRendererComponent(javax.swing.JList,java.lang.Object,int,boolean,boolean)"},{"p":"fr.iutfbleau.papillon","c":"UtilisateurBD","l":"getOrCreateIdByKey(String)","u":"getOrCreateIdByKey(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"getPanelRpl()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"getRang()"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"getRappel()"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"getRPanel()"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"getSelection()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"getTheme()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"getTitre()"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"getUtilisateurId()"},{"p":"fr.iutfbleau.papillon","c":"LimiteContenu","l":"insertString(int, String, AttributeSet)","u":"insertString(int,java.lang.String,javax.swing.text.AttributeSet)"},{"p":"fr.iutfbleau.papillon","c":"LimiteContenu","l":"LimiteContenu(int)","u":"%3Cinit%3E(int)"},{"p":"fr.iutfbleau.papillon","c":"UserKey","l":"lireOuCreerCle()"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"lister()"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"listerParUtilisateur(int)"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"Main()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"Start","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"maj()"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"modifier(int, Rappel, int)","u":"modifier(int,fr.iutfbleau.papillon.Rappel,int)"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"modifierParId(int, Rappel)","u":"modifierParId(int,fr.iutfbleau.papillon.Rappel)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"mouseClicked(MouseEvent)","u":"mouseClicked(java.awt.event.MouseEvent)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"mouseEntered(MouseEvent)","u":"mouseEntered(java.awt.event.MouseEvent)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"mouseExited(MouseEvent)","u":"mouseExited(java.awt.event.MouseEvent)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"mousePressed(MouseEvent)","u":"mousePressed(java.awt.event.MouseEvent)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"mouseReleased(MouseEvent)","u":"mouseReleased(java.awt.event.MouseEvent)"},{"p":"fr.iutfbleau.papillon","c":"ColorIcon","l":"paintIcon(Component, Graphics, int, int)","u":"paintIcon(java.awt.Component,java.awt.Graphics,int,int)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"PanelRappel(Rappel)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Rappel)"},{"p":"fr.iutfbleau.papillon","c":"PanelRappel","l":"PanelRappel(Rappel, Main)","u":"%3Cinit%3E(fr.iutfbleau.papillon.Rappel,fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"Rappel()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"Rappel(int, String, String, String, int)","u":"%3Cinit%3E(int,java.lang.String,java.lang.String,java.lang.String,int)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"Rappel(String, String, String, int)","u":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,int)"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"RappelBD()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"setCle(String)","u":"setCle(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"setContenu(String)","u":"setContenu(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"setId(int)"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"setId(int)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"setRang(int)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"setTheme(String)","u":"setTheme(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Rappel","l":"setTitre(String)","u":"setTitre(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Main","l":"setTrie(int)"},{"p":"fr.iutfbleau.papillon","c":"Start","l":"Start()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"supprimer(int, int)","u":"supprimer(int,int)"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"supprimerParId(int)"},{"p":"fr.iutfbleau.papillon","c":"RappelBD","l":"supprimerToutPourUtilisateur(int)"},{"p":"fr.iutfbleau.papillon","c":"ChoixRang","l":"tirage(Main)","u":"tirage(fr.iutfbleau.papillon.Main)"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"toString()"},{"p":"fr.iutfbleau.papillon","c":"UserKey","l":"UserKey()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"Utilisateur(int, String)","u":"%3Cinit%3E(int,java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"Utilisateur","l":"Utilisateur(String)","u":"%3Cinit%3E(java.lang.String)"},{"p":"fr.iutfbleau.papillon","c":"UtilisateurBD","l":"UtilisateurBD()","u":"%3Cinit%3E()"},{"p":"fr.iutfbleau.papillon","c":"GestionRappel","l":"viderTousMesRappels()"}];updateSearchResults(); \ No newline at end of file diff --git a/doc/module-search-index.js b/doc/module-search-index.js new file mode 100644 index 0000000..0d59754 --- /dev/null +++ b/doc/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/doc/overview-tree.html b/doc/overview-tree.html new file mode 100644 index 0000000..84e42cd --- /dev/null +++ b/doc/overview-tree.html @@ -0,0 +1,160 @@ + + + + +Class Hierarchy + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For All Packages

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+
+
+ + diff --git a/doc/package-search-index.js b/doc/package-search-index.js new file mode 100644 index 0000000..c22b52a --- /dev/null +++ b/doc/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"fr.iutfbleau.papillon"}];updateSearchResults(); \ No newline at end of file diff --git a/doc/resources/glass.png b/doc/resources/glass.png new file mode 100644 index 0000000000000000000000000000000000000000..a7f591f467a1c0c949bbc510156a0c1afb860a6e GIT binary patch literal 499 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7BuiW)N`mv#O3D+9QW+dm z@{>{(JaZG%Q-e|yQz{EjrrIztFi!P!aSW-rmGtNTe|u&Qmvi^?IhLGixWU-L+VDeB zU_I-jdrv$2-b)lPxJ_VmIP2-~%}1e*<%o9U4^e^F4QE&%U3YlHWb%YBj9KZ~TVv)+ z#~Ug%1(q|4{%i4M;tgX8vTpogF7TT9Y29M!11v|T2FwngXxhv$p`PF4XkpRk45pU> zIeH9|3G7F*8@lQfgBe8Z|NVU}K7n=H4xR^0kIwV_VDy;BJe|?J;Rf4uzXXd8CQVa? zeSN1JBKI&gDHZa*NeNuahCjyCr4njQh6x*e}g+o5UF4 zY-IVfby?vjPNO~5HQ$v_vN`Z-HoAQ*YG7by_;hl{(JaZG%Q-e|yQz{EjrrIztFzR@^IEGZ*O3HaZ^8f?OQim9pBaxylNnpFKJ-S;!vKD zc4(oclmy%Ahy_gD3r*S-1I*0MYD+Fy*31~dkm6x8t9-`COgBS@ERGW^3p3gtTbP0l+XkKG;Nb2 literal 0 HcmV?d00001 diff --git a/doc/script-dir/jquery-3.7.1.min.js b/doc/script-dir/jquery-3.7.1.min.js new file mode 100644 index 0000000..7f37b5d --- /dev/null +++ b/doc/script-dir/jquery-3.7.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("