gestionnaires
Class GestionnaireOuvrirFenetre

java.lang.Object
  extended by gestionnaires.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

Author:
bruno

Field Summary
private  int action
          entier représentant la fenêtre à ouvrir
private  javax.swing.JFrame fenetre
          fenêtre à créer
private  FenetrePrinc fPrinc
          instance de la fenêtre principale créant cette instance
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
 
Constructor Summary
GestionnaireOuvrirFenetre(int a, FenetrePrinc fp)
          COnstructeur
 
Method Summary
 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

action

private int action
entier représentant la fenêtre à ouvrir


fPrinc

private FenetrePrinc fPrinc
instance de la fenêtre principale créant cette instance


fenetre

private javax.swing.JFrame fenetre
fenêtre à créer

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)