Package gestionnaires

Class GestionnaireOuvrirFenetre

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.util.EventListener

    public class GestionnaireOuvrirFenetre
    extends java.lang.Object
    implements java.awt.event.ActionListener
    Gestionnaire ouvrant les fenêtres secondaire
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int OUVRIR_AIDE
      Constante représentant l'ouverture de la fenêtre d'aide
      static int OUVRIR_APROPOS
      Constante représentant l'ouverture de la fenêtre d'information
      static int OUVRIR_OPTIONS
      Constante représentant l'ouverture de la fenêtre d'option
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent evt)
      Implémentation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OUVRIR_OPTIONS

        public static final int OUVRIR_OPTIONS
        Constante représentant l'ouverture de la fenêtre d'option
        See Also:
        Constant Field Values
      • OUVRIR_AIDE

        public static final int OUVRIR_AIDE
        Constante représentant l'ouverture de la fenêtre d'aide
        See Also:
        Constant Field Values
      • OUVRIR_APROPOS

        public static final int OUVRIR_APROPOS
        Constante représentant l'ouverture de la fenêtre d'information
        See Also:
        Constant Field Values
    • Constructor Detail

      • GestionnaireOuvrirFenetre

        public GestionnaireOuvrirFenetre​(int a,
                                         FenetrePrinc fp)
        COnstructeur
        Parameters:
        a - code de la fenêtre à ouvrir
        fp - instance de la fenêtre principale parente
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent evt)
        Implémentation. Ouvre la fenêtre correspondant à action
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        See Also:
        ActionListener.actionPerformed(java.awt.event.ActionEvent)