From 895194cdf23756c07f19bcbe65bea5430de7bebe Mon Sep 17 00:00:00 2001 From: martins Date: Thu, 20 Oct 2022 20:22:26 +0200 Subject: [PATCH] changement de couleur --- projetAgile/doc/allclasses-frame.html | 35 ++ projetAgile/doc/allclasses-noframe.html | 35 ++ projetAgile/doc/constant-values.html | 172 ++++++ projetAgile/doc/deprecated-list.html | 122 ++++ .../Controller/GrilleMouseListener.html | 348 +++++++++++ .../Controller/ModelEventListener.html | 307 ++++++++++ .../Controller/ObservateurMenuSouris.html | 350 +++++++++++ .../Controller/Puissance4Controller.html | 318 ++++++++++ .../projetAgile/Controller/ResetGame.html | 278 +++++++++ .../projetAgile/Controller/package-frame.html | 24 + .../Controller/package-summary.html | 158 +++++ .../projetAgile/Controller/package-tree.html | 147 +++++ .../Event/AbstractGridInitiater.html | 405 ++++++++++++ .../Event/GridChangedListener.html | 255 ++++++++ .../projetAgile/Event/GridEvent.html | 329 ++++++++++ .../projetAgile/Event/PlayerEvent.html | 306 ++++++++++ .../projetAgile/Event/package-frame.html | 26 + .../projetAgile/Event/package-summary.html | 163 +++++ .../projetAgile/Event/package-tree.html | 145 +++++ .../projetAgile/Model/GrilleModel.html | 453 ++++++++++++++ .../projetAgile/Model/package-frame.html | 20 + .../projetAgile/Model/package-summary.html | 140 +++++ .../projetAgile/Model/package-tree.html | 139 +++++ .../projetAgile/Utils/Constants.html | 417 +++++++++++++ .../projetAgile/Utils/GameStatus.html | 351 +++++++++++ .../projetAgile/Utils/package-frame.html | 24 + .../projetAgile/Utils/package-summary.html | 155 +++++ .../projetAgile/Utils/package-tree.html | 147 +++++ .../projetAgile/View/BoutonsMenu.html | 423 +++++++++++++ .../fr/iutfbleau/projetAgile/View/Grille.html | 433 +++++++++++++ .../fr/iutfbleau/projetAgile/View/Menu.html | 355 +++++++++++ .../fr/iutfbleau/projetAgile/View/Pion.html | 453 ++++++++++++++ .../projetAgile/View/Puissance4Panel.html | 446 ++++++++++++++ .../projetAgile/View/package-frame.html | 24 + .../projetAgile/View/package-summary.html | 158 +++++ .../projetAgile/View/package-tree.html | 155 +++++ projetAgile/doc/help-doc.html | 223 +++++++ projetAgile/doc/index-all.html | 496 +++++++++++++++ projetAgile/doc/index.html | 75 +++ projetAgile/doc/overview-frame.html | 25 + projetAgile/doc/overview-summary.html | 149 +++++ projetAgile/doc/overview-tree.html | 200 ++++++ projetAgile/doc/package-list | 5 + projetAgile/doc/script.js | 30 + projetAgile/doc/serialized-form.html | 226 +++++++ projetAgile/doc/stylesheet.css | 574 ++++++++++++++++++ .../Controller/Puissance4Controller.java | 6 +- .../projetAgile/Model/GrilleModel.java | 3 +- .../fr/iutfbleau/projetAgile/View/Grille.java | 5 +- .../fr/iutfbleau/projetAgile/View/Pion.java | 12 +- 50 files changed, 10238 insertions(+), 7 deletions(-) create mode 100644 projetAgile/doc/allclasses-frame.html create mode 100644 projetAgile/doc/allclasses-noframe.html create mode 100644 projetAgile/doc/constant-values.html create mode 100644 projetAgile/doc/deprecated-list.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/GrilleMouseListener.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ModelEventListener.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ObservateurMenuSouris.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ResetGame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-frame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-summary.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-tree.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/AbstractGridInitiater.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridChangedListener.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridEvent.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/PlayerEvent.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-frame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-summary.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-tree.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Model/GrilleModel.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-frame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-summary.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-tree.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Utils/Constants.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Utils/GameStatus.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-frame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-summary.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-tree.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/BoutonsMenu.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/Grille.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/Menu.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/Pion.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/Puissance4Panel.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/package-frame.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/package-summary.html create mode 100644 projetAgile/doc/fr/iutfbleau/projetAgile/View/package-tree.html create mode 100644 projetAgile/doc/help-doc.html create mode 100644 projetAgile/doc/index-all.html create mode 100644 projetAgile/doc/index.html create mode 100644 projetAgile/doc/overview-frame.html create mode 100644 projetAgile/doc/overview-summary.html create mode 100644 projetAgile/doc/overview-tree.html create mode 100644 projetAgile/doc/package-list create mode 100644 projetAgile/doc/script.js create mode 100644 projetAgile/doc/serialized-form.html create mode 100644 projetAgile/doc/stylesheet.css diff --git a/projetAgile/doc/allclasses-frame.html b/projetAgile/doc/allclasses-frame.html new file mode 100644 index 0000000..9f12501 --- /dev/null +++ b/projetAgile/doc/allclasses-frame.html @@ -0,0 +1,35 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/projetAgile/doc/allclasses-noframe.html b/projetAgile/doc/allclasses-noframe.html new file mode 100644 index 0000000..c467325 --- /dev/null +++ b/projetAgile/doc/allclasses-noframe.html @@ -0,0 +1,35 @@ + + + + + +All Classes + + + + + +

All Classes

+
+ +
+ + diff --git a/projetAgile/doc/constant-values.html b/projetAgile/doc/constant-values.html new file mode 100644 index 0000000..1f7c2a6 --- /dev/null +++ b/projetAgile/doc/constant-values.html @@ -0,0 +1,172 @@ + + + + + +Constant Field Values + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

fr.iutfbleau.*

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/deprecated-list.html b/projetAgile/doc/deprecated-list.html new file mode 100644 index 0000000..199de68 --- /dev/null +++ b/projetAgile/doc/deprecated-list.html @@ -0,0 +1,122 @@ + + + + + +Deprecated List + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/GrilleMouseListener.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/GrilleMouseListener.html new file mode 100644 index 0000000..4c696ca --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/GrilleMouseListener.html @@ -0,0 +1,348 @@ + + + + + +GrilleMouseListener + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Controller
+

Class GrilleMouseListener

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.MouseInputListener
    +
    +
    +
    +
    public class GrilleMouseListener
    +extends javax.swing.event.MouseInputAdapter
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidmouseExited(java.awt.event.MouseEvent e) 
      voidmouseMoved(java.awt.event.MouseEvent e) 
      voidmousePressed(java.awt.event.MouseEvent e) 
      +
        +
      • + + +

        Methods inherited from class java.awt.event.MouseAdapter

        +mouseClicked, mouseDragged, mouseEntered, mouseReleased, mouseWheelMoved
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

        Methods inherited from interface java.awt.event.MouseListener

        +mouseClicked, mouseEntered, mouseReleased
      • +
      +
        +
      • + + +

        Methods inherited from interface java.awt.event.MouseMotionListener

        +mouseDragged
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mouseMoved

        +
        public void mouseMoved(java.awt.event.MouseEvent e)
        +
        +
        Specified by:
        +
        mouseMoved in interface java.awt.event.MouseMotionListener
        +
        Overrides:
        +
        mouseMoved in class java.awt.event.MouseAdapter
        +
        +
      • +
      + + + +
        +
      • +

        mousePressed

        +
        public void mousePressed(java.awt.event.MouseEvent e)
        +
        +
        Specified by:
        +
        mousePressed in interface java.awt.event.MouseListener
        +
        Overrides:
        +
        mousePressed in class java.awt.event.MouseAdapter
        +
        +
      • +
      + + + +
        +
      • +

        mouseExited

        +
        public void mouseExited(java.awt.event.MouseEvent e)
        +
        +
        Specified by:
        +
        mouseExited in interface java.awt.event.MouseListener
        +
        Overrides:
        +
        mouseExited in class java.awt.event.MouseAdapter
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ModelEventListener.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ModelEventListener.html new file mode 100644 index 0000000..712e028 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ModelEventListener.html @@ -0,0 +1,307 @@ + + + + + +ModelEventListener + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Controller
+

Class ModelEventListener

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

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidgridChanged(GridEvent e) +
      Méthode invoqué lorsque la grille est modifié
      +
      voidplayerChanged(PlayerEvent e) +
      Méthode invoqué lorsque le tour du joueur est modifié
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Method Detail

      + + + +
        +
      • +

        gridChanged

        +
        public void gridChanged(GridEvent e)
        +
        Description copied from interface: GridChangedListener
        +
        Méthode invoqué lorsque la grille est modifié
        +
        +
        Specified by:
        +
        gridChanged in interface GridChangedListener
        +
        Parameters:
        +
        e - Evenement contenant la colonne, ligne et joueur du pion placé dans la grille
        +
        +
      • +
      + + + +
        +
      • +

        playerChanged

        +
        public void playerChanged(PlayerEvent e)
        +
        Description copied from interface: GridChangedListener
        +
        Méthode invoqué lorsque le tour du joueur est modifié
        +
        +
        Specified by:
        +
        playerChanged in interface GridChangedListener
        +
        Parameters:
        +
        e - Evenement contenant l'ancien joueur et le nouveau
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ObservateurMenuSouris.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ObservateurMenuSouris.html new file mode 100644 index 0000000..e9efe30 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ObservateurMenuSouris.html @@ -0,0 +1,350 @@ + + + + + +ObservateurMenuSouris + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Controller
+

Class ObservateurMenuSouris

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.event.MouseListener, java.util.EventListener
    +
    +
    +
    +
    public class ObservateurMenuSouris
    +extends java.lang.Object
    +implements java.awt.event.MouseListener
    +
    Observateur des Boutons du Menu
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ObservateurMenuSouris() +
      Constructeur
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidmouseClicked(java.awt.event.MouseEvent evenement) 
      voidmouseEntered(java.awt.event.MouseEvent evenement) 
      voidmouseExited(java.awt.event.MouseEvent evenement) 
      voidmousePressed(java.awt.event.MouseEvent evenement) 
      voidmouseReleased(java.awt.event.MouseEvent evenement) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        ObservateurMenuSouris

        +
        public ObservateurMenuSouris()
        +
        Constructeur
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        mouseClicked

        +
        public void mouseClicked(java.awt.event.MouseEvent evenement)
        +
        +
        Specified by:
        +
        mouseClicked in interface java.awt.event.MouseListener
        +
        +
      • +
      + + + +
        +
      • +

        mouseEntered

        +
        public void mouseEntered(java.awt.event.MouseEvent evenement)
        +
        +
        Specified by:
        +
        mouseEntered in interface java.awt.event.MouseListener
        +
        +
      • +
      + + + +
        +
      • +

        mouseExited

        +
        public void mouseExited(java.awt.event.MouseEvent evenement)
        +
        +
        Specified by:
        +
        mouseExited in interface java.awt.event.MouseListener
        +
        +
      • +
      + + + +
        +
      • +

        mousePressed

        +
        public void mousePressed(java.awt.event.MouseEvent evenement)
        +
        +
        Specified by:
        +
        mousePressed in interface java.awt.event.MouseListener
        +
        +
      • +
      + + + +
        +
      • +

        mouseReleased

        +
        public void mouseReleased(java.awt.event.MouseEvent evenement)
        +
        +
        Specified by:
        +
        mouseReleased in interface java.awt.event.MouseListener
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.html new file mode 100644 index 0000000..f6843e1 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.html @@ -0,0 +1,318 @@ + + + + + +Puissance4Controller + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Controller
+

Class Puissance4Controller

+
+
+ +
+
    +
  • +
    +
    +
    public class Puissance4Controller
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Puissance4Controller(Grille grille, + GrilleModel modele) +
      Controleur du jeu, il initialise la vue, les listeners, etc..
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      javax.swing.JPanelgetPanel() 
      voidhoverGrille(int x) 
      voidreset() 
      voidverifyColumn(int x) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        Puissance4Controller

        +
        public Puissance4Controller(Grille grille,
        +                            GrilleModel modele)
        +
        Controleur du jeu, il initialise la vue, les listeners, etc..
        +
        +
        Parameters:
        +
        grille - La grille
        +
        modele - Le modèle
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        reset

        +
        public void reset()
        +
      • +
      + + + +
        +
      • +

        verifyColumn

        +
        public void verifyColumn(int x)
        +
      • +
      + + + +
        +
      • +

        hoverGrille

        +
        public void hoverGrille(int x)
        +
      • +
      + + + +
        +
      • +

        getPanel

        +
        public javax.swing.JPanel getPanel()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ResetGame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ResetGame.html new file mode 100644 index 0000000..fa7a716 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/ResetGame.html @@ -0,0 +1,278 @@ + + + + + +ResetGame + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Controller
+

Class ResetGame

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.event.ActionListener, java.util.EventListener
    +
    +
    +
    +
    public class ResetGame
    +extends java.lang.Object
    +implements java.awt.event.ActionListener
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidactionPerformed(java.awt.event.ActionEvent e) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Method Detail

      + + + +
        +
      • +

        actionPerformed

        +
        public void actionPerformed(java.awt.event.ActionEvent e)
        +
        +
        Specified by:
        +
        actionPerformed in interface java.awt.event.ActionListener
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-frame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-frame.html new file mode 100644 index 0000000..30680ec --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-frame.html @@ -0,0 +1,24 @@ + + + + + +fr.iutfbleau.projetAgile.Controller + + + + + +

fr.iutfbleau.projetAgile.Controller

+
+

Classes

+ +
+ + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-summary.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-summary.html new file mode 100644 index 0000000..507e1a5 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-summary.html @@ -0,0 +1,158 @@ + + + + + +fr.iutfbleau.projetAgile.Controller + + + + + + + + +
+ + + + + + + +
+ + +
+

Package fr.iutfbleau.projetAgile.Controller

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-tree.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-tree.html new file mode 100644 index 0000000..878b49f --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Controller/package-tree.html @@ -0,0 +1,147 @@ + + + + + +fr.iutfbleau.projetAgile.Controller Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package fr.iutfbleau.projetAgile.Controller

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/AbstractGridInitiater.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/AbstractGridInitiater.html new file mode 100644 index 0000000..59a39c4 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/AbstractGridInitiater.html @@ -0,0 +1,405 @@ + + + + + +AbstractGridInitiater + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Event
+

Class AbstractGridInitiater

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    GrilleModel
    +
    +
    +
    +
    public abstract class AbstractGridInitiater
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      protected javax.swing.event.EventListenerListlisteners 
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddGridListener(GridChangedListener listener) +
      Ajoute le listener donné en argument à la liste des listes
      +
      protected voidfireGridChanged(int column, + int row, + int player) +
      Notifie tous les listeners lorsque la grille est modifié
      +
      protected voidfirePlayerChanged(int oldPlayer, + int newPlayer) +
      Notifie tous les listeners lorsque le tour du joueur change
      +
      GridChangedListener[]getGridListeners() +
      Retourne un tableau de tous les listeners
      +
      voidremoveGridListener(GridChangedListener listener) +
      Supprime le listener donné en argument de la liste des listeners
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Field Detail

      + + + +
        +
      • +

        listeners

        +
        protected javax.swing.event.EventListenerList listeners
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AbstractGridInitiater

        +
        public AbstractGridInitiater()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addGridListener

        +
        public void addGridListener(GridChangedListener listener)
        +
        Ajoute le listener donné en argument à la liste des listes
        +
        +
        Parameters:
        +
        listener - Le listener a ajouté
        +
        +
      • +
      + + + +
        +
      • +

        removeGridListener

        +
        public void removeGridListener(GridChangedListener listener)
        +
        Supprime le listener donné en argument de la liste des listeners
        +
        +
        Parameters:
        +
        listener - Le listener a supprimer
        +
        +
      • +
      + + + +
        +
      • +

        getGridListeners

        +
        public GridChangedListener[] getGridListeners()
        +
        Retourne un tableau de tous les listeners
        +
        +
        Returns:
        +
        Le tableau de listeners
        +
        +
      • +
      + + + +
        +
      • +

        fireGridChanged

        +
        protected void fireGridChanged(int column,
        +                               int row,
        +                               int player)
        +
        Notifie tous les listeners lorsque la grille est modifié
        +
        +
        Parameters:
        +
        column - la colonne modifié
        +
        row - la ligne modifié
        +
        player - le joueur qui a joué
        +
        +
      • +
      + + + +
        +
      • +

        firePlayerChanged

        +
        protected void firePlayerChanged(int oldPlayer,
        +                                 int newPlayer)
        +
        Notifie tous les listeners lorsque le tour du joueur change
        +
        +
        Parameters:
        +
        oldPlayer - L'ancien joueur qui jouait
        +
        newPlayer - Le nouveau joueur qui joue
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridChangedListener.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridChangedListener.html new file mode 100644 index 0000000..1f90df0 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridChangedListener.html @@ -0,0 +1,255 @@ + + + + + +GridChangedListener + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Event
+

Interface GridChangedListener

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    java.util.EventListener
    +
    +
    +
    All Known Implementing Classes:
    +
    ModelEventListener
    +
    +
    +
    +
    public interface GridChangedListener
    +extends java.util.EventListener
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        gridChanged

        +
        void gridChanged(GridEvent e)
        +
        Méthode invoqué lorsque la grille est modifié
        +
        +
        Parameters:
        +
        e - Evenement contenant la colonne, ligne et joueur du pion placé dans la grille
        +
        +
      • +
      + + + +
        +
      • +

        playerChanged

        +
        void playerChanged(PlayerEvent e)
        +
        Méthode invoqué lorsque le tour du joueur est modifié
        +
        +
        Parameters:
        +
        e - Evenement contenant l'ancien joueur et le nouveau
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridEvent.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridEvent.html new file mode 100644 index 0000000..db8a5fe --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/GridEvent.html @@ -0,0 +1,329 @@ + + + + + +GridEvent + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Event
+

Class GridEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class GridEvent
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      GridEvent(int column, + int row, + int player) +
      Evenement représentant le changement dans la grille
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetColumn() +
      Retourne la colonne modifié
      +
      intgetPlayer() +
      Retourne le joueur qui a joué
      +
      intgetRow() +
      Retourne la ligne modifié
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        GridEvent

        +
        public GridEvent(int column,
        +                 int row,
        +                 int player)
        +
        Evenement représentant le changement dans la grille
        +
        +
        Parameters:
        +
        column - la colonne modifié
        +
        row - la ligne modifié
        +
        player - le joueur qui a joué
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getColumn

        +
        public int getColumn()
        +
        Retourne la colonne modifié
        +
        +
        Returns:
        +
        La colonne modifié
        +
        +
      • +
      + + + +
        +
      • +

        getRow

        +
        public int getRow()
        +
        Retourne la ligne modifié
        +
        +
        Returns:
        +
        la ligne modifié
        +
        +
      • +
      + + + +
        +
      • +

        getPlayer

        +
        public int getPlayer()
        +
        Retourne le joueur qui a joué
        +
        +
        Returns:
        +
        Le joueur qui a joué
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/PlayerEvent.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/PlayerEvent.html new file mode 100644 index 0000000..2cd5499 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/PlayerEvent.html @@ -0,0 +1,306 @@ + + + + + +PlayerEvent + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Event
+

Class PlayerEvent

+
+
+ +
+
    +
  • +
    +
    +
    public class PlayerEvent
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      PlayerEvent(int oldPlayer, + int newPlayer) +
      Evenement représentant le changement de tour des joueurs
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intgetNewPlayer() +
      Retourne le nouveau joueur
      +
      intgetOldPlayer() +
      Retourne l'ancien joueur
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        PlayerEvent

        +
        public PlayerEvent(int oldPlayer,
        +                   int newPlayer)
        +
        Evenement représentant le changement de tour des joueurs
        +
        +
        Parameters:
        +
        oldPlayer - l'ancien joueur
        +
        newPlayer - le nouveau joueur
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getNewPlayer

        +
        public int getNewPlayer()
        +
        Retourne le nouveau joueur
        +
        +
        Returns:
        +
        Le nouveau joueur
        +
        +
      • +
      + + + +
        +
      • +

        getOldPlayer

        +
        public int getOldPlayer()
        +
        Retourne l'ancien joueur
        +
        +
        Returns:
        +
        L'ancien joueur
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-frame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-frame.html new file mode 100644 index 0000000..49270b2 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-frame.html @@ -0,0 +1,26 @@ + + + + + +fr.iutfbleau.projetAgile.Event + + + + + +

fr.iutfbleau.projetAgile.Event

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-summary.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-summary.html new file mode 100644 index 0000000..988b8cf --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-summary.html @@ -0,0 +1,163 @@ + + + + + +fr.iutfbleau.projetAgile.Event + + + + + + + + +
+ + + + + + + +
+ + +
+

Package fr.iutfbleau.projetAgile.Event

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-tree.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-tree.html new file mode 100644 index 0000000..61159c4 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Event/package-tree.html @@ -0,0 +1,145 @@ + + + + + +fr.iutfbleau.projetAgile.Event Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package fr.iutfbleau.projetAgile.Event

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Model/GrilleModel.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/GrilleModel.html new file mode 100644 index 0000000..1c18c78 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/GrilleModel.html @@ -0,0 +1,453 @@ + + + + + +GrilleModel + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Model
+

Class GrilleModel

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

      Constructor Detail

      + + + +
        +
      • +

        GrilleModel

        +
        public GrilleModel()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init()
        +
      • +
      + + + +
        +
      • +

        reset

        +
        public void reset()
        +
      • +
      + + + +
        +
      • +

        addPiece

        +
        protected void addPiece(int column,
        +                        int row)
        +
      • +
      + + + +
        +
      • +

        verifyColumn

        +
        public void verifyColumn(int column)
        +
      • +
      + + + +
        +
      • +

        verifyWin

        +
        protected boolean verifyWin(int column,
        +                            int row)
        +
        Vérifie si le jeton qui vient d'être joué termine la partie
        +
        +
        Parameters:
        +
        column - La colonne du pion qui vient d'être joué
        +
        row - La ligne du pion qui vient d'être joué
        +
        Returns:
        +
        Retourne true si le jeu est fini
        +
        +
      • +
      + + + +
        +
      • +

        switchPlayer

        +
        public void switchPlayer()
        +
      • +
      + + + +
        +
      • +

        getPlayerTurn

        +
        public int getPlayerTurn()
        +
      • +
      + + + +
        +
      • +

        getTab

        +
        public int[][] getTab()
        +
      • +
      + + + +
        +
      • +

        getColumn

        +
        public int getColumn()
        +
      • +
      + + + +
        +
      • +

        getRow

        +
        public int getRow()
        +
      • +
      + + + +
        +
      • +

        setPartyStatus

        +
        public void setPartyStatus(GameStatus gameStatus)
        +
      • +
      + + + +
        +
      • +

        getGameStatus

        +
        public GameStatus getGameStatus()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-frame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-frame.html new file mode 100644 index 0000000..3cabebb --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-frame.html @@ -0,0 +1,20 @@ + + + + + +fr.iutfbleau.projetAgile.Model + + + + + +

fr.iutfbleau.projetAgile.Model

+
+

Classes

+ +
+ + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-summary.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-summary.html new file mode 100644 index 0000000..c187f97 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-summary.html @@ -0,0 +1,140 @@ + + + + + +fr.iutfbleau.projetAgile.Model + + + + + + + + +
+ + + + + + + +
+ + +
+

Package fr.iutfbleau.projetAgile.Model

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-tree.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-tree.html new file mode 100644 index 0000000..150e3ba --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Model/package-tree.html @@ -0,0 +1,139 @@ + + + + + +fr.iutfbleau.projetAgile.Model Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package fr.iutfbleau.projetAgile.Model

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/Constants.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/Constants.html new file mode 100644 index 0000000..ce85d92 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/Constants.html @@ -0,0 +1,417 @@ + + + + + +Constants + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Utils
+

Class Constants

+
+
+ +
+
    +
  • +
    +
    +
    public class Constants
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        PLAYER_ONE_COLOR

        +
        public static final java.awt.Color PLAYER_ONE_COLOR
        +
      • +
      + + + +
        +
      • +

        PLAYER_TWO_COLOR

        +
        public static final java.awt.Color PLAYER_TWO_COLOR
        +
      • +
      + + + +
        +
      • +

        BACKGROUND_COLOR

        +
        public static final java.awt.Color BACKGROUND_COLOR
        +
      • +
      + + + +
        +
      • +

        EMPTY_COLOR

        +
        public static final java.awt.Color EMPTY_COLOR
        +
      • +
      + + + + + + + + + + + + + + + + + + + +
        +
      • +

        PIECE_MARGIN

        +
        public static int PIECE_MARGIN
        +
      • +
      + + + +
        +
      • +

        COLUMN_COUNT

        +
        public static int COLUMN_COUNT
        +
      • +
      + + + +
        +
      • +

        ROW_COUNT

        +
        public static int ROW_COUNT
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Constants

        +
        public Constants()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/GameStatus.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/GameStatus.html new file mode 100644 index 0000000..2c802de --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/GameStatus.html @@ -0,0 +1,351 @@ + + + + + +GameStatus + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.Utils
+

Enum GameStatus

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable, java.lang.Comparable<GameStatus>
    +
    +
    +
    +
    public enum GameStatus
    +extends java.lang.Enum<GameStatus>
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Enum Constant Summary

      + + + + + + + + + + + + + + +
      Enum Constants 
      Enum Constant and Description
      DRAW 
      PLAYING 
      STOP 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static GameStatusvalueOf(java.lang.String name) +
      Returns the enum constant of this type with the specified name.
      +
      static GameStatus[]values() +
      Returns an array containing the constants of this enum type, in +the order they are declared.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Enum

        +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        values

        +
        public static GameStatus[] values()
        +
        Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
        +for (GameStatus c : GameStatus.values())
        +    System.out.println(c);
        +
        +
        +
        Returns:
        +
        an array containing the constants of this enum type, in the order they are declared
        +
        +
      • +
      + + + +
        +
      • +

        valueOf

        +
        public static GameStatus valueOf(java.lang.String name)
        +
        Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)
        +
        +
        Parameters:
        +
        name - the name of the enum constant to be returned.
        +
        Returns:
        +
        the enum constant with the specified name
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        +
        java.lang.NullPointerException - if the argument is null
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-frame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-frame.html new file mode 100644 index 0000000..3f20fd7 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-frame.html @@ -0,0 +1,24 @@ + + + + + +fr.iutfbleau.projetAgile.Utils + + + + + +

fr.iutfbleau.projetAgile.Utils

+
+

Classes

+ +

Enums

+ +
+ + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-summary.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-summary.html new file mode 100644 index 0000000..b2d6e25 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-summary.html @@ -0,0 +1,155 @@ + + + + + +fr.iutfbleau.projetAgile.Utils + + + + + + + + +
+ + + + + + + +
+ + +
+

Package fr.iutfbleau.projetAgile.Utils

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-tree.html b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-tree.html new file mode 100644 index 0000000..c4c1a89 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/Utils/package-tree.html @@ -0,0 +1,147 @@ + + + + + +fr.iutfbleau.projetAgile.Utils Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package fr.iutfbleau.projetAgile.Utils

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/BoutonsMenu.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/BoutonsMenu.html new file mode 100644 index 0000000..3ae9ae2 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/BoutonsMenu.html @@ -0,0 +1,423 @@ + + + + + +BoutonsMenu + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.View
+

Class BoutonsMenu

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
    +
    +
    +
    +
    public class BoutonsMenu
    +extends javax.swing.JComponent
    +
    Class Dessinant les boutons du menu
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JComponent

        +javax.swing.JComponent.AccessibleJComponent
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Container

        +java.awt.Container.AccessibleAWTContainer
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Component

        +java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.swing.JComponent

        +listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Component

        +accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • +
      +
        +
      • + + +

        Fields inherited from interface java.awt.image.ImageObserver

        +ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      BoutonsMenu(java.lang.String path0) +
      Constructeur
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetPath() +
      Connaitre le chemin de l'image et donc le type du jeu
      +
      protected voidpaintComponent(java.awt.Graphics pinceau) 
      voidsetSurvol(boolean bol) +
      savoir si le bouton est survoler
      +
      +
        +
      • + + +

        Methods inherited from class javax.swing.JComponent

        +addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Container

        +add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Component

        +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        BoutonsMenu

        +
        public BoutonsMenu(java.lang.String path0)
        +
        Constructeur
        +
        +
        Parameters:
        +
        path0 - il correspond au path de l'image qui devra être afficher
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setSurvol

        +
        public void setSurvol(boolean bol)
        +
        savoir si le bouton est survoler
        +
        +
        Parameters:
        +
        bol -
        +
        +
      • +
      + + + +
        +
      • +

        getPath

        +
        public java.lang.String getPath()
        +
        Connaitre le chemin de l'image et donc le type du jeu
        +
        +
        Returns:
        +
        le String du jeu du boutons
        +
        +
      • +
      + + + +
        +
      • +

        paintComponent

        +
        protected void paintComponent(java.awt.Graphics pinceau)
        +
        +
        Overrides:
        +
        paintComponent in class javax.swing.JComponent
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/Grille.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Grille.html new file mode 100644 index 0000000..e776270 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Grille.html @@ -0,0 +1,433 @@ + + + + + +Grille + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.View
+

Class Grille

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
    +
    +
    +
    +
    public class Grille
    +extends javax.swing.JPanel
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JPanel

        +javax.swing.JPanel.AccessibleJPanel
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JComponent

        +javax.swing.JComponent.AccessibleJComponent
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Container

        +java.awt.Container.AccessibleAWTContainer
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Component

        +java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.swing.JComponent

        +listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Component

        +accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • +
      +
        +
      • + + +

        Fields inherited from interface java.awt.image.ImageObserver

        +ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Grille() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddPlayerPiece(int column, + int row, + int player) 
      voidhover(int column) 
      voidinit(int[][] tab) 
      voidreset() 
      +
        +
      • + + +

        Methods inherited from class javax.swing.JPanel

        +getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • +
      +
        +
      • + + +

        Methods inherited from class javax.swing.JComponent

        +addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Container

        +add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Component

        +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        Grille

        +
        public Grille()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init(int[][] tab)
        +
      • +
      + + + +
        +
      • +

        addPlayerPiece

        +
        public void addPlayerPiece(int column,
        +                           int row,
        +                           int player)
        +
      • +
      + + + +
        +
      • +

        reset

        +
        public void reset()
        +
      • +
      + + + +
        +
      • +

        hover

        +
        public void hover(int column)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/Menu.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Menu.html new file mode 100644 index 0000000..f24b7d7 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Menu.html @@ -0,0 +1,355 @@ + + + + + +Menu + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.View
+

Class Menu

+
+
+ +
+
    +
  • +
    +
    +
    public abstract class Menu
    +extends java.lang.Object
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringPUISSANCE_4 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Menu() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static javax.swing.JFramegetFrame() +
      getter pouvant initialiser la JFrame
      +
      static javax.swing.JPanelInitMenu() +
      methode static pour avoir le JPanel Affichant le Menu
      +
      static voidshow(java.lang.String g) +
      Methode pour changer le cardLayout
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Field Detail

      + + + +
        +
      • +

        PUISSANCE_4

        +
        public static java.lang.String PUISSANCE_4
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Menu

        +
        public Menu()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        InitMenu

        +
        public static javax.swing.JPanel InitMenu()
        +
        methode static pour avoir le JPanel Affichant le Menu
        +
        +
        Returns:
        +
        un JPanel instancier avec les composant du menu
        +
        +
      • +
      + + + +
        +
      • +

        show

        +
        public static void show(java.lang.String g)
        +                 throws java.lang.IllegalArgumentException
        +
        Methode pour changer le cardLayout
        +
        +
        Parameters:
        +
        g - le string de la carte correspondant
        +
        Throws:
        +
        java.lang.IllegalArgumentException - si l'argument ne correspond pas a une Carte
        +
        +
      • +
      + + + +
        +
      • +

        getFrame

        +
        public static javax.swing.JFrame getFrame()
        +
        getter pouvant initialiser la JFrame
        +
        +
        Returns:
        +
        la fenetre
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/Pion.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Pion.html new file mode 100644 index 0000000..8798575 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Pion.html @@ -0,0 +1,453 @@ + + + + + +Pion + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.View
+

Class Pion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
    +
    +
    +
    +
    public class Pion
    +extends javax.swing.JComponent
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JComponent

        +javax.swing.JComponent.AccessibleJComponent
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Container

        +java.awt.Container.AccessibleAWTContainer
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Component

        +java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.swing.JComponent

        +listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Component

        +accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • +
      +
        +
      • + + +

        Fields inherited from interface java.awt.image.ImageObserver

        +ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Pion(int player) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static java.awt.DimensiongetPionMaximumSize() 
      static java.awt.DimensiongetPionMinimumSize() 
      static java.awt.DimensiongetPionPreferredSize() 
      intgetPlayer() 
      protected voidpaintComponent(java.awt.Graphics g) 
      voidsetHover(boolean b) 
      voidsetPlayer(int player) 
      +
        +
      • + + +

        Methods inherited from class javax.swing.JComponent

        +addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Container

        +add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Component

        +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        Pion

        +
        public Pion(int player)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getPionMinimumSize

        +
        public static java.awt.Dimension getPionMinimumSize()
        +
      • +
      + + + +
        +
      • +

        getPionMaximumSize

        +
        public static java.awt.Dimension getPionMaximumSize()
        +
      • +
      + + + +
        +
      • +

        getPionPreferredSize

        +
        public static java.awt.Dimension getPionPreferredSize()
        +
      • +
      + + + +
        +
      • +

        setPlayer

        +
        public void setPlayer(int player)
        +
      • +
      + + + +
        +
      • +

        setHover

        +
        public void setHover(boolean b)
        +
      • +
      + + + +
        +
      • +

        getPlayer

        +
        public int getPlayer()
        +
      • +
      + + + +
        +
      • +

        paintComponent

        +
        protected void paintComponent(java.awt.Graphics g)
        +
        +
        Overrides:
        +
        paintComponent in class javax.swing.JComponent
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/Puissance4Panel.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Puissance4Panel.html new file mode 100644 index 0000000..44cf317 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/Puissance4Panel.html @@ -0,0 +1,446 @@ + + + + + +Puissance4Panel + + + + + + + + +
+ + + + + + + +
+ + + +
+
fr.iutfbleau.projetAgile.View
+

Class Puissance4Panel

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible
    +
    +
    +
    +
    public class Puissance4Panel
    +extends javax.swing.JPanel
    +
    +
    See Also:
    +
    Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JPanel

        +javax.swing.JPanel.AccessibleJPanel
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class javax.swing.JComponent

        +javax.swing.JComponent.AccessibleJComponent
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Container

        +java.awt.Container.AccessibleAWTContainer
      • +
      +
        +
      • + + +

        Nested classes/interfaces inherited from class java.awt.Component

        +java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
      • +
      +
    • +
    + +
      +
    • + + +

      Field Summary

      +
        +
      • + + +

        Fields inherited from class javax.swing.JComponent

        +listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • +
      +
        +
      • + + +

        Fields inherited from class java.awt.Component

        +accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • +
      +
        +
      • + + +

        Fields inherited from interface java.awt.image.ImageObserver

        +ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • +
      +
    • +
    + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddPlayerPiece(int column, + int row, + int player) 
      voidaddResetListener(ResetGame l) 
      voidchangeLabel(int joueur) 
      GrillegetGrille() 
      voidinit() 
      +
        +
      • + + +

        Methods inherited from class javax.swing.JPanel

        +getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • +
      +
        +
      • + + +

        Methods inherited from class javax.swing.JComponent

        +addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Container

        +add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • +
      +
        +
      • + + +

        Methods inherited from class java.awt.Component

        +action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        Puissance4Panel

        +
        public Puissance4Panel(Grille grille)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        init

        +
        public void init()
        +
      • +
      + + + +
        +
      • +

        getGrille

        +
        public Grille getGrille()
        +
      • +
      + + + +
        +
      • +

        addResetListener

        +
        public void addResetListener(ResetGame l)
        +
      • +
      + + + +
        +
      • +

        changeLabel

        +
        public void changeLabel(int joueur)
        +
      • +
      + + + +
        +
      • +

        addPlayerPiece

        +
        public void addPlayerPiece(int column,
        +                           int row,
        +                           int player)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-frame.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-frame.html new file mode 100644 index 0000000..53d46ba --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-frame.html @@ -0,0 +1,24 @@ + + + + + +fr.iutfbleau.projetAgile.View + + + + + +

fr.iutfbleau.projetAgile.View

+
+

Classes

+ +
+ + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-summary.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-summary.html new file mode 100644 index 0000000..fc42b19 --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-summary.html @@ -0,0 +1,158 @@ + + + + + +fr.iutfbleau.projetAgile.View + + + + + + + + +
+ + + + + + + +
+ + +
+

Package fr.iutfbleau.projetAgile.View

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-tree.html b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-tree.html new file mode 100644 index 0000000..52380cf --- /dev/null +++ b/projetAgile/doc/fr/iutfbleau/projetAgile/View/package-tree.html @@ -0,0 +1,155 @@ + + + + + +fr.iutfbleau.projetAgile.View Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package fr.iutfbleau.projetAgile.View

+Package Hierarchies: + +
+
+

Class Hierarchy

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

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/index-all.html b/projetAgile/doc/index-all.html new file mode 100644 index 0000000..56b3f3d --- /dev/null +++ b/projetAgile/doc/index-all.html @@ -0,0 +1,496 @@ + + + + + +Index + + + + + + + + +
+ + + + + + + +
+ + +
A B C D E F G H I L M O P R S V  + + +

A

+
+
AbstractGridInitiater - Class in fr.iutfbleau.projetAgile.Event
+
 
+
AbstractGridInitiater() - Constructor for class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
 
+
actionPerformed(ActionEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ResetGame
+
 
+
addGridListener(GridChangedListener) - Method in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
+
Ajoute le listener donné en argument à la liste des listes
+
+
addPiece(int, int) - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
addPlayerPiece(int, int, int) - Method in class fr.iutfbleau.projetAgile.View.Grille
+
 
+
addPlayerPiece(int, int, int) - Method in class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
addResetListener(ResetGame) - Method in class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
+ + + +

B

+
+
BACKGROUND_COLOR - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
BoutonsMenu - Class in fr.iutfbleau.projetAgile.View
+
+
Class Dessinant les boutons du menu
+
+
BoutonsMenu(String) - Constructor for class fr.iutfbleau.projetAgile.View.BoutonsMenu
+
+
Constructeur
+
+
+ + + +

C

+
+
changeLabel(int) - Method in class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
COLUMN_COUNT - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
Constants - Class in fr.iutfbleau.projetAgile.Utils
+
 
+
Constants() - Constructor for class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
+ + + +

D

+
+
DRAW_POSITION - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
+ + + +

E

+
+
EMPTY_COLOR - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
EMPTY_PLAYER - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
+ + + +

F

+
+
fireGridChanged(int, int, int) - Method in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
+
Notifie tous les listeners lorsque la grille est modifié
+
+
firePlayerChanged(int, int) - Method in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
+
Notifie tous les listeners lorsque le tour du joueur change
+
+
fr.iutfbleau.projetAgile.Controller - package fr.iutfbleau.projetAgile.Controller
+
 
+
fr.iutfbleau.projetAgile.Event - package fr.iutfbleau.projetAgile.Event
+
 
+
fr.iutfbleau.projetAgile.Model - package fr.iutfbleau.projetAgile.Model
+
 
+
fr.iutfbleau.projetAgile.Utils - package fr.iutfbleau.projetAgile.Utils
+
 
+
fr.iutfbleau.projetAgile.View - package fr.iutfbleau.projetAgile.View
+
 
+
+ + + +

G

+
+
GameStatus - Enum in fr.iutfbleau.projetAgile.Utils
+
 
+
getColumn() - Method in class fr.iutfbleau.projetAgile.Event.GridEvent
+
+
Retourne la colonne modifié
+
+
getColumn() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
getFrame() - Static method in class fr.iutfbleau.projetAgile.View.Menu
+
+
getter pouvant initialiser la JFrame
+
+
getGameStatus() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
getGridListeners() - Method in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
+
Retourne un tableau de tous les listeners
+
+
getGrille() - Method in class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
getNewPlayer() - Method in class fr.iutfbleau.projetAgile.Event.PlayerEvent
+
+
Retourne le nouveau joueur
+
+
getOldPlayer() - Method in class fr.iutfbleau.projetAgile.Event.PlayerEvent
+
+
Retourne l'ancien joueur
+
+
getPanel() - Method in class fr.iutfbleau.projetAgile.Controller.Puissance4Controller
+
 
+
getPath() - Method in class fr.iutfbleau.projetAgile.View.BoutonsMenu
+
+
Connaitre le chemin de l'image et donc le type du jeu
+
+
getPionMaximumSize() - Static method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
getPionMinimumSize() - Static method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
getPionPreferredSize() - Static method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
getPlayer() - Method in class fr.iutfbleau.projetAgile.Event.GridEvent
+
+
Retourne le joueur qui a joué
+
+
getPlayer() - Method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
getPlayerTurn() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
getRow() - Method in class fr.iutfbleau.projetAgile.Event.GridEvent
+
+
Retourne la ligne modifié
+
+
getRow() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
getTab() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
gridChanged(GridEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ModelEventListener
+
 
+
gridChanged(GridEvent) - Method in interface fr.iutfbleau.projetAgile.Event.GridChangedListener
+
+
Méthode invoqué lorsque la grille est modifié
+
+
GridChangedListener - Interface in fr.iutfbleau.projetAgile.Event
+
 
+
GridEvent - Class in fr.iutfbleau.projetAgile.Event
+
 
+
GridEvent(int, int, int) - Constructor for class fr.iutfbleau.projetAgile.Event.GridEvent
+
+
Evenement représentant le changement dans la grille
+
+
Grille - Class in fr.iutfbleau.projetAgile.View
+
 
+
Grille() - Constructor for class fr.iutfbleau.projetAgile.View.Grille
+
 
+
GrilleModel - Class in fr.iutfbleau.projetAgile.Model
+
 
+
GrilleModel() - Constructor for class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
GrilleMouseListener - Class in fr.iutfbleau.projetAgile.Controller
+
 
+
GrilleMouseListener(Puissance4Controller) - Constructor for class fr.iutfbleau.projetAgile.Controller.GrilleMouseListener
+
 
+
+ + + +

H

+
+
hover(int) - Method in class fr.iutfbleau.projetAgile.View.Grille
+
 
+
hoverGrille(int) - Method in class fr.iutfbleau.projetAgile.Controller.Puissance4Controller
+
 
+
+ + + +

I

+
+
init() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
init(int[][]) - Method in class fr.iutfbleau.projetAgile.View.Grille
+
 
+
init() - Method in class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
InitMenu() - Static method in class fr.iutfbleau.projetAgile.View.Menu
+
+
methode static pour avoir le JPanel Affichant le Menu
+
+
+ + + +

L

+
+
listeners - Variable in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
 
+
+ + + +

M

+
+
Menu - Class in fr.iutfbleau.projetAgile.View
+
 
+
Menu() - Constructor for class fr.iutfbleau.projetAgile.View.Menu
+
 
+
ModelEventListener - Class in fr.iutfbleau.projetAgile.Controller
+
 
+
ModelEventListener(Puissance4Panel) - Constructor for class fr.iutfbleau.projetAgile.Controller.ModelEventListener
+
 
+
mouseClicked(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
 
+
mouseEntered(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
 
+
mouseExited(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.GrilleMouseListener
+
 
+
mouseExited(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
 
+
mouseMoved(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.GrilleMouseListener
+
 
+
mousePressed(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.GrilleMouseListener
+
 
+
mousePressed(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
 
+
mouseReleased(MouseEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
 
+
+ + + +

O

+
+
ObservateurMenuSouris - Class in fr.iutfbleau.projetAgile.Controller
+
+
Observateur des Boutons du Menu
+
+
ObservateurMenuSouris() - Constructor for class fr.iutfbleau.projetAgile.Controller.ObservateurMenuSouris
+
+
Constructeur
+
+
+ + + +

P

+
+
paintComponent(Graphics) - Method in class fr.iutfbleau.projetAgile.View.BoutonsMenu
+
 
+
paintComponent(Graphics) - Method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
PIECE_MARGIN - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
Pion - Class in fr.iutfbleau.projetAgile.View
+
 
+
Pion(int) - Constructor for class fr.iutfbleau.projetAgile.View.Pion
+
 
+
PLAYER_ONE - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
PLAYER_ONE_COLOR - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
PLAYER_TWO - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
PLAYER_TWO_COLOR - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
playerChanged(PlayerEvent) - Method in class fr.iutfbleau.projetAgile.Controller.ModelEventListener
+
 
+
playerChanged(PlayerEvent) - Method in interface fr.iutfbleau.projetAgile.Event.GridChangedListener
+
+
Méthode invoqué lorsque le tour du joueur est modifié
+
+
PlayerEvent - Class in fr.iutfbleau.projetAgile.Event
+
 
+
PlayerEvent(int, int) - Constructor for class fr.iutfbleau.projetAgile.Event.PlayerEvent
+
+
Evenement représentant le changement de tour des joueurs
+
+
Puissance4Controller - Class in fr.iutfbleau.projetAgile.Controller
+
 
+
Puissance4Controller(Grille, GrilleModel) - Constructor for class fr.iutfbleau.projetAgile.Controller.Puissance4Controller
+
+
Controleur du jeu, il initialise la vue, les listeners, etc..
+
+
Puissance4Panel - Class in fr.iutfbleau.projetAgile.View
+
 
+
Puissance4Panel(Grille) - Constructor for class fr.iutfbleau.projetAgile.View.Puissance4Panel
+
 
+
PUISSANCE_4 - Static variable in class fr.iutfbleau.projetAgile.View.Menu
+
 
+
+ + + +

R

+
+
removeGridListener(GridChangedListener) - Method in class fr.iutfbleau.projetAgile.Event.AbstractGridInitiater
+
+
Supprime le listener donné en argument de la liste des listeners
+
+
reset() - Method in class fr.iutfbleau.projetAgile.Controller.Puissance4Controller
+
 
+
reset() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
reset() - Method in class fr.iutfbleau.projetAgile.View.Grille
+
 
+
ResetGame - Class in fr.iutfbleau.projetAgile.Controller
+
 
+
ResetGame(Puissance4Controller) - Constructor for class fr.iutfbleau.projetAgile.Controller.ResetGame
+
 
+
ROW_COUNT - Static variable in class fr.iutfbleau.projetAgile.Utils.Constants
+
 
+
+ + + +

S

+
+
setHover(boolean) - Method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
setPartyStatus(GameStatus) - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
setPlayer(int) - Method in class fr.iutfbleau.projetAgile.View.Pion
+
 
+
setSurvol(boolean) - Method in class fr.iutfbleau.projetAgile.View.BoutonsMenu
+
+
savoir si le bouton est survoler
+
+
show(String) - Static method in class fr.iutfbleau.projetAgile.View.Menu
+
+
Methode pour changer le cardLayout
+
+
switchPlayer() - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
+ + + +

V

+
+
valueOf(String) - Static method in enum fr.iutfbleau.projetAgile.Utils.GameStatus
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum fr.iutfbleau.projetAgile.Utils.GameStatus
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
verifyColumn(int) - Method in class fr.iutfbleau.projetAgile.Controller.Puissance4Controller
+
 
+
verifyColumn(int) - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
 
+
verifyWin(int, int) - Method in class fr.iutfbleau.projetAgile.Model.GrilleModel
+
+
Vérifie si le jeton qui vient d'être joué termine la partie
+
+
+A B C D E F G H I L M O P R S V 
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/index.html b/projetAgile/doc/index.html new file mode 100644 index 0000000..2dadcc5 --- /dev/null +++ b/projetAgile/doc/index.html @@ -0,0 +1,75 @@ + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/projetAgile/doc/overview-frame.html b/projetAgile/doc/overview-frame.html new file mode 100644 index 0000000..b4643ad --- /dev/null +++ b/projetAgile/doc/overview-frame.html @@ -0,0 +1,25 @@ + + + + + +Overview List + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/projetAgile/doc/overview-summary.html b/projetAgile/doc/overview-summary.html new file mode 100644 index 0000000..d7bf492 --- /dev/null +++ b/projetAgile/doc/overview-summary.html @@ -0,0 +1,149 @@ + + + + + +Overview + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
fr.iutfbleau.projetAgile.Controller 
fr.iutfbleau.projetAgile.Event 
fr.iutfbleau.projetAgile.Model 
fr.iutfbleau.projetAgile.Utils 
fr.iutfbleau.projetAgile.View 
+
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/overview-tree.html b/projetAgile/doc/overview-tree.html new file mode 100644 index 0000000..d10f2d8 --- /dev/null +++ b/projetAgile/doc/overview-tree.html @@ -0,0 +1,200 @@ + + + + + +Class Hierarchy + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/package-list b/projetAgile/doc/package-list new file mode 100644 index 0000000..db55d6e --- /dev/null +++ b/projetAgile/doc/package-list @@ -0,0 +1,5 @@ +fr.iutfbleau.projetAgile.Controller +fr.iutfbleau.projetAgile.Event +fr.iutfbleau.projetAgile.Model +fr.iutfbleau.projetAgile.Utils +fr.iutfbleau.projetAgile.View diff --git a/projetAgile/doc/script.js b/projetAgile/doc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/projetAgile/doc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/projetAgile/doc/serialized-form.html b/projetAgile/doc/serialized-form.html new file mode 100644 index 0000000..7760979 --- /dev/null +++ b/projetAgile/doc/serialized-form.html @@ -0,0 +1,226 @@ + + + + + +Serialized Form + + + + + + + + +
+ + + + + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + + + + + + +
+ + + + diff --git a/projetAgile/doc/stylesheet.css b/projetAgile/doc/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/projetAgile/doc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/projetAgile/src/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.java b/projetAgile/src/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.java index 90f0e19..9dcc747 100644 --- a/projetAgile/src/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.java +++ b/projetAgile/src/fr/iutfbleau/projetAgile/Controller/Puissance4Controller.java @@ -57,11 +57,11 @@ public class Puissance4Controller { public void hoverGrille(int x) { if(this.modele.getGameStatus() == GameStatus.PLAYING) { if(x == -1) { - this.grille.hover(-1); //Clean + this.grille.hover(-1, this.modele.getPlayerTurn()); //Clean return; - } + } int column = (x * this.modele.getColumn() / grille.getWidth()); - this.grille.hover(column); + this.grille.hover(column, this.modele.getPlayerTurn()); } } diff --git a/projetAgile/src/fr/iutfbleau/projetAgile/Model/GrilleModel.java b/projetAgile/src/fr/iutfbleau/projetAgile/Model/GrilleModel.java index be01ff9..feef6a1 100644 --- a/projetAgile/src/fr/iutfbleau/projetAgile/Model/GrilleModel.java +++ b/projetAgile/src/fr/iutfbleau/projetAgile/Model/GrilleModel.java @@ -44,8 +44,9 @@ public class GrilleModel extends AbstractGridInitiater{ for (int row = this.row - 1; row >= 0; row--) { if (grille[column][row] == Constants.EMPTY_PLAYER) { this.addPiece(column, row); - if(!this.verifyWin(column, row)) + if(!this.verifyWin(column, row)){ this.switchPlayer(); + } this.verifyDraw(); return; } diff --git a/projetAgile/src/fr/iutfbleau/projetAgile/View/Grille.java b/projetAgile/src/fr/iutfbleau/projetAgile/View/Grille.java index 6f8cffd..17cf0e1 100644 --- a/projetAgile/src/fr/iutfbleau/projetAgile/View/Grille.java +++ b/projetAgile/src/fr/iutfbleau/projetAgile/View/Grille.java @@ -62,21 +62,22 @@ public class Grille extends JPanel{ this.repaint(); } - public void hover(int column) { + public void hover(int column, int player) { for(int x = 0; x < this.column; x++) { for(int y = 0; y < this.row; y++) { this.grille[x][y].setHover(false); + this.grille[x][y].setPturn(player); } } if(column != -1) { for (int row = this.row - 1; row >= 0; row--) { if (this.grille[column][row].getPlayer() == Constants.EMPTY_PLAYER) { this.grille[column][row].setHover(true); + this.grille[column][row].setPturn(player); break; } } } this.repaint(); } - } \ No newline at end of file diff --git a/projetAgile/src/fr/iutfbleau/projetAgile/View/Pion.java b/projetAgile/src/fr/iutfbleau/projetAgile/View/Pion.java index 6b1d235..a28a59c 100644 --- a/projetAgile/src/fr/iutfbleau/projetAgile/View/Pion.java +++ b/projetAgile/src/fr/iutfbleau/projetAgile/View/Pion.java @@ -8,6 +8,7 @@ public class Pion extends JComponent{ private int player; private boolean hover = false; + private int pturn; public static Dimension getPionMinimumSize() { return new Dimension(80,80); @@ -26,6 +27,7 @@ public class Pion extends JComponent{ this.setMaximumSize(new Dimension(150,150)); this.setPreferredSize(new Dimension(120,120)); this.player = player; + this.pturn=0; } public void setPlayer(int player) { @@ -35,6 +37,9 @@ public class Pion extends JComponent{ public void setHover(boolean b) { this.hover = b; } + public void setPturn(int n){ + this.pturn=n; + } public int getPlayer() { return this.player; @@ -56,7 +61,12 @@ public class Pion extends JComponent{ break; } if(this.hover) { - g2.setColor(Color.YELLOW); + if(this.pturn==Constants.PLAYER_ONE){ + g2.setColor(Color.RED); + } + if(this.pturn==Constants.PLAYER_TWO){ + g2.setColor(Color.YELLOW); + } g2.fillRect(0, 0, this.getWidth(), this.getHeight()); } g2.setColor(c);